W3C home > Mailing lists > Public > public-rdf-tap@w3.org > February 2003

Re: Too many open files

From: Rob McCool <robm@robm.com>
Date: Thu, 13 Feb 2003 09:24:46 -0800
To: "Cesar E. Ariza Avila" <cariza@dsi.uminho.pt>
Cc: public-rdf-tap@w3.org, jorgef@dsi.uminho.pt
Message-ID: <20030213092446.C9742@flapjack.stanford.edu>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 02:45:11 GMT