in reply to Too many open files error with DBD Oracle
Anecdotal, but keep this in mind:
At one time Solaris had a ridiculously (FSVO rediculous) low default for number of file descriptors per process (not per thread; also not to mention I want to say there was a buglet that the stdio library used an unsigned int so even if you raised the resource limit things going through fopen etc would still crap out quickly (again, FSVO quickly; I remember easily hitting it often with mod_perl)).
To debug you might use truss and watch for open(2)-like calls (things like socket(2) as well) and close calls watching that they match up to make sure something's not leaking descriptors. That number 9 * 25 is 225 which is awful close to 254 which was where the stdio problem reared its head.
Update: Reformatted and extended.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Too many open files error with DBD Oracle
by JoeW (Novice) on Jun 23, 2010 at 16:44 UTC | |
by almut (Canon) on Jun 23, 2010 at 16:55 UTC | |
by JoeW (Novice) on Jun 23, 2010 at 18:26 UTC | |
by BrowserUk (Patriarch) on Jun 23, 2010 at 19:12 UTC | |
by JoeW (Novice) on Jun 28, 2010 at 13:56 UTC |