[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] jk_socketd: crash with segfault, max-count sockets:
Re: [Jailkit-users] jk_socketd: crash with segfault, max-count sockets: 149
Fri, 25 Jan 2008 17:43:51 +0100
Thunderbird 184.108.40.206 (X11/20071022)
> I hava two problems with jk_socketd (jailkit-2.4.tar.gz).
> The second problem is that there seems to be a limit in the max. count
> of sockets. If i try to use more than 149 sockets the jk_socketd-daemon
much worse: in the 2.5 version (and before) the maximum number of
sockets is set to 25, and there is no check if there is an overflow...
it's defined in the top of src/jk_socketd.c (called MAX_SOCKETS)
I've raised the default maximum to 128, and I've added a warning if the
limit is reached (instead of crashing).
Description: OpenPGP digital signature