Jason Kim
September 26, 2009 09:48PM
I am running CentOS 5.3, from what I know default limits for standard users
file is 200000

Anyways to make sure I edited /etc/passwd to
apache:x:48:48:Apache:/var/www:/bin/bash

So I could login as apache (I set niginx.conf as user apache apache;)

and then as root typed
[root@firewall2 ~]# su apache

and then as apache typed
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 77824
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 200000
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 77824
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

Is there any reason I still should bump into file limits?

Thanks


On Sun, Sep 27, 2009 at 7:53 AM, Payam Chychi <pchychi@gmail.com> wrote:

> how is this related to his question? hoe does ur answer help him in
> figuring out the issiue?
>
> Jason, check ur ulimits for the user running the process, alsomale sure to
> update /etc/security/limits so new changed take place at boot
>
> Regards,
> --
> Payam Tarverdyan Chychi
> Network Engineer
>
> Sent from my iPhone
>
>
> On 2009-09-26, at 11:02 AM, Dennis Brakhane <brakhane@googlemail.com>
> wrote:
>
> On Sat, Sep 26, 2009 at 5:59 PM, Jason Kim <highclass99@gmail.com> wrote:
>>
>>> worker_processes 12;
>>>
>>
>> Do you really have 12 cores? It doesn't make much sense to have more
>> workers than cores
>>
>>
>
Subject Author Posted

Lots of 2009/09/27 00:49:21 [alert] 22383#0: accept() failed (24: Too many open files)

Jason Kim September 26, 2009 12:06PM

Re: Lots of 2009/09/27 00:49:21 [alert] 22383#0: accept() failed (24: Too many open files)

Payam Chychi September 26, 2009 01:26PM

Re: Lots of 2009/09/27 00:49:21 [alert] 22383#0: accept() failed (24: Too many open files)

Dennis Brakhane September 26, 2009 02:08PM

Re: Lots of 2009/09/27 00:49:21 [alert] 22383#0: accept() failed (24: Too many open files)

Payam Chychi September 26, 2009 07:00PM

Re: Lots of 2009/09/27 00:49:21 [alert] 22383#0: accept() failed (24: Too many open files)

Jason Kim September 26, 2009 09:48PM

Re: Lots of 2009/09/27 00:49:21 [alert] 22383#0: accept() failed (24: Too many open files)

Payam Chychi September 27, 2009 01:54AM

Re: Lots of 2009/09/27 00:49:21 [alert] 22383#0: accept() failed (24: Too many open files)

Jason Kim September 26, 2009 09:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
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