[Koha-bugs] [Bug 41767] Plack backlog parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41767 Andreas Jonsson changed: What|Removed |Added Text to go in the|The default request backlog |The default request backlog release notes|for starman (Plack (?)) is |for starman (the Plack |1024 requests, which seems |server) is 1024 requests, |too large for Koha. When|which seems too large for |the system is overloaded it |Koha. When the system is |will typically take several |overloaded it will |minutes to recover because |typically take several |of the backlog of mostly|minutes to recover because |stale requests. |of the backlog of mostly | |stale requests. |This enhancement: | |- sets the default value to |This enhancement: |$PLACK_WORKERS *|- sets the default value to |$PLACK_MAX_REQUESTS / 2 |$PLACK_WORKERS * |- lets libraries set their |$PLACK_MAX_REQUESTS / 2 |own default --backlog |- lets libraries set their |parameter for starman, to |own --backlog parameter for |allow for faster recovery |starman via koha-conf.xml. |when systems become | |overloaded. |Existing installations will | |need to add an entry to |Existing installations will |their instance's |need to add an entry to |koha-conf.xml file if there |their instance's|is need to change the |koha-conf.xml file to |setting from the default, |change the default, for |for example: |example:|5050 |cklog> | | |For new installations, |For new installations, |commented out settings for |commented out settings for |plack to limit the backlog |plack to limit the backlog |is available in their |is available in their |instance's koha-conf.xml: |instance's koha-conf.xml: | | | |queue. --> | |--> | |cklog> --> | --- Comment #4 from Andreas Jonsson --- Thanks you David! I reworded the release note text slightly to make it more clear that you don't need to do anything unless there's a specific need. I don't know how koha-conf.xml is managed in the docker images, but I would guess it is regenerated from the template when the image is rebuilt. -- 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/
[Koha-bugs] [Bug 41767] Plack backlog parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41767 David Nind 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: ||50 || ||For new installations, ||commented out settings for ||plack to limit the backlog ||is available in their ||instance's koha-conf.xml: || || || || --- Comment #3 from David Nind --- 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 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/
[Koha-bugs] [Bug 41767] Plack backlog parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41767 David Nind changed: What|Removed |Added Attachment #192449|0 |1 is obsolete|| --- Comment #2 from David Nind --- Created attachment 194208 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194208&action=edit Bug 41767: Plack backlog parameter Set a low default --backlog parameter for starman to allow for faster recovery when system becomes overloaded. Also expose configuration parameter for tuning. Test plan: * At the command line verify that the parameter "--backlog 50" is present for starman processes, provided that --max-requests 50 --workers 2: > ps aux | grep starman * Edit /etc/koha/sites/kohadev/koha-conf.xml and add 157 (e.g., next to ). * Restart plack: > koha-plack --restart kohadev * Verify that the --backlog parameter has changed accordingly Signed-off-by: David Nind -- 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/
[Koha-bugs] [Bug 41767] Plack backlog parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41767 David Nind changed: What|Removed |Added Status|Needs Signoff |Signed Off -- 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/
[Koha-bugs] [Bug 41767] Plack backlog parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41767 --- Comment #1 from Andreas Jonsson --- Created attachment 192449 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192449&action=edit Bug 41767: Plack backlog parameter Set a low default --backlog parameter for starman to allow for faster recovery when system becomes overloaded. Also expose configuration parameter for tuning. Test plan: * At the command line verify that the parameter "--backlog 50" is present for starman processes, provided that --max-requests 50 --workers 2: > ps aux | grep starman * Edit /etc/koha/sites/kohadev/koha-conf.xml and add 157 (e.g., next to ). * Restart plack: > koha-plack --restart kohadev * Verify that the --backlog parameter has changed accordingly -- 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/
[Koha-bugs] [Bug 41767] Plack backlog parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41767 Andreas Jonsson changed: What|Removed |Added Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- 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/
[Koha-bugs] [Bug 41767] Plack backlog parameter
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41767 Andreas Jonsson changed: What|Removed |Added Assignee|[email protected] |[email protected] |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ 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/
