on  
Apache Lounge
Webmasters & Programmers Home

 


Forum Index Downloads Contact
Search Forum Register Log in
 RSS Feed Apache Lounge



Register.com New Year Banners


Keep Server Online

The Apachelounge is not funded by anyone other than me (Steffen).

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

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

Thank You! Steffen

Your donations will help to keep this site alive and well.

Memory usage Apache + PHP as module versus FastCGI

 
Post new topic   Reply to topic    Apache Forum Index -> Apache
View previous topic :: View next topic  
Author Message
Steffen
Moderator


Joined: 14 Oct 2005
Posts: 1193
Location: Hilversum, NL, EU

PostPosted: Fri 23 May '08 18: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
View user's profile Visit poster's website
James Blond
Moderator


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

PostPosted: Wed 09 Jul '08 20: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
View user's profile Visit poster's website
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 849
Location: Close enough to Baja to empty the cupboards

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

James, re mod_fcgid/vs6: Would you like me to send you one?
Back to top
View user's profile Visit poster's website
James Blond
Moderator


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

PostPosted: Thu 10 Jul '08 7: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
View user's profile Visit poster's website
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 849
Location: Close enough to Baja to empty the cupboards

PostPosted: Thu 10 Jul '08 16: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
View user's profile Visit poster's website
James Blond
Moderator


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

PostPosted: Thu 10 Jul '08 17: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
View user's profile Visit poster's website
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 849
Location: Close enough to Baja to empty the cupboards

PostPosted: Thu 10 Jul '08 18: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
View user's profile Visit poster's website

Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1