too many open files?
brad at danga.com
Sat Jan 27 18:35:24 UTC 2007
What's your ulimit's fd limit at?
When this happens, how many open files are in /proc/<pid>/fd/ ? And where
are they for?
Or, rather, what's the output of "lsof -p <djabberd-pid>" ?
On Fri, 26 Jan 2007, Matt Mankins wrote:
> I was just looking through my log file and noticed the following errors:
> 1) Too many open files -- Is there a way to see the number of active
> 2) Danga::Socket undef error. The line is: my $fd = fileno($sock);
> 3) The process was using 100% of CPU and taking up 126MB. The number
> of active connections was less than 10. It sits behind LVS which
> checks for connection uptime periodically which is why the high
> connection count.
> DJabberd.pm says our $VERSION = '0.81';
> Has anyone seen anything like this before?
> 23378 DEBUG DJabberd.DNS pkt =
> 23378 DEBUG DJabberd.DNS sock =
> XML Parser Error: Can't use an undefined value as a symbol reference
> at /usr/lib/perl5/site_perl/5.8.8/Danga/Socket.pm line 752.
> 23378 DEBUG DJabberd.Connection.OldSSLClientIn DISCONNECT: 81044
> 23378 DEBUG DJabberd.Connection.OldSSLClientIn New connection
> '83777' from 192.168.0.151
> private key 23378: 1 - error:02001018:system library:fopen:Too many
> open files
> private key 23378: 2 - error:20074002:BIO routines:FILE_CTRL:system lib
> private key 23378: 3 - error:140B3002:SSL
> routines:SSL_CTX_use_RSAPrivateKey_file:system lib
> 23378 ERROR DJabberd Error creating
> new DJabberd::Connection::OldSSLClientIn: 23378: private key
More information about the Djabberd