Bugzilla – Attachment 139687 Details for
Bug 31033
SIP2 configuration does not correctly handle multiple simultaneous connections by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31033: Explicitly define max child processes for SIP server
Bug-31033-Explicitly-define-max-child-processes-fo.patch (text/plain), 1.66 KB, created by
Martin Renvoize (ashimema)
on 2022-08-23 15:06:38 UTC
(
hide
)
Description:
Bug 31033: Explicitly define max child processes for SIP server
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-08-23 15:06:38 UTC
Size:
1.66 KB
patch
obsolete
>From 2ef3cb480f5a4c94be45a2ec9fb2cbe1183c39f7 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 24 Jun 2022 01:42:52 +0000 >Subject: [PATCH] Bug 31033: Explicitly define max child processes for SIP > server > >By default, the SIP server appears to only use 1 child process for >responding to SIP connections. > >This change makes this explicit in the configuration, which should >make it so that people who need more than 1 simultaneous SIP connection >can know to just increase the value for the "max_servers" parameter >in the SIPconfig.xml file. > >Test plan: >1. Add "max_servers='1'" to your SIP configuration file >2. koha-sip --restart kohadev >3. Open 3 terminals >4. Run "telnet localhost 6001" on 2 terminals >5. On the 3rd terminal, run the following: >ss -l -n -t >ps -efww | grep "sip" >6. Note that there are 2 processes called >kohadev-koha-sip: perl /kohadevbox/koha/C4/SIP/SIPServer.pm /etc/koha/sites/kohadev/SIPconfig.xml >One of these processes is the parent of the other >7. The Recv-Q in the "ss" output should show 1 >(This means that 1 of your telnet connections is in the server's TCP backlog) >8. Celebrate as the configuration works as expected > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > etc/SIPconfig.xml | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/etc/SIPconfig.xml b/etc/SIPconfig.xml >index 3635d59d5c..68c00ed8d0 100644 >--- a/etc/SIPconfig.xml >+++ b/etc/SIPconfig.xml >@@ -14,6 +14,7 @@ > <server-params > min_servers='1' > min_spare_servers='0' >+ max_servers='1' > log_file='Sys::Syslog' > syslog_ident='koha_sip' > syslog_facility='local6' >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31033
:
136470
|
139020
| 139687