Hi,<br><br>I also don&#39;t think it&#39;s related to nginx itself. I think it&#39;s the problem of my wordpress supercache rewrite rule. It seems the rewrite rule is not working correctly. I am working on that to see what&#39;s problem now. Thanks guys!<br>
<br>Max<br><br><div class="gmail_quote">On Fri, Mar 6, 2009 at 3:58 PM, Payam Chychi <span dir="ltr">&lt;<a href="mailto:pchychi@gmail.com">pchychi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey,<br>
<br>
I dont think this is because of nginx, linux tends to utilize your RAM<br>
regardless of what your running (may or may not be performance<br>
impacting...)<br>
<br>
I recently came a cross the same issue and after much reading it<br>
turned out to be the behavior or the OS and not the application<br>
<br>
-Payam<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Fri, Mar 6, 2009 at 1:56 AM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br>
&gt; On Fri, Mar 06, 2009 at 01:20:33PM +0800, Max wrote:<br>
&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; My nginx is hosting more than 200 sites. But when I reload it, it said I<br>
&gt;&gt; need to increase the following size:<br>
&gt;&gt;<br>
&gt;&gt; server_names_hash_max_size<br>
&gt;&gt; server_names_hash_bucket_size<br>
&gt;&gt;<br>
&gt;&gt; So I just increased it to:<br>
&gt;&gt;<br>
&gt;&gt;    server_names_hash_max_size 1024;<br>
&gt;&gt;    server_names_hash_bucket_size 128;<br>
&gt;&gt;<br>
&gt;&gt; After that, nginx can reload, but my server is always out of memory(4gb in<br>
&gt;&gt; my server). So any body know if I change the above variables, will it affect<br>
&gt;&gt; the performance of the server?<br>
&gt;<br>
&gt; No, the hash may take up to about 128 * 1024 bytes, i.e., just 128K.<br>
&gt; What do you mean by &quot;out of memory&quot; ?<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Igor Sysoev<br>
&gt; <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Payam Tarverdyan Chychi<br>
Network Security Specialist / Network Engineer<br>
<br>
</font></blockquote></div><br>