Re: FDs & linux again.

From: Oskar Pearson <[email protected]>
Date: Tue, 19 Jan 1999 00:27:24 +0200

Hi

> I'm not sure about your specific problem, but if it is related to FDs I
> would recommend you upgrade to Linux kernel 2.2. I did it late last week

Sure - as long as you want only less than 1024 fds.

> believe it's a very simple task to increase available FDs ... something
> like: echo 2048 > /proc/somefile

I don't think that that is the case... that would increase the number of
system-wide fds, not the per-process limit.

I am not sure how stable the fd patches are (and whether select() works
right), but have a look at Alan Cox's patches to the 2.2preX series: you
will find that you can increase your per-process limit with 'ulimit -n
10000' if you want.

ftp://ftp.uk.linux.org/pub/linux/alan/2.2pre/

> There are numerous other improvements in kernel 2.2 which will likely
> improve your cache. Yes, the 2.2 kernel is not officially released yet

I believe that (with enough memory) the dcache may have a major performance
benefit. I would like to work on stats for this someday ;)

Oskar

---
"Haven't slept at all. I don't see why people insist on sleeping. You feel
so much better if you don't. And how can anyone want to lose a minute -
a single minute of being alive?"				-- Think Twice
Received on Mon Jan 18 1999 - 15:09:57 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:04 MST