strace would be useful to see what is the nginx doing then, i am not sure btw. that this is nginx related at all. might be some trivial problem with apache like you anbled the dns resolution and forgot to setup the proper resolv.conf and so on but without showing the exact configuration including the nginx frontend and the backends there is nothing much to say.<br>
<br><a href="http://www.catb.org/~esr/faqs/smart-questions.html">http://www.catb.org/~esr/faqs/smart-questions.html</a><br><br>regards,<br>Istvan<br><br><div class="gmail_quote">On Sat, Apr 25, 2009 at 10:24 AM, maxigs <span dir="ltr">&lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</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;">Hi,<br>
<br>
i&#39;m currently having pretty bad performance on my server setup which is most likely just a little issue with my configuration but i cant figure out what i do wrong. Google did not really help much either.<br>
<br>
The Problem is pretty simple:<br>
<br>
Its to slow, even static pages or assets (css files, images) are served way to slow through my servers (a couple of seconds at most).<br>
<br>
The Setup is:<br>
<br>
Nginx 0.6.36 as frontend server (only to split the requests up to the vhosts, since a couple of sites are going through the same ip)<br>
<br>
Nginx or (still) some Apache servers behind which server the pages.<br>
<br>
So when a request goes in, the first nginx proxy-passes it through to the second servers which then deliver the sites (including all static contents).<br>
<br>
This setup seems to slow down performance dramatically, even simple static files are delivered way to slow.<br>
<br>
I already tried various configuration combinations (gzip/keep alive/proxy options), but dont seem to get anywhere so far, it would be great if someone had a basic idea to get me back on the track.<br>
<br>
Thanks a lot !<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,1441,1441#msg-1441" target="_blank">http://forum.nginx.org/read.php?2,1441,1441#msg-1441</a><br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>the sun shines for all<br>