Last Modified: August 14, 2019

FAQ TOP page > FAQ for details

FAQ number: 338 | Last Modified: 5 November 2018

When a deadlock occurs writing access.log of Resin is

 

[phenomenon]
In intra-mart WebPlatform (resin), when large number of simultaneous access for a long time occurs, there is a possibility that a deadlock occurs writing access.log of Resin. (by this influence, it response not return, it is unresponsive)

Appropriate product is as follows:
・WebPlatform ver 7.0.x
・WebPlatform ver 7.1.x
・WebPlatform ver 7.2.x


[cause]
Cause, is the defect of Resin.
Details of Resin fault is on the following URL:

0003509: deadlock when writing access log
http://bugs.caucho.com/view.php?id=3509

 [workaround]
Add auto-flush= "true" to <access-log> tag of http.xml.
(reference -> http://caucho.com/resin-3.1/doc/config-log.xtp#Access logging)


Setting example is shown below.

・Before correction
      <access-log path="log/access.log"
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>

・After correction
      <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]
Will not be fixed in WebPlatform ver 7.0.x, 7.1.x, 7.2.x this issue.
(because amended in Resin 3.1.x is difficult)

Are sorry for the trouble, I recommend that you go to apply the operation above workaround.

Please let me know about the OutOfMemory.
Resin "exit reason: It will restart in HEALTH (exit code=9) ".
Please let me know about the method judgment of intra-mart stop.
Does intra-mart Accel Platform correspond to Microsoft Internet Explorer11 (-RRB- indicates the requirements finalized (including but not limited IE11)?
Please let me know about the correspondence plan of the intra-mart products accompanying the end of support of server OS and a client browser.
Please share with us your comments and suggestions about this FAQ