[Koha-bugs] [Bug 23640] New: L1 cache too long in SIP Server

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 19 04:08:50 CEST 2019


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

            Bug ID: 23640
           Summary: L1 cache too long in SIP Server
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: SIP2
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

Both plack.psgi and rebuild_zebra.pl run Koha::Caches->flush_L1_caches() to
periodically flush the L1 cache.

The SIP server is another persistent process like those, but it currently has
no functionality for flushing the L1 cache. If I understand the code correctly,
it'll fetch from the L2 cache (e.g. memcached) once and then keep it there for
the life of the master process.

I'm not very familiar with the SIP protocol, so I don't know the best place to
flush the L1 cache off the top of my head. 

Perhaps we should run Koha::Caches->flush_L1_caches() at the start of
C4::SIP::SIPServer::process_request for every connection, or in
C4::SIP::SIPServer::sip_protocol_loop or C4::SIP::SIPServer::read_request.

-- 
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