[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] too many files open?
- Subject: Re: [cobalt-security] too many files open?
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sat, 23 Mar 2002 22:05:53 -0500
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
"Matthew Nuzum" <cobalt@xxxxxxxxxxxxx> wrote:
> I just restarted apache because of some goofy things happening. I had
> caused an infinite loop with a PHP script that went awry. Anyway, my log
> check gave me some errors like this:
>
> Mar 22 12:30:02 www in.qpopper[24750]: PAM [dlerror:
> /lib/security/pam_deny.so: cannot open shared object file: Too many open
> files in system]
>
> Likewise /var/log/httpd/errors had errors about too many files open.
>
> My infinite loop was a lot of queries to the postgres database, not
> filesystem.
>
> Would that have caused the above error and are there some other
> implications?
Probably so. Check out lsof at http://freshmeat.net/projects/lsof/. The
name stands for LiSt Open Files and the program provides useful output for
diagnosing problems like this.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/