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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
  Text to go in the|                            |The default request backlog
      release notes|                            |for starman (Plack (?)) is
                   |                            |1024 requests, which seems
                   |                            |too large for Koha. When
                   |                            |the system is overloaded it
                   |                            |will typically take several
                   |                            |minutes to recover because
                   |                            |of the backlog of mostly
                   |                            |stale requests.
                   |                            |
                   |                            |This enhancement:
                   |                            |- sets the default value to
                   |                            |$PLACK_WORKERS *
                   |                            |$PLACK_MAX_REQUESTS / 2
                   |                            |- lets libraries set their
                   |                            |own default --backlog
                   |                            |parameter for starman, to
                   |                            |allow for faster recovery
                   |                            |when systems become
                   |                            |overloaded.
                   |                            |
                   |                            |Existing installations will
                   |                            |need to add an entry to
                   |                            |their instance's
                   |                            |koha-conf.xml file to
                   |                            |change the default, for
                   |                            |example:
                   |                            |<plack_backlog>50</plack_ba
                   |                            |cklog>
                   |                            |
                   |                            |For new installations,
                   |                            |commented out settings for
                   |                            |plack to limit the backlog
                   |                            |is available in their
                   |                            |instance's koha-conf.xml:
                   |                            |
                   |                            |<!-- The parameter
                   |                            |plack_backlog is the size
                   |                            |of the request backlog
                   |                            |queue. -->
                   |                            |<!-- The default is
                   |                            |(max_requests*workers)/2
                   |                            |-->
                   |                            |<!--
                   |                            |<plack_backlog>50</plack_ba
                   |                            |cklog> -->

--- Comment #3 from David Nind <[email protected]> ---
I've attempted a release note, but not sure that I got it right.

Note that if I start up KTD with the patch applied, the KTD
/etc/koha/sites/kohadev/koha-conf.xml does not have the commented out settings.
Should this be the case or not? Or would this need to be a change made to the
template for koha-testing-docker.

Testing notes (using KTD):
1. Apply the patch.
2. Reset everything: reset_all
3. Add the plack entry to koha-conf.xml as per the test plan (Search for <plack
to add near the existing plack settings).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to