Welcome! Log In Create A New Profile

Advanced

Re: too many open files

István
September 10, 2009 11:34AM
please note, do NOT overwrite but ADD

add to /etc/security/limits.conf

www-data soft nofile 24000
www-data hard nofile 32000


add /etc/pam.d/login

session required /lib/security/pam_limits.so




On Thu, Sep 10, 2009 at 4:22 PM, Ilan Berkner <iberkner@gmail.com> wrote:

> Yes, newbie to linux (a year into it, still learning every day).
> I searched on Google but am unclear on server settings that impact this vs.
> nginx settings and what the numbers should be, etc.
>
>
> On Thu, Sep 10, 2009 at 11:16 AM, István <leccine@gmail.com> wrote:
>
>> i would start with google, look up the "how to ask smart questions"
>>
>> and if you founded it and read it come back to the list.
>>
>> but from the level of details you gave i presume you are a newbie linux
>> administrator and founded the 1024 limitation in linux.
>>
>> to get over it modify the limits.conf in /etc/security/ and I presume you
>> are using ubuntu so modify the /etc/pam.d/login and include the
>> pam_limits.so with full path
>>
>> :)
>>
>>
>> On Thu, Sep 10, 2009 at 4:10 PM, Ilan Berkner <iberkner@gmail.com> wrote:
>>
>>> how to handle?
>>>
>>> 2009/09/10 10:09:30 [alert] 9691#0: accept() failed (24: Too many open
>>> files)
>>>
>>>
>>
>>
>> --
>> the sun shines for all
>>
>
>


--
the sun shines for all
Subject Author Posted

too many open files

iberkner September 10, 2009 11:14AM

Re: too many open files

István September 10, 2009 11:20AM

Re: too many open files

iberkner September 10, 2009 11:26AM

Re: too many open files

István September 10, 2009 11:34AM

Re: too many open files

Jim Ohlstein September 10, 2009 11:44AM

Re: too many open files

István September 10, 2009 11:56AM

Re: too many open files

Jim Ohlstein September 10, 2009 12:10PM

Re: too many open files

edogawaconan September 10, 2009 12:42PM

Re: too many open files

Maxim Dounin September 10, 2009 11:32AM

Re: too many open files

István September 10, 2009 11:34AM

Re: too many open files

JG September 10, 2009 11:32AM

Re: too many open files

István September 10, 2009 11:36AM

Re: too many open files

advegav September 12, 2011 10:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready