By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,744 Members | 1,835 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,744 IT Pros & Developers. It's quick & easy.

mod_php or fastcgi for heavy loaded server?

P: n/a
concurrent request to httpd might as high as 300

and each httpd need 12M of memory (currently using mod_php)

so total memory needed might over 3GB
so under this case, should i use fastcgi?

thanks.

Jan 31 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
howa schrieb:
concurrent request to httpd might as high as 300

and each httpd need 12M of memory (currently using mod_php)

so total memory needed might over 3GB
so under this case, should i use fastcgi?

thanks.
12M for each httpd looks like a selfcompiled and unstripped module.
My first try would be strip the module.
which version of apache you use, what are the settings?

greetings, Roy

--
Roy Kaldung
roy {at} kaldung {dot} com
http://kaldung.com/
Jan 31 '07 #2

P: n/a
the Apache is alright, becoz the php codes itself really need 12M at
runtime, e.g. using some heavy libraries, e.g. AdoDB, Smarty, ....

my concern is not abt reducing the code size,

I would like to know:

will fastcgi help in these kind of setup?

thanks.
12M for each httpd looks like a selfcompiled and unstripped module.
My first try would be strip the module.
which version of apache you use, what are the settings?

greetings, Roy

--
Roy Kaldung
roy {at} kaldung {dot} comhttp://kaldung.com/

Jan 31 '07 #3

P: n/a
howa wrote:
>12M for each httpd looks like a selfcompiled and unstripped module.
My first try would be strip the module.
which version of apache you use, what are the settings?

greetings, Roy

--
Roy Kaldung
roy {at} kaldung {dot} comhttp://kaldung.com/


the Apache is alright, becoz the php codes itself really need 12M at
runtime, e.g. using some heavy libraries, e.g. AdoDB, Smarty, ....

my concern is not abt reducing the code size,

I would like to know:

will fastcgi help in these kind of setup?

thanks.
(top posting fixed)

But each request should not need an additional 12MB for the code. Most
of it is in DLL's or shared libraries, of which only one would be loaded
and shared by the OS amongst all processes using them.

P.S. Please don't top post. Thanks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Feb 3 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.