You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2015/01/16 02:15:35 UTC

[jira] [Created] (TS-3303) tcpinfo: Log file can get closed when disk is full

Leif Hedstrom created TS-3303:
---------------------------------

             Summary: tcpinfo: Log file can get closed when disk is full
                 Key: TS-3303
                 URL: https://issues.apache.org/jira/browse/TS-3303
             Project: Traffic Server
          Issue Type: Bug
          Components: Plugins
            Reporter: Leif Hedstrom


It's unfortunate, but it seems that TSTextLogObjectWrite() returns TSError for both "disk full" and "write failed". I think, but not 100% sure, that this can trip us to delete the log object more than once, due to a race condition in the code.

My suggestion is to just not close the log object, but hope that we the log rotation / cleanup code will free up disk space, such that future log writes succeeds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)