[Serusers] exec_dset fork "limit"?

Matt Schulte mschulte at netlogic.net
Mon Dec 27 14:00:33 CET 2004


Has anyone seen this problem? We're basically seeing SER freeze up while
running external processes. Any suggestions other than "don't do it"?
:-)

-----Original Message-----
From: Matt Schulte 
Sent: Thursday, December 23, 2004 7:14 AM
To: serusers at lists.iptel.org
Subject: [Serusers] exec_dset fork "limit"?


We're running into a limitation with possibly SER (or the exec module).
We have a perl script which runs LCR based on from/to headers in the SIP
message. Because it's a rather complex script it can take up to a half
second to run. It runs everytime we have an invite of course, the
problem we're having is that it appears SER can only fork a maximum of 4
or 5 exec's at a time. When that limit gets reached the exec processes
tend to hang.

This is quoted from the exec module manual:
---
1.5. Known Issues

There is currently no guarantee that scripts ever return and stop
blocking SIP server. (There is kill.c but it is not used along with the
current mechanisms based on popen. Besides that kill.c is ugly).
---

Does anyone have suggestions? We're working on optimizing our lcr script
of course, possibly something socket or daemon based. 

Thanks,
Matt

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list