Indeed! Looks like freeradius instantiates its modules before forking.
I've postponed context/socket initialization and now everything works perfectly.

Thank you very much!

2012/7/7 Ian Barber <[email protected]>:
>
>
> On Fri, Jul 6, 2012 at 3:11 PM, Max Kuznecov <[email protected]> wrote:
>>
>> Oh, sorry I forgot to mention  versions:
>> linux centos 6.2, zeromq 2.2.0
>>
>
> Is the context created in the process before the fork happens? Might be
> worth trying moving where the context and socket are created - it can be
> tricky with fork after context creation as the IO thread is created, the
> context handle is copied with the fork, but the thread isn't.
>
> Ian
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



-- 
~syhpoon
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to