473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

mod_php or fastcgi for heavy loaded server?

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
3 2036
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Peter Otten | last post by:
Is there a way to limit both width and height of a canvas text item? My current workaround seems clumsy: import Tkinter as tk root = tk.Tk() canvas = tk.Canvas(root, width=400, height=200,...
5
by: howachen | last post by:
hi, which package you perfer? mod_php on apache is okay but some people said fastcgi version of php is faster, is it true? thanks...
37
by: Joshua Ruppert | last post by:
When I'm using FastCGI do I need to code differently than I do when using regular CGI? Because the PHP.exe processes don't go away do global variables stick around from page request to page...
7
by: Vincent Delporte | last post by:
Hello I'm interested in hearing reflections by seasoned web app developpers about the different ways to write PHP apps, and especially how they compare in terms of performance, whether it's the...
2
by: Sanders Kaufman | last post by:
I'm working on a webhost that seems to have an undocumented feature. I inadvertently coded a link to "mydomain.com//" - with TWO trailing slashes. When I clicked the link, Apache returned this...
1
by: BMK | last post by:
I am using apache web server with php5 and oracle 10 as database server. in this scenerio, do I expect to have mod_php.so?
2
by: Evil Son | last post by:
Hello group, If I switched from mod_php to fast-cgi, would I need to make any changes to my php source? Also, will something like APC still be useful? Will my database connections suddenly...
4
by: setesting001 | last post by:
How many of you are running Fast CGI instead of the popular mod_php? I planning to change to fast cgi since my applications need around 15MB memory to handle a single request, so consider if...
7
by: yawnmoth | last post by:
Correct me if I'm wrong, but isn't running PHP via mod_php faster than running it via CGI? If so, why would a web hosting company be running PHP via CGI and not mod_php? I asked that very...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.