RE: How to deal with multithreading

2005-09-14 Thread Paul Keogh
 
 I'm running Kannel cvs-20050615 and when sending many SMSs at 
 almost the same time using multithreading Kannel starts to 
 spawn more bearerboxes. The command ps -auxwww|grep kannel , 
 shows me more than one bearerbox.
 
 I'm concerned how to prevent Kannel trying to connect twice 
 to the same SMSC as I only have one allowed instance. How can 
 you set in the configuration files how many instances are 
 allowed when multithreading.

Are you running on a Linux 2.4.x kernel ?

If so, ps shows you the threads within the process as separate
entries.



Re: How to deal with multithreading

2005-09-14 Thread Enver ALTIN
Hi,

On Wed, 2005-09-14 at 11:41 +0200, Hillel wrote:
 I'm concerned how to prevent Kannel trying to connect twice to the
 same SMSC as I only have one allowed instance. How can you set in the
 configuration files how many instances are allowed when
 multithreading.

I think you're climbing the wrong tree. Could you please check your log
file to see if it's really connecting to the SMSC again?
-- 
.O.
..O   Enver ALTIN   |   http://skyblue.gen.tr/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part