[Koha-bugs] [Bug 27151] New: SIP2 server doesn't handle broken connections which then kills SIP2 server

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 4 11:52:32 CET 2020


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

            Bug ID: 27151
           Summary: SIP2 server doesn't handle broken connections which
                    then kills SIP2 server
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: SIP2
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at helsinki.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

Koha SIP2 server doesn't handle the situation where a client unexpectedly
closes socket, this leads to the SIP2 server processes being killed and
therefore SIP2 service being unavailable.

sip-error.log when this happens:
koha3-koha-sip: client (pid 1181) killed by signal 13, stopping  

More info on this issue I found from the perl website manual
(https://perldoc.perl.org/perlipc):

"Be careful to check the return values from both open() and close(). If you're
writing to a pipe, you should also trap SIGPIPE. [...]"

Another problem we have is that the koha-common service doesn't start the
process if it gets killed, but let's focus here only on the SIGPIPE issue.

This has happened now 2 times in around 1 month period on our Koha SIP
instances.

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


More information about the Koha-bugs mailing list