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 Hi, This works quite well. Only under very very heavy circumstances it sometimes shows the 503. The only problem is that I still use apache 1.3.x and the modules works only on 2.x So I need some kind of fix for the "original" mod_fastcgi to overcome the problems. Regards, Frank de Bot ??? wrote: | Hi, | It's communication timeout. Please set configuration "IPCCommTimeout" greater than 20, if your script sleep 20 seconds... | You can get more help in http://fastcgi.coremail.cn/doc.htm | Thanks | | | I've taken a look to mod_fcgid, but it occasionaly generates a 503. | (with the test situation I've scetched) A slow loading page is in my | opinion more usable than errors. | | Regards, | | Frank de Bot | | | ??? wrote: | | Hi, | | I am the author of mod_fcgid, I think you may try my module: | http://fastcgi.coremail.cn. | | You can group the fastcgi processes with the resources they are | using. For example, you can force all requests to the sleeping php | script running on one group of php process, other request direct to | another group. | | | | Thanks | | | | | | 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFB/CpOLonZ02f+KF8RAoeZAJ9nloCa2hVLMJEjZLeigVl5t0s56wCbBnJn dctQ4xlgrjsjq5092rpV+7w= =3FH+ -----END PGP SIGNATURE----- ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/