Author |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 23 May '08 20:51 Post subject: Memory usage Apache + PHP as module versus FastCGI |
|
|
Just to share, with my stats at http://www.land10.nl/apachestatus/ I graphed the memory usage with php as module and as fastcgi on the ApacheLounge server.
With PHP as module after some time the memory usage of Apache is growing and growing up to ~800M.
With mod_fcgid is stays on a steady ~100M
PHP configuration: only with the extension php_mysql.dll and eaccelerator.dll
Light blue: httpd.exe processes Memory Usage
Dark blue: all processes Memory Usage total
Fri-Sun : mod_fcgid
Mon-Tue : module with php from php.net (VC6)
Wed-Thu : module with self build php (VC9)
Fri-Sat : mod_fcgid |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 09 Jul '08 22:55 Post subject: |
|
|
I'd like to know if there is a difference with mod_fcgid php VS6 vs mod_fcgid php VS9 selfbuild. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 10 Jul '08 7:46 Post subject: |
|
|
James, re mod_fcgid/vs6: Would you like me to send you one? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 10 Jul '08 9:35 Post subject: |
|
|
glsmith wrote: | James, re mod_fcgid/vs6: Would you like me to send you one? |
What do you want to have?? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 10 Jul '08 18:48 Post subject: |
|
|
I just meant would you like a VS6 build of the mod sent to you? .. Guess not.
Gregg |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 10 Jul '08 19:20 Post subject: |
|
|
I build nothing
I meant the fcgi from apachelounge. One time with PHP from php.net (VS6) and the other time with PHP from steffen. (VS9)
Cause with the VS9 module there was less memory usage as with the one from PHP.net |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 10 Jul '08 20:06 Post subject: |
|
|
Gotcha .. now. Thought you meant an fcgid built VS6, which you know is what I use and will use till such time as it cannot be used any longer
VS6 that is
Cheers
G |
|
Back to top |
|
janemcready
Joined: 29 Apr 2014 Posts: 1 Location: US
|
Posted: Tue 29 Apr '14 8:48 Post subject: |
|
|
I am also experiencing a similar issue here. When use the PHP as module the memory usage of Apache is growing very high. Without PHP I have not noticed this issue. What can be done to stop this. Thanks for the help.
Jane
Admin Note:
Removed advertise link |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 29 Apr '14 10:28 Post subject: |
|
|
As you can conclude from above, use mod_fcgid. |
|
Back to top |
|