<html><body bgcolor="#FFFFFF"><div>odd, you shouldent unless there is a bug with cent os. I recently came across an issiue where when writing/creating files on the disk resulted in a hault like condition on centOS, as if the system was hitting the open file limits. I tested the same hardware and exact setup with deviant and the issiue went away... I could rwpliate the issiue on demand. also, I know that centos has a bug in the way files are written to disk, I'm no expert but if you google centOS slow HD performance you'll see it</div><div><br></div><div>one thing you can do is install/run 'dstat' it will show you all I/O of disk and network/CPU calls<br><br><div>Regards,</div><div>--</div><div>Payam Tarverdyan Chychi</div><div>Network Engineer</div><div><br></div><div><br></div>Sent from my iPhone</div><div><br>On 2009-09-26, at 6:42 PM, Jason Kim &lt;<a href="mailto:highclass99@gmail.com">highclass99@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><div>I am running CentOS 5.3, from what I know default limits for standard users file is 200000</div>
<div>&nbsp;</div>
<div>Anyways to make sure I edited /etc/passwd to</div>
<div>apache:x:48:48:Apache:/var/www:/bin/bash </div>
<div>&nbsp;</div>
<div>So I could login as apache (I set niginx.conf as user&nbsp; apache apache;)</div>
<div>&nbsp;</div>
<div>and then as root typed</div>
<div>[root@firewall2 ~]# su apache</div>
<div>&nbsp;</div>
<div>and then as apache typed</div>
<div>core file size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (blocks, -c) 0<br>data seg size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (kbytes, -d) unlimited<br>scheduling priority&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-e) 0<br>file size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (blocks, -f) unlimited<br>pending signals&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-i) 77824<br>
max locked memory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (kbytes, -l) 32<br>max memory size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (kbytes, -m) unlimited<br>open files&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-n) 200000<br>pipe size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (512 bytes, -p) 8<br>POSIX message queues&nbsp;&nbsp;&nbsp;&nbsp; (bytes, -q) 819200<br>
real-time priority&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-r) 0<br>stack size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (kbytes, -s) 10240<br>cpu time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (seconds, -t) unlimited<br>max user processes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-u) 77824<br>virtual memory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (kbytes, -v) unlimited<br>
file locks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-x) unlimited</div>
<div>&nbsp;</div>
<div>Is there any reason I still should bump into file limits?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div><br>&nbsp;</div>
<div class="gmail_quote">On Sun, Sep 27, 2009 at 7:53 AM, Payam Chychi <span dir="ltr">&lt;<a href="mailto:pchychi@gmail.com"><a href="mailto:pchychi@gmail.com">pchychi@gmail.com</a></a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">how is this related to his question? hoe does ur answer help him in figuring out the issiue?<br><br>Jason, check ur ulimits for the user running the process, alsomale sure to update /etc/security/limits so new changed take place at boot<br>
<br>Regards,<br><font color="#888888">--<br>Payam Tarverdyan Chychi<br>Network Engineer<br><br>Sent from my iPhone</font> 
<div>
<div></div>
<div class="h5"><br><br>On 2009-09-26, at 11:02 AM, Dennis Brakhane &lt;<a href="mailto:brakhane@googlemail.com" target="_blank"><a href="mailto:brakhane@googlemail.com">brakhane@googlemail.com</a></a>&gt; wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Sat, Sep 26, 2009 at 5:59 PM, Jason Kim &lt;<a href="mailto:highclass99@gmail.com" target="_blank"><a href="mailto:highclass99@gmail.com">highclass99@gmail.com</a></a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">worker_processes &nbsp;12;<br></blockquote><br>Do you really have 12 cores? It doesn't make much sense to have more<br>
workers than cores<br><br></blockquote><br></div></div></blockquote></div><br>
</div></blockquote></body></html>