Re: [Pound Mailing List] "Too many open files" errors running pound 2.5-1.1 on Ubuntu 12.04

Emilio Campos <[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
open a tty console:

ulimit -n 30000

after in the same console restart pound and try again, the irritating
message "too many open files" must to disappear.

Regards

Also you can add  "ulimit -n 30000" in your init.d script

2013/2/25 Nigel Pallett <[email protected]>

>  Scott,
>
> Thank you for the good feedback
>
> I have the following settings in the global section:
>
> Client    30
>
> Timeout    240
>
> ConnTo 240
>
> Grace 240
>
> Alive     5
>
> Regards,
> Nigel.
>
>
>
> On 25/02/13 16:11, Scott McKeown wrote:
>
> Hi Nigel,
>
> OK thats fine.
>
> Do you have 'Alive', 'TimeOut' and 'ConnTo' values set in your Global or
> BackEnd sections?
> By default the Alive section is 30 seconds and the TimeOut & ConnTo is 15
> seconds you may also find that a 'Grace' setting increase may help.
>
> Although if you are just terminating an SSL Certificate and then trying to
> Load Balance over multiple backend servers you may want to have a look at
> HAProxy and let that do the heavy work instead of Pound. You will also get
> better debug logging (thats just my opinion though).
>
>
> ~Scott
>
>
> On 25 February 2013 15:48, Nigel Pallett <[email protected]> wrote:
>
>>  Scott,
>>
>> Pound is talking to backend apache webservers (on the 10.10.5.xxx
>> addressess on the logs) configured with the rpaf module to talk back to
>> pound.
>>
>> This has been working successfully for almost two years now.
>>
>> Is it possible that recent changes to the website application being
>> served up by the backends could give rise to these errors ?
>>
>> Regards,
>> Nigel.
>>
>>
>> On 25/02/13 15:23, Scott McKeown wrote:
>>
>> Hi Nigel,
>>
>> I'm guessing that you are passing this to something like HAProxy which is
>> your backend server on '10.10.5.122' its this that is passing the error
>> back to Pound so I would have a look there.
>>
>> However, I could be wrong but a copy of your pound.cfg would help (remove
>> real world IP's etc.)
>>
>>
>> ~Scott
>>
>>
>>
>> On 25 February 2013 14:58, Nigel Pallett <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> I'm running pound 2.5-1.1 on Ubuntu 12.04.2 LTS , and I'm getting lot's
>>> of "Too many open files" errors in syslog
>>> (See example below)
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------------------------------------------------------
>>>
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f3273bc4700) e503 backend
>>> 10.10.5.122:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f325330c700) e503 backend
>>> 10.10.5.122:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f3273bc4700) e503 backend
>>> 10.10.5.123:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f3270380700) e503 backend
>>> 10.10.5.123:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f325b69a700) e503 backend
>>> 10.10.5.122:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f3271136700) e503 backend
>>> 10.10.5.121:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f32712bc700) e503 backend
>>> 10.10.5.124:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f32712bc700) e503 backend
>>> 10.10.5.122:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f3271136700) e503 backend
>>> 10.10.5.124:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f325b69a700) e503 backend
>>> 10.10.5.124:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f325b69a700) e503 backend
>>> 10.10.5.122:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f3271136700) e503 backend
>>> 10.10.5.122:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f3271136700) e503 backend
>>> 10.10.5.124:80 socket create: Too many open files
>>> Feb 25 14:53:30 gr-lb01 pound: (7f325b69a700) e503 backend
>>> 10.10.5.123:80 socket create: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: (7f325a75e700) e503 backend
>>> 10.10.5.124:80 socket create: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: (7f325a75e700) e503 backend
>>> 10.10.5.121:80 socket create: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: HTTP accept: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: (7f3272293700) e503 backend
>>> 10.10.5.122:80 socket create: Too many open files
>>> Feb 25 14:53:33 gr-lb01 pound: (7f3271f46700) e503 backend
>>> 10.10.5.124:80 socket create: Too many open files
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------------------------------------------------------
>>>
>>> Any Ideas ?
>>>
>>> Regards,
>>>
>>> Nigel.
>>>
>>> --
>>> To unsubscribe send an email with subject unsubscribe to [email protected]
>>> Please contact [email protected] for questions.
>>>
>>
>>
>>
>> --
>> With Kind Regards.
>>
>> Scott McKeown
>> Loadbalancer.org
>> http://www.loadbalancer.org
>>
>>
>>    -- To unsubscribe send an email with subject unsubscribe to
>> [email protected] Please contact [email protected] for questions.
>>
>
>
>
> --
> With Kind Regards.
>
> Scott McKeown
> Loadbalancer.org
> http://www.loadbalancer.org
>
>
>  -- To unsubscribe send an email with subject unsubscribe to
> [email protected] Please contact [email protected] for questions.
>



-- 
Load balancer distribution - Open Source Project
http://www.zenloadbalancer.com
Distribution list (subscribe): zenloadbalancer-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.