

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
22 messages in ru.sysoev.nginxRe: php-fastcgi and memory leaks| From | Sent On | Attachments |
|---|---|---|
| Phillip B Oldham | Mar 25, 2008 2:43 am | |
| Reinis Rozitis | Mar 25, 2008 4:30 am | |
| Phillip B Oldham | Mar 25, 2008 4:47 am | |
| Yordan Georgiev | Mar 25, 2008 1:01 pm | |
| Phillip B Oldham | Mar 26, 2008 1:12 am | |
| Thomas | Mar 26, 2008 2:43 am | |
| Phillip B Oldham | Mar 26, 2008 3:00 am | |
| Thomas | Mar 26, 2008 3:08 am | |
| Corey Donohoe | Mar 26, 2008 7:18 am | |
| Yordan Georgiev | Mar 26, 2008 7:27 am | |
| Rob Schultz | Mar 26, 2008 12:14 pm | |
| Phillip B Oldham | Mar 28, 2008 2:36 am | |
| Thomas | Mar 29, 2008 1:41 pm | |
| Reinis Rozitis | Mar 30, 2008 5:56 pm | |
| Thomas | Mar 31, 2008 4:41 am | |
| Phillip B Oldham | Mar 31, 2008 4:54 am | |
| Grzegorz Nosek | Mar 31, 2008 5:06 am | |
| Phillip B Oldham | Mar 31, 2008 5:27 am | |
| Grzegorz Nosek | Mar 31, 2008 5:40 am | |
| Phillip B Oldham | Mar 31, 2008 5:46 am | |
| Grzegorz Nosek | Mar 31, 2008 6:33 am | |
| Phillip B Oldham | Mar 31, 2008 6:44 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: php-fastcgi and memory leaks | Actions... |
|---|---|---|
| From: | Reinis Rozitis (r...@roze.lv) | |
| Date: | Mar 30, 2008 5:56:36 pm | |
| List: | ru.sysoev.nginx | |
No matter how I look at it this doesnt seem right:
First - why and how the heck are you able to "smash" ab against spawn-fcgi (or I do misunderstood something)? Because spawn-fcgi isnt a permanent process nor does it handle any HTTP requests (or acts as fcgi gateway to handle the requests from nginx) .. spawn-fcgi is only an executable provided with lighttpd to spawn PHP master process (with setuid/setgid feature when the adaptive spawning on lighty was basically disabled). You can fully do the same just with php executable (built as fastcgi) eg provide port/socket and other settings from command line (and some from ENV variables).
So I can't really get how can spawn-fcgi eat up ram because it shouldnt be on the process list at all..
Second - MySQL ram usage on the other hand is unbelievable small.. but thats another discussion :)
rr
----- Original Message ----- From: "Thomas" <iamk...@public.gmane.org> To: <nginx-nofU2znGi42HXe+LvDL...@public.gmane.org> Sent: Saturday, March 29, 2008 11:42 PM Subject: Re: php-fastcgi and memory leaks
Hi Phillip,
As promised I have been trying to smash my spawn-fcgi process with ab but with no success. The cpu went crazy as expected, but the memory remained low. I don't if I am not testing enough. I was testing retrieving the index page of a PunBB forum hosted on my server. With too high concurrency, ab would stop benchmarking because of php-cgi starting to fail connections. spawn-fcgi uses 5MB of memory and MySQL 21MB.
I am using Ubuntu 7.10 Server Edition with all official Ubuntu packages.
And thanks for sharing your monitrc file ;-)







