<div>Hi</div>
<div>&nbsp;</div>
<div>thanks for all the replies! i should have provided more details but I was in dispair and it was late at night, have clear head now after good sleep.</div>
<div>&nbsp;</div>
<div>Ok heres info requested, the servers (i have another 6 pushing 120~mbit average with lighttpd 1.4 compiled now, all servers same config)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>OS: Suse 10.3 (minimal, i have barely anything installed and allmost everythign compiled by me)&nbsp; <a href="http://pastebin.com/m41b5a046">http://pastebin.com/m41b5a046</a></div>
<div>&nbsp;</div>
<div>Applications Running:&nbsp;&nbsp; </div>
<div>*nginx_0.5.35 (compiled <a href="http://pastebin.com/m6462475a">http://pastebin.com/m6462475a</a>&nbsp;)&nbsp; used for file downloads</div>
<div>*php_5.2.5 (compiled&nbsp; <a href="http://pastebin.com/m3c02ea6e">http://pastebin.com/m3c02ea6e</a>&nbsp;,&nbsp;~20 threads started with lighttps spawn fcgi), very short php scripts are run that use X-Accell-Redirect to pass control to nginx of file serving</div>

<div>*lighttpd_1.5r2048 (compiled) used for file uploads, due to the progress meter, fairly stable in production&nbsp;tho its from the svn</div>
<div>*custom php_cli socket deamons for inter&nbsp;server RPC, these are very light</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><strong>top <a href="http://pastebin.com/m2587b666">http://pastebin.com/m2587b666</a></strong></div>
<div><strong>dstat&nbsp;<a href="http://pastebin.com/m2055efd4">http://pastebin.com/m2055efd4</a></strong></div>
<div><strong>df <a href="http://pastebin.com/m724e52a7">http://pastebin.com/m724e52a7</a></strong></div>
<div><strong>vmstat <a href="http://pastebin.com/m5cdc2f0b">http://pastebin.com/m5cdc2f0b</a></strong></div>
<div><strong></strong>&nbsp;</div>
<div>heres <strong>lighttpd 1.4.18 config</strong> from other servers on network (they are all pretty much same just differing hosts) <a href="http://pastebin.com/m7b1af1e6">http://pastebin.com/m7b1af1e6</a></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>now the only thing that changed on this server is lighttpd 1.4.18 was replaced by nginx, and now the request go thru nginx X-AcellRedirect not lighttpd&#39;s mod_secdownload</div>
<div>&nbsp;</div>
<div>the php5 fcgi&nbsp;scripts are very small it check file exists etc, then just adds a downlaod id into headers for nginx to pick up and passes control onto nginx the relevant bit is here &gt;&nbsp;<a href="http://pastebin.com/m2bcbe7fd">http://pastebin.com/m2bcbe7fd</a></div>

<div>&nbsp;</div>
<div>basically the server is capable of pushing above 100mbit easily before, now the load is high, but this could be due to me setting high number of worker threads like Igor said and more php-cgi processes floating around</div>

<div>&nbsp;</div>
<div>so to summarise I need to figure out how to tweak this so i can move all the servers from lighttpd to nginx for file downloads</div>
<div>&nbsp;</div>
<div>Regards</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div class="gmail_quote">On Sun, Feb 24, 2008 at 8:15 AM, Aleksandar Lazic &lt;<a href="mailto:al-nginx@none.at">al-nginx@none.at</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">&nbsp;</div>How looks your lighttpd conffile?<br><br>Have you changed anything else then the webserver?<br>Which nginx version do you use?<br>How was nginx compiled?<br><br>As eliott asked: Which OS do you use?<br>
<br>If you under linux maybe you can make a:<br><br>vmstat -d 1<br>and/or<br>vmstat 1<br><br><br>BR<br><br>Aleks<br><br></blockquote></div><br>