[Koha-bugs] [Bug 24749] New: Plack restart should clear orphaned cgi_compile directories on restart

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 27 19:16:06 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24749

            Bug ID: 24749
           Summary: Plack restart should clear orphaned cgi_compile
                    directories on restart
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

When a plack process crashes you can end up with directories left from
CGI::Compile in tmp

These dirs are owned by the instance and named cgi_compile_{pid}

Later on, other instances can generate the same dir name because the pid is
reused. 

If these orphaned dirs still exist then plack locks up, unable to create/access
the directory

This may be a CGI::Compile bug, but if we can find a way to delete these on
restart that would mitigate the issue

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list