Re: Better process management

Frank de Bot <ppi-hi+UNC/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using apache 1.3.33 , The FastCgiConfig line is:


FastCgiConfig -flush -minProcesses 5 -appConnTimeout 0 -autoUpdate
- -init-start-delay 0

I've also experimented with other options, but I had no positive change.



Marc Prewitt wrote:
| Are you using apache?  If so, what does your FastCGIConfig line look like?
|
| This should give you a little more info on how to set FastCGIConfig to
| do what you want:
|
| http://fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiConfig
|
| Frank de Bot wrote:
|
| Hi,
|
| I've done some tests with FastCGI and php.(Dynamic FastCGI) I've taken a
| php script which sleeps for 20 seconds.(FastCGI idle timeout is 60 secs)
| This could be seen as a php page which consumes a  lot of CPU or is
| busying transfering via a socket.
|
| I start loading the sleep script continual, so the php process is always
| "busy" doing something. When I load at the same moment another regular
| php script it takes pretty much time before there's any reaction. I've
| found out a single process of php was created, but only to handle that
| one process. This is quite disturbing, because a sites performance is
| degraded if just one script is slow.
| How can I configure mod_fastcgi so it is launching a new instance of the
| FastCGI process and then keep it there till the load has gone down or at
| least for a few minutes.
|
| Regards,
|
| Frank de Bot
|>
|>
- ------------------------------------------------------------------------
|>
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFB+JH8LonZ02f+KF8RAhwrAJ9hvYT45eBofwRbWgqWLhOivrhf9QCfTHYi
MFaf8/D2PykUHbTjHRtU/bU=
=90bN
-----END PGP SIGNATURE-----

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.