On 12/30/2010 03:34 PM, Emilio Campos wrote:
> Hi, Piotr, Now I am running pound with user root:
>
> r...@mymachine# /opt/pound-2.5/sbin/pound -f /opt/pound-2.5/etc/pound.conf
>
> r...@mymachine# ps -ef | grep pound
> root     11864     1  0 08:59 ?        00:00:00 /opt/pound-2.5/sbin/pound -f
> /opt/pound-2.5/etc/pound.conf
> root     11865 11864 40 08:59 ?        00:32:05 /opt/pound-2.5/sbin/pound -f
> /opt/pound-2.5/etc/pound.conf
> at the same time I executed:
>
> lsof -p 11865 | wc -l
> 1088

OK.  That is nowhere near "ulimit -n" value of 1 million.
What about:

# cat /proc/sys/fs/file-nr
11104   0       789217

# cat /proc/sys/fs/file-max
789217


Tuning these (assuming you have Linux, other systems have similar controls) may 
help you.

> and at the moment i can see on the logs:
>
> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files
> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files
> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.182:80 create: Too many 
> open files
> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files
> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.182:80 create: Too many 
> open files
> Dec 30 09:07:32 sc02sns01 pound: HTTP accept: Too many open files
> Dec 30 09:07:32 sc02sns01 pound: backend 10.234.23.183:80 create: Too many 
> open files



--
To unsubscribe send an email with subject unsubscribe to po...@apsis.ch.
Please contact ro...@apsis.ch for questions.

Reply via email to