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

Scott McKeown <scott-Oteo70RhwZ77w/[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
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:80socket 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:80socket 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:80socket create: Too many open files
>> Feb 25 14:53:30 gr-lb01 pound: (7f3270380700) e503 backend 10.10.5.123:80socket create: Too many open files
>> Feb 25 14:53:30 gr-lb01 pound: (7f325b69a700) e503 backend 10.10.5.122:80socket 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:80socket create: Too many open files
>> Feb 25 14:53:30 gr-lb01 pound: (7f32712bc700) e503 backend 10.10.5.124:80socket create: Too many open files
>> Feb 25 14:53:30 gr-lb01 pound: (7f32712bc700) e503 backend 10.10.5.122:80socket create: Too many open files
>> Feb 25 14:53:30 gr-lb01 pound: (7f3271136700) e503 backend 10.10.5.124:80socket 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:80socket 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:80socket 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:80socket create: Too many open files
>> Feb 25 14:53:30 gr-lb01 pound: (7f3271136700) e503 backend 10.10.5.124:80socket create: Too many open files
>> Feb 25 14:53:30 gr-lb01 pound: (7f325b69a700) e503 backend 10.10.5.123:80socket 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:80socket 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:80socket 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:80socket create: Too many open files
>> Feb 25 14:53:33 gr-lb01 pound: (7f3271f46700) e503 backend 10.10.5.124:80socket 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
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.