Using RHEL5, PHP 5.2.10, php-fpm, nginx 0.7.61 The difference in speed is massive. Also, while using IP Sockets, I was running out of sockets in my loadtests, as two sockets were used per connection, and a lot of them ended up in TIME_WAIT. The only issue is the lack of reliability - many of my requests during loads fail. I tested some more, and I was able to handle 512 concurrents in variouby sumitg - Php-fpm Mailing List - English
I recently tried listening on unix sockets instead of IP sockets for a slow application I had, and saw that the performance (tested using ab) using unix sockets was far greater. However, on heavy loads, I started getting this in the nginx error logs: ...connect() to unix:/dev/shm/php-fpm.1.socket failed (11: Resource temporarily unavailable) while connecting to upstream... I made multiplby sumitg - Php-fpm Mailing List - English
Anyone? Is this not possible? Another case is where I want to check for multuple UAs (to check for mobile browsers)... currently there's multiple if's handling the situation. There must be a better way! Sumit.by sumitg - How to...
Hi, looked around but couldn't find an answer: is there any way to have multiple conditions (a and b)/(a or b) in if statements. Or even nested if statements? I have several checks in location using successive if statements using regexes, each of which sets a value as well. I think I can make things far more efficient by also checking if the value is already set or not. I'm assuming that likeby sumitg - How to...