Deadlock might occur on writing access.log of Rasin.

 
[Symptom]
When many concurrent accesses on intra-mart WebPlatform (Resin) are occurred for long time, deadlock on writing access.log of Rasin might occur. (Affected by this, response does not return and become unresponsive.)
Corresponding products are as follows;
・WebPlatform ver 7.0.x
・WebPlatform ver 7.1.x
・WebPlatform ver 7.2.x

[Cause]
This is because of a bug of Resin.
There is a detail of Rasin bug on below URL.
0003509: deadlock when writing access log
http://bugs.caucho.com/view.php?id=3509

[Workaround]
Please add auto-flush=”true” to <access-log> tag of http.xml.
(Reference -> http://caucho.com/resin-3.1/doc/config-log.xtp#Access logging)

Here is a setting example.
・Before fix
      <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
・After fix
      <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"
            auto-flush="true"/>

[Remarks]
This event will not be fixed on WebPlatform ver 7.0.x, 7.1.x, 7.2.x.
(Because improvement on Resin 3.1.x is difficult)
Please apply above workaround and operate. We apologize for the inconvenient.

-- Target -----------------------------------------------------------------------------------
iWP/Web System Construction Platform/WebPlatform/AppFramework
------------------------------------------------------------------------------------------------


FAQID:338
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk