Community Page
- blog.kovyrin.net Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- nice article! nice site. you're in my rss feed now ;-) keep it up
- nice article! nice site. you're in my rss feed now ;-) keep it up
- nice article! nice site. you're in my rss feed now ;-) keep it up
- Top post. Thank you very much. :-)
- Thanks for the info. May God have mercy on us all.
Jump to original thread »
ÐеÑÑÑ Ð½Ð°Ð·Ð°Ð´ ÑÑÐ¾Ð¼Ñ Ð±Ð»Ð¾Ð³Ñ Ð¸ÑполнилÑÑ 1 год. ÐадеÑÑÑ, вÑе мои ÑÐ
... Continue reading »
2 years ago
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.
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?
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.
2 years ago
Your idea of writing some wrapper to be sure than php sends correct data is really great - will try to implement it tomorrow.
2 years ago
A wrapper seems like a more difficult problem to solve. A bot would simply need to simulate a FastCGI request, and log the response.
2 years ago
файл размером в 1М, забит нулями, PHP работает как модуль апача. В процессе была загрузка 100% (cpu: Pentium(R) 4 CPU 1400MHz, mem: 516680 kB)
Тестил через ab -c 100 http://dm.test/test.php
Если скажете как скачать его 100 раз иначе - попробую иначе.
Server Software: Apache/2.2.3
Server Hostname: dm.test
Server Port: 80
Document Path: /test.php
Document Length: 1048576 bytes
Concurrency Level: 1
Time taken for tests: 474.532609 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 104877000 bytes
HTML transferred: 104857600 bytes
Requests per second: 0.21 [#/sec] (mean)
Time per request: 4745.326 [ms] (mean)
Time per request: 4745.326 [ms] (mean, across all concurrent requests)
Transfer rate: 215.83 [Kbytes/sec] received
2 years ago
2 years ago
нет, не тестировали, но такое проявляется редко на ещё одном сервере и было ещё на одном. Т.е. 3 разных сервера, на которых один и тот же баг - имо вариант проблем с памятью да и с железом в целом исключают.
2 years ago
could this be the reason:
http://www.debian.org/releases/stable/i386/rele...
Hth
Aleks
2 years ago
2 years ago
2 years ago
2 years ago
About chatting with me - you can reach me via any IM (contacts are on resume page).
I've deleted strace/tcpdump/etc but I think I can get new dumps ;-)
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago