logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Memory usage Apache + PHP as module versus FastCGI
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Fri 23 May '08 20:51    Post subject: Memory usage Apache + PHP as module versus FastCGI Reply with quote

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: 7288
Location: Germany, Next to Hamburg

PostPosted: Wed 09 Jul '08 22:55    Post subject: Reply with quote

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

PostPosted: Thu 10 Jul '08 7:46    Post subject: Reply with quote

James, re mod_fcgid/vs6: Would you like me to send you one?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Thu 10 Jul '08 9:35    Post subject: Reply with quote

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

PostPosted: Thu 10 Jul '08 18:48    Post subject: Reply with quote

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: 7288
Location: Germany, Next to Hamburg

PostPosted: Thu 10 Jul '08 19:20    Post subject: Reply with quote

I build nothing Wink

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

PostPosted: Thu 10 Jul '08 20:06    Post subject: Reply with quote

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 Cool

VS6 that is

Cheers
G
Back to top
janemcready



Joined: 29 Apr 2014
Posts: 1
Location: US

PostPosted: Tue 29 Apr '14 8:48    Post subject: Reply with quote

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: 3049
Location: Hilversum, NL, EU

PostPosted: Tue 29 Apr '14 10:28    Post subject: Reply with quote

As you can conclude from above, use mod_fcgid.
Back to top


Reply to topic   Topic: Memory usage Apache + PHP as module versus FastCGI View previous topic :: View next topic
Post new topic   Forum Index -> Apache