Tuomas Luttinen wrote: >>> What limits the number of servers to 32? So is the an easy way to >>> increase it?
>> I would guess thats a limit of your operating system (check out ulimit). > > > Actually, that 32 is defined in the code: (http.c, line 1530) > > > enum { MAX_SERVERS = 32 }; This limit doesn't have anything to do with your problem. It limits the number of different ports Kannel can listen. Something is opening file descriptors (sockets or other) without closing them, and that causes accept() to fail once there are too many of them. You might try to debug this by using some utility that shows the open file descriptors a program has.