how to use sysctl to avoid I/o error
Hi
language:c
OS:redflag
In my multithread server-client program I have to run more than 1000 threads. But when I try to run more than 300 threads following errors are occured.
I/O error : Too many open files
I/O warning : failed to load external entity /home/naveen/TEST/sysinfo.txt"
In my program each and every thread has to read sysinfo.txt file.
how to get rid from this.
can we use 'sysctl'? how can we use this command.
I have changed file-max from 104176 to 214176.. I have rebooted.. but still I am getting same error..
pls help me!!!!
thanks in advance..
Last edited by naveenisback; 08-12-2009 at 03:11 AM.
|