Subject: Re: Time to bump the default open files limit?
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 06/20/2002 18:03:18
On Jun 20,  2:42pm, jonathan@DSG.Stanford.EDU (Jonathan Stone) wrote:
-- Subject: Re: Time to bump the default open files limit?

| It isn't obvious how  to get the info so as to check for this error.
| I kept running into this a year or two back, when prototyping several
| some web apps (up tens of thousands of sockets simultaneously open).
| I've since mainatiend a hack to procfs whichs appends the per-process
| current open file count to the end of /proc/<pid>/status.
| 
| I still dont know of any better way to grab this info for an arbitrary
| process.


What's wrong with checking EMFILE and ENFILE?

christos