On Mon, Nov 05, 2007 at 02:52:08PM -0500, arthur <[EMAIL PROTECTED]> wrote:
> 2. one process (I didn't use thread) can only have a limited number of
> fd's -> fork multiple processes to more accept client connection

I am not aware of any such limitation. Both per-process (ulimit) and
per-system settings (file-max) are easily configurable.

> 4. sometime crashing after fork -> move event_init after fork (in other
> word, each process needs to event_init itself)

Yes :) Easy enough to do if you don't need event management in the parent
process.

Greetings,

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to