Re: Too many open files

Sorry for the duplicate, I forgot to send this to the list as well.

Try running this command:

ulimit -n 8192

or:

ulimit -a

You need to raise the per-process file descriptor limit past its default
of 1024. You will probably need to be root when you do this. You may also
need to poke around in /proc, the relevant entry is /proc/sys/fs/file-max.

Note that you may find some scalability problems at this level of use; the
largest number of files I've tested with is 286 DAML files I downloaded from
daml.org.


> 
> Hello,
> 
> I put 1881 files in /var/www/data/aggr, and this message appears in the
> error log file (every second, BTW grow up 65Mb)
> 
> [Thu Feb 13 14:22:43 2003] [error] (24)Too many open files: Failed to
> load 
> data file /var/www/data/aggr/DTG200209240131.rdf
> 
> The files contains news articles.
> 
> How can I do?
> 
> Thanks in advance
> 
> Cesar
> 

Received on Thursday, 13 February 2003 12:25:19 UTC