On 2007-10-03 16:26:59 +0000, [EMAIL PROTECTED] wrote:
> qmsptmd-forkserver 0.32
> 
> I am seeing this error, increasingly, but far from being for every
> connection:
> 
> could not open configfile ./config/logging: Too many open files at
> lib/Qpsmtpd.pm line 168, <GEN3262> line 1430.
> 
> The last item is sometimes different. I presume the last item is another
> process qpsmtpd is trying to run.

If, by "the last item", you mean "<GEN3262>", that's not another process
but a file handle. I'm not sure what the number means: Either it is a
counter (which means that you have opened (and possibly closed) at least
3262 files since this interpreter was started, or it's the file
descriptor which means that you probably have 3262 files currently open.
Either way, it seems a bit high.

> When this happens for a connection, I may end up with hundreds of
> these lines in the log file.
> 
> Is there some place I should be increasing the number of open files
> allowed? Where and how? Thanks.

I think you should find out where all these files are opened and why.
I suspect that either your qpsmtpd opens a lot more files than it should
or that it forgets to close some of them. Only when you have determined
that you really need so many simulaneously open files should you look
into ways to increase the limit. 

        hp

-- 
   _  | Peter J. Holzer    | I know I'd be respectful of a pirate 
|_|_) | Sysadmin WSR       | with an emu on his shoulder.
| |   | [EMAIL PROTECTED]         |
__/   | http://www.hjp.at/ |    -- Sam in "Freefall"

Attachment: signature.asc
Description: Digital signature

Reply via email to