<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Homo-Adminus Blog - Latest Comments in SOS!</title><link>http://homo-adminus.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 31 Jul 2007 04:29:53 -0000</lastBuildDate><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460786</link><description>Была похожая проблема после обновления ядра до 2.6.21.*, всё стало на свои места после возвращения на ветку 2.6.16.*</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Siava</dc:creator><pubDate>Tue, 31 Jul 2007 04:29:53 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460785</link><description>...so? :S</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anxious</dc:creator><pubDate>Tue, 10 Jul 2007 17:24:38 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460784</link><description>We have rebuilt the kernel - versions from 2.6.16.51 to 2.6.19.7 - nothing helped. Trying different NIC cards also didn't help.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dimon</dc:creator><pubDate>Wed, 16 May 2007 22:40:14 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460783</link><description>Возможно, проблема с sendfile в ядре?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ugenk</dc:creator><pubDate>Thu, 03 May 2007 07:16:37 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460782</link><description>Any news?!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aleks</dc:creator><pubDate>Sat, 21 Apr 2007 17:26:19 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460781</link><description>Can you share your nginx configuration file?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin</dc:creator><pubDate>Fri, 20 Apr 2007 18:51:39 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460780</link><description>2Camel: Test script was local, but errors was on local and remote clients - distance from the server does not matter.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Fri, 20 Apr 2007 18:19:09 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460778</link><description>Hmmm... I've got major update - looks like there is no problem when web server is not on port 80. Just tested it with the same config but on port 8080 - everything works fine on full speeds without any problems (at lest on my 100-files-download test). Really strange :-(</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Fri, 20 Apr 2007 10:02:46 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460776</link><description>Were your test scripts local or remote? I've had similar issues, check your ethernet MTU, it couldn't hurt to try lowering it to 1450.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Camel</dc:creator><pubDate>Fri, 20 Apr 2007 09:28:52 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460775</link><description>2Aleks: Thanks - I'll take a look at this tcp scaling problem.&lt;br&gt;&lt;br&gt;About chatting with me - you can reach me via any IM (contacts are on resume page).&lt;br&gt;&lt;br&gt;I've deleted strace/tcpdump/etc but I think I can get new dumps ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Fri, 20 Apr 2007 09:10:37 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460774</link><description>are the strace output available for download?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aleks</dc:creator><pubDate>Fri, 20 Apr 2007 08:26:36 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460773</link><description>Is there a irc or mail channel to talk.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aleks</dc:creator><pubDate>Fri, 20 Apr 2007 08:19:44 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460772</link><description>Have you some tcpdumps from client and server?!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aleks</dc:creator><pubDate>Fri, 20 Apr 2007 08:18:18 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460771</link><description>Hi,&lt;br&gt;&lt;br&gt;could this be the reason:&lt;br&gt;&lt;br&gt;&lt;a href="http://www.debian.org/releases/stable/i386/release-notes/ch-information.en.html#s-window-scaling" rel="nofollow"&gt;http://www.debian.org/releases/stable/i386/rele...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hth&lt;br&gt;&lt;br&gt;Aleks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aleks</dc:creator><pubDate>Fri, 20 Apr 2007 08:10:52 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460770</link><description>to _Andrey_:&lt;br&gt;нет, не тестировали, но такое проявляется редко на ещё одном сервере и было ещё на одном. Т.е. 3 разных сервера, на которых один и тот же баг - имо вариант проблем с памятью да и с железом в целом исключают.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">id</dc:creator><pubDate>Fri, 20 Apr 2007 06:59:29 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460769</link><description>Память тестировали?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">_Andrey_</dc:creator><pubDate>Fri, 20 Apr 2007 06:10:42 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460768</link><description>Итак, вот что вышло у меня:&lt;br&gt;файл размером в 1М, забит нулями, PHP работает как модуль апача. В процессе была загрузка 100% (cpu: Pentium(R) 4 CPU 1400MHz, mem: 516680 kB)&lt;br&gt;Тестил через ab -c 100 &lt;a href="http://dm.test/test.php" rel="nofollow"&gt;http://dm.test/test.php&lt;/a&gt;&lt;br&gt;Если скажете как скачать его 100 раз иначе - попробую иначе.&lt;br&gt;&lt;br&gt;Server Software:        Apache/2.2.3&lt;br&gt;Server Hostname:        dm.test&lt;br&gt;Server Port:            80&lt;br&gt;&lt;br&gt;Document Path:          /test.php&lt;br&gt;Document Length:        1048576 bytes&lt;br&gt;&lt;br&gt;Concurrency Level:      1&lt;br&gt;Time taken for tests:   474.532609 seconds&lt;br&gt;Complete requests:      100&lt;br&gt;Failed requests:        0&lt;br&gt;Write errors:           0&lt;br&gt;Total transferred:      104877000 bytes&lt;br&gt;HTML transferred:       104857600 bytes&lt;br&gt;Requests per second:    0.21 [#/sec] (mean)&lt;br&gt;Time per request:       4745.326 [ms] (mean)&lt;br&gt;Time per request:       4745.326 [ms] (mean, across all concurrent requests)&lt;br&gt;Transfer rate:          215.83 [Kbytes/sec] received</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DM</dc:creator><pubDate>Fri, 20 Apr 2007 04:49:37 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460767</link><description>@Soundrel: I wasn't even suggesting writing a wrapper, I was more suggesting writing a "bot" that communicates with the script via the FastCGI protocol directly.  You could run it directly against the app and raise any exceptions if the data comes out other than expected.&lt;br&gt;&lt;br&gt;A wrapper seems like a more difficult problem to solve. A bot would simply need to simulate a FastCGI request, and log the response.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dkubb</dc:creator><pubDate>Fri, 20 Apr 2007 03:18:57 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460766</link><description>2Dan Kubb: Thanks for advices. I've tried unix and tcp sockets without luck :-(&lt;br&gt;&lt;br&gt;Your idea of writing some wrapper to be sure than php sends correct data is really great - will try to implement it tomorrow.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Fri, 20 Apr 2007 02:10:19 -0000</pubDate></item><item><title>Re: SOS!</title><link>http://blog.kovyrin.net/2007/04/20/sos/#comment-2460765</link><description>I see no one's replied yet, so I'll throw my hat in.  Not sure how much help I can be -- I'm not a PHP developer, but I have debugged PHP/FastCGI with LightTPD and Nginx before, so anything's probably better than nothing...&lt;br&gt;&lt;br&gt;The weird part about this is that you tried Apache, Nginx and LightTPD and you got the same result with each.  This plus the fact that strace shows PHP is sending all the requested information to the server is really weird.&lt;br&gt;&lt;br&gt;Have you tried communicating with the FCGI process using a unix socket AND an internet socket?  Can you eliminate the web server from the equation, and write a script that uses the FastCGI protocol to talk to the FCGI process directly?&lt;br&gt;&lt;br&gt;When I hit a wall, I usually try to reduce things to the smallest number of moving parts and then try again.  Close the feedback loop as tightly as possible.  Eliminate the web server if you can.  Try to compile PHP in FastCGI mode with no external library dependencies.  Heck, even see if you can execute the script from the command-line with the ENV variables set to expected values and try duplicate the problem.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dkubb</dc:creator><pubDate>Fri, 20 Apr 2007 01:07:46 -0000</pubDate></item></channel></rss>