setesting001@gmail.com wrote:
> 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 Apache running
> in multi-process mode, serving 300 clients, then it nearly used up all
> my memory in my server.
>
> Any experience can share how to handle large concurrent clients for
> PHP?
>
>
> Thanks
>
First of all, Fast CGI will not use any less memory the mod_php. In
fact, it may use slightly more.
Are you saying you will be handling 300 requests concurrently? That
would be a very busy web server - with typical processing, you're
talking several million hits a day. If that's the case, memory isn't
going to be your only problem. In fact, it probably won't be your main
problem.
Also, if you are regularly using that much memory, chances are you're
code is quite inefficient. It's not unusual to require that much
occasionally. But not on a regular basis.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================