Hi! I'm using libevent with N processes (i'm using fork).
I need to limit connections/events per process. How can i do that ? The only way i know is to use *setrlimit(RLIMIT_NOFILE*, but is this the best way to do that ? What is going to happen, when limit is reached ? Is error will occur ?