[ejabberd] strange registration error

Peter Viskup skupko.sk at gmail.com
Thu Nov 12 20:20:16 MSK 2009


For GNU/Linux it is possible to change the pid_max with sysctl and the
default value is:

# cat /proc/sys/kernel/pid_max
32768

This is good solution for this 'issue'. Much better than nanoseconds suffix.
;-)

On Thu, Nov 12, 2009 at 6:01 PM, Jan Koum <jan.koum at gmail.com> wrote:

>
> On Thu, Nov 12, 2009 at 8:57 AM, Konstantin Khomoutov <
> flatworm at users.sourceforge.net> wrote:
>
>>
>> On the other hand, PIDs are also rotated, they just span a more lengthy
>> vector of values (about 64k on a typical Unix system).
>>
>
> 100K on FreeBSD:
>
> jkb at im101$ grep PID_MAX /usr/include/sys/proc.h
> #define    PID_MAX        99999
>
>
>
>> The upside using PIDs is that the chance of a race condition is zero.
>
>
> true...very true.
>
> -- yan
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20091112/3d0d269b/attachment.html>


More information about the ejabberd mailing list