Current time: 11-27-2024, 09:03 AM Hello There, Guest! (LoginRegister)


Post Reply 
Possible to use mod_php instead of fast-cgi?
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #21
RE: Possible to use mod_php instead of fast-cgi?
Ya the "the incomplete header prob" its sucks and makes my clients mad....

I increased the children for that domain only as a test... i think it helped a bit, but not completely.

Ido not have a high load average its always under 1.0 , well for most of the time....

How would i check for unkilled php processes? just do a ps -auwx and check for php processes older than what amount of time?

Here is a quick ps ...........

Smile

vu2112 26130 0.0 0.2 128104 3880 ? Ss Jan24 0:00 /usr/bin/php4-cgi
vu2112 26139 0.0 0.1 129832 2716 ? S Jan24 0:00 /usr/bin/php4-cgi
vu2112 26140 0.0 0.1 129832 2716 ? S Jan24 0:00 /usr/bin/php4-cgi
vu2000 18244 0.0 0.2 128104 5732 ? Ss 14:57 0:00 /usr/bin/php4-cgi
vu2000 18245 0.0 1.3 138616 25228 ? S 14:57 0:00 /usr/bin/php4-cgi
vu2000 18246 0.0 0.8 134344 16760 ? S 14:57 0:00 /usr/bin/php4-cgi
vu2017 18257 0.0 0.2 128108 5744 ? Ss 14:57 0:00 /usr/bin/php4-cgi
vu2016 18260 0.0 0.2 128108 5744 ? Ss 14:57 0:00 /usr/bin/php4-cgi
vu2017 18261 0.0 0.3 131236 6344 ? S 14:57 0:00 /usr/bin/php4-cgi
vu2017 18262 0.0 0.3 131228 6472 ? S 14:57 0:00 /usr/bin/php4-cgi
vu2017 18263 0.0 0.3 129324 6308 ? S 14:57 0:00 /usr/bin/php4-cgi
vu2017 18264 0.0 0.3 131436 6600 ? S 14:57 0:00 /usr/bin/php4-cgi
vu2088 18295 0.0 0.2 128104 5736 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2088 18298 0.0 0.6 129748 12456 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2088 18299 0.0 0.3 129068 7668 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2065 18305 0.0 0.2 128104 5740 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2065 18310 0.0 0.2 128660 4700 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2065 18311 0.0 0.2 128868 5412 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2080 18312 0.0 0.2 128104 5740 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2080 18316 0.0 0.2 129836 4724 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2080 18317 0.0 0.2 129836 4784 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2090 18320 0.0 0.2 128108 5744 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2090 18327 0.0 1.4 134612 27472 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2090 18328 0.0 1.3 134976 26976 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2090 18329 0.0 1.5 133316 29992 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2090 18330 0.0 1.2 133352 23620 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2090 18331 0.0 1.3 134804 25976 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2090 18332 0.0 1.2 134344 24340 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2069 18341 0.0 0.2 128104 5736 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2069 18342 0.0 0.9 132544 18016 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2069 18343 0.0 0.8 135160 16632 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2069 18344 0.0 0.5 133544 10104 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2069 18345 0.0 0.4 132444 9316 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2069 18346 0.0 0.8 132488 16068 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2069 18347 0.1 1.1 134644 22204 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2069 18348 0.0 0.8 134060 16276 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2069 18349 0.0 0.9 135188 17776 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2069 18350 0.0 0.7 132520 14224 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2069 18351 0.0 0.7 133512 14996 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2069 18352 0.0 0.4 132476 9588 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2069 18353 0.0 0.6 135140 11988 ? S 14:58 0:01 /usr/bin/php4-cgi
vu2109 18404 0.0 0.2 128108 5740 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2109 18405 0.0 0.3 131640 7328 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2109 18406 0.0 0.3 131644 7312 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2063 18421 0.0 0.2 128104 5740 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2063 18422 0.0 0.3 128900 5976 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2063 18423 0.0 0.2 128900 5708 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2063 18424 0.0 0.3 130276 6776 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2063 18425 0.0 0.3 129028 5912 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18440 0.0 0.2 128108 5744 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2057 18441 0.0 1.7 132044 33320 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18442 0.0 0.9 131252 17752 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18443 0.0 0.8 131048 15920 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18444 0.0 0.9 131296 17864 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18445 0.0 0.2 128932 5592 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18446 0.0 0.7 129688 14156 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18447 0.0 0.7 129620 14132 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2057 18448 0.0 0.9 131956 19044 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2115 18450 0.0 0.2 128104 5740 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2115 18451 0.0 0.4 129996 8764 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2115 18452 0.0 0.4 130240 9140 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2094 18484 0.0 0.2 128104 5740 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2094 18485 0.0 0.2 128656 5508 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2094 18486 0.0 0.1 128104 2076 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18495 0.0 0.2 128104 5740 ? Ss 14:58 0:00 /usr/bin/php4-cgi
vu2137 18496 0.0 0.4 129024 9220 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18497 0.0 0.5 129292 10540 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18498 0.0 0.3 129024 6756 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18499 0.0 0.4 129292 7752 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18500 0.0 0.3 129040 6940 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18501 0.0 0.5 130724 9800 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18502 0.0 0.7 130844 14068 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18503 0.0 0.4 129460 8864 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18504 0.0 0.4 130204 8456 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2137 18505 0.0 0.1 128104 2076 ? S 14:58 0:00 /usr/bin/php4-cgi
vu2044 18689 0.0 0.2 128104 5740 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2044 18691 0.0 0.2 129040 5244 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18692 0.0 0.2 128660 4540 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18693 0.0 0.2 128660 4540 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18694 0.0 0.2 128660 4540 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18695 0.0 0.2 128660 4392 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18696 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2092 18790 0.0 0.2 128104 5740 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2092 18791 0.0 0.4 129412 8856 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2092 18792 0.0 0.3 129424 7520 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18818 0.0 0.2 128104 5736 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2044 18820 0.0 0.1 128104 2072 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18821 0.0 0.1 128104 2072 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18822 0.0 0.1 128104 2072 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18823 0.0 0.1 128104 2072 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18824 0.0 0.1 128104 2072 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18825 0.0 0.1 128104 2072 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18904 0.0 0.2 128104 5740 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2044 18905 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18906 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18907 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18908 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18909 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 18910 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19039 0.0 0.2 128104 5740 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2044 19040 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19041 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19042 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19043 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19044 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19045 0.0 0.1 128104 2076 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19170 0.0 0.2 128108 5744 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2044 19171 0.0 0.1 128108 2080 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19172 0.0 0.1 128108 2080 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19173 0.0 0.1 128108 2080 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19174 0.0 0.1 128108 2080 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19175 0.0 0.1 128108 2080 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2044 19176 0.0 0.1 128108 2080 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19244 0.0 0.2 128108 5744 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2063 19245 0.0 0.3 128952 5872 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19246 0.0 0.2 128740 5096 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19247 0.0 0.2 128732 5648 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19248 0.0 0.3 130052 6628 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19263 0.0 0.2 128108 5744 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2063 19264 0.0 0.3 128948 5848 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19265 0.0 0.2 128752 5656 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19266 0.0 0.3 130204 6608 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19267 0.0 0.2 128636 5156 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19275 0.0 0.2 128108 5744 ? Ss 15:00 0:00 /usr/bin/php4-cgi
vu2063 19276 0.0 0.3 128948 5836 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19277 0.0 0.2 128732 5408 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19278 0.0 0.2 128636 5108 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19279 0.0 0.3 130148 6576 ? S 15:00 0:00 /usr/bin/php4-cgi
vu2063 19304 0.0 0.2 128104 5740 ? Ss 15:01 0:00 /usr/bin/php4-cgi
vu2063 19305 0.0 0.3 128940 5880 ? S 15:01 0:00 /usr/bin/php4-cgi
vu2063 19306 0.0 0.2 128608 5392 ? S 15:01 0:00 /usr/bin/php4-cgi
vu2063 19307 0.0 0.2 128636 5100 ? S 15:01 0:00 /usr/bin/php4-cgi
vu2063 19308 0.0 0.2 128612 5328 ? S 15:01 0:00 /usr/bin/php4-cgi
vu2040 19654 0.0 0.2 128104 5736 ? Ss 15:01 0:00 /usr/bin/php4-cgi
vu2040 19655 0.0 0.1 128368 3544 ? S 15:01 0:00 /usr/bin/php4-cgi
vu2040 19656 0.0 0.2 128500 3944 ? S 15:01 0:00 /usr/bin/php4-cgi
vu2090 20269 0.0 0.2 128104 5740 ? Ss 15:07 0:00 /usr/bin/php4-cgi
vu2090 20270 0.0 1.5 134320 30068 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20271 0.0 1.2 134332 23556 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20272 0.0 1.2 133548 23660 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20273 0.0 1.3 134732 25204 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20274 0.0 0.7 130952 15088 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20275 0.0 0.8 131776 16152 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20290 0.0 0.2 128104 5740 ? Ss 15:07 0:00 /usr/bin/php4-cgi
vu2090 20291 0.0 1.2 132624 23724 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20292 0.0 0.8 132132 16584 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20293 0.0 1.3 133432 25876 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20294 0.0 0.8 131116 15520 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20295 0.0 1.0 133596 20212 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20296 0.0 1.2 133456 23552 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20310 0.0 0.2 128108 5744 ? Ss 15:07 0:00 /usr/bin/php4-cgi
vu2090 20311 0.0 1.1 131200 22388 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20312 0.0 0.8 131536 15912 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20313 0.0 0.8 131380 15776 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20314 0.0 1.0 133004 21000 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20315 0.0 1.2 133252 23212 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20316 0.0 1.2 133456 24276 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20337 0.0 0.2 128108 5740 ? Ss 15:07 0:00 /usr/bin/php4-cgi
vu2090 20338 0.0 1.3 133516 26400 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20339 0.0 1.1 131476 22692 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20340 0.0 0.7 131272 14936 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20341 0.0 0.8 132252 15604 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20342 0.0 1.1 133288 22340 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2090 20343 0.0 1.0 133456 21212 ? S 15:07 0:00 /usr/bin/php4-cgi
vu2137 20423 0.0 0.2 128104 5740 ? Ss 15:08 0:00 /usr/bin/php4-cgi
vu2137 20424 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20425 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20426 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20427 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20428 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20429 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20430 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20431 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20432 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20433 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20453 0.0 0.2 128104 5740 ? Ss 15:08 0:00 /usr/bin/php4-cgi
vu2137 20454 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20455 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20456 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20457 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20458 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20459 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20460 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20461 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20462 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2137 20463 0.0 0.1 128104 2076 ? S 15:08 0:00 /usr/bin/php4-cgi
vu2016 21855 0.0 0.4 128844 7928 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21856 0.0 0.3 128656 7088 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21879 0.0 0.3 128812 7228 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21891 0.1 0.3 128664 7428 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21899 0.1 0.4 129040 7992 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21905 0.0 0.3 128624 6488 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21910 0.0 0.3 128648 7700 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21913 0.0 0.4 128972 7980 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21921 0.0 0.3 128768 6644 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2016 21925 0.0 0.3 128896 7144 ? S 15:19 0:00 /usr/bin/php4-cgi
vu2064 22174 0.2 0.2 128104 5740 ? Ss 15:21 0:00 /usr/bin/php4-cgi
vu2064 22175 0.5 0.3 129056 7008 ? S 15:21 0:00 /usr/bin/php4-cgi
vu2064 22176 0.0 0.1 128104 2076 ? S 15:21 0:00 /usr/bin/php4-cgi

i have lost one client over this issue already... i do not want to loose more...... if switching to php5.2. is better , i will but i cannot make php5 work as i mentioned above, nothing comes in teh logs, the browser just hangs.....Rob...



BeNe Wrote:
Code:
[Tue Feb 05 10:46:59 2008] [error] [client 66.249.66.84] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter"
oh the incomplete header prob Sad

Code:
#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/domain.com/php4/"

export PHPRC
PHP_FCGI_CHILDREN=8
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php4-cgi
So you already increase the PHP_FCGID_CHILDREN ?

Quote:why would it be that i can not force php5?
Should be no Problem! Only change the content from the php5-starter to the php4-starter.

Quote:site does not work at all and only shows a blank white page
Any Error logs about it ?

Do you have a high load average ?
Too many unkilled php process ? How many are running ?
Our Problem is still the every domain uses 5 Apache Logs.
And with your 200 Domains... Rolleyes

Greez BeNe
02-06-2008 06:23 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #22
RE: Possible to use mod_php instead of fast-cgi?
a "wc" for counting after the ps would be the nice way, but OK.
Try to switch to PHP5. I did not work with php4 and ispCP Rolleyes
Maybe someone else can give some info. But for the switch to php5.
Did you check the FAQ ? Of course or ?
-> http://www.isp-control.net/component/opt...iew/id,18/

Only a white site and no Error in the apachelog ?

Greez BeNe
02-06-2008 06:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #23
RE: Possible to use mod_php instead of fast-cgi?
Hehehe, sorry about the long ps, i thought you might want to see the actual processes... Smile

I just changed as a test site, my sons website...

#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/ryanmorin.com/php4/"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi

As you can see it says php5-cgi

i restarted apache2, now you can try yourself at http://www.ryanmorin.com
Smile His word press site, he is only 8 years old...
Smile

it just hangs.... and othing in the logs, howerver i will double check....

Thanks..

BeNe Wrote:a "wc" for counting after the ps would be the nice way, but OK.
Try to switch to PHP5. I did not work with php4 and ispCP Rolleyes
Maybe someone else can give some info. But for the switch to php5.
Did you check the FAQ ? Of course or ?
-> http://www.isp-control.net/component/opt...iew/id,18/

Only a white site and no Error in the apachelog ?

Greez BeNe
02-06-2008 06:55 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #24
RE: Possible to use mod_php instead of fast-cgi?
I was thinking , does there have to be anything in apache2 to make php5 work??

Smile
Rob..

robmorin Wrote:Hehehe, sorry about the long ps, i thought you might want to see the actual processes... Smile

I just changed as a test site, my sons website...

#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/ryanmorin.com/php4/"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi

As you can see it says php5-cgi

i restarted apache2, now you can try yourself at http://www.ryanmorin.com
Smile His word press site, he is only 8 years old...
Smile

it just hangs.... and othing in the logs, howerver i will double check....

Thanks..

BeNe Wrote:a "wc" for counting after the ps would be the nice way, but OK.
Try to switch to PHP5. I did not work with php4 and ispCP Rolleyes
Maybe someone else can give some info. But for the switch to php5.
Did you check the FAQ ? Of course or ?
-> http://www.isp-control.net/component/opt...iew/id,18/

Only a white site and no Error in the apachelog ?

Greez BeNe
02-06-2008 07:04 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #25
RE: Possible to use mod_php instead of fast-cgi?
O now i see an entry in the log i was not waiting long enough for the timeout...

[Tue Feb 05 16:01:22 2008] [error] [client 206.248.146.163] FastCGI: comm with (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec)
[Tue Feb 05 16:01:22 2008] [error] [client 206.248.146.163] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter"
[Tue Feb 05 16:04:07 2008] [error] [client 87.181.112.163] FastCGI: comm with (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.isp-control.net/forum/possibl...242-3.html
[Tue Feb 05 16:04:07 2008] [error] [client 87.181.112.163] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter", referer: http://www.isp-control.net/forum/possibl...242-3.html

robmorin Wrote:I was thinking , does there have to be anything in apache2 to make php5 work??

Smile
Rob..

robmorin Wrote:Hehehe, sorry about the long ps, i thought you might want to see the actual processes... Smile

I just changed as a test site, my sons website...

#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/ryanmorin.com/php4/"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi

As you can see it says php5-cgi

i restarted apache2, now you can try yourself at http://www.ryanmorin.com
Smile His word press site, he is only 8 years old...
Smile

it just hangs.... and othing in the logs, howerver i will double check....

Thanks..

BeNe Wrote:a "wc" for counting after the ps would be the nice way, but OK.
Try to switch to PHP5. I did not work with php4 and ispCP Rolleyes
Maybe someone else can give some info. But for the switch to php5.
Did you check the FAQ ? Of course or ?
-> http://www.isp-control.net/component/opt...iew/id,18/

Only a white site and no Error in the apachelog ?

Greez BeNe
02-06-2008 07:10 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #26
RE: Possible to use mod_php instead of fast-cgi?
And in teh error.log of apapch

[Tue Feb 05 16:12:07 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Tue Feb 05 16:12:07 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Tue Feb 05 16:12:07 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Tue Feb 05 16:12:08 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds


robmorin Wrote:O now i see an entry in the log i was not waiting long enough for the timeout...

[Tue Feb 05 16:01:22 2008] [error] [client 206.248.146.163] FastCGI: comm with (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec)
[Tue Feb 05 16:01:22 2008] [error] [client 206.248.146.163] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter"
[Tue Feb 05 16:04:07 2008] [error] [client 87.181.112.163] FastCGI: comm with (dynamic) server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.isp-control.net/forum/possibl...242-3.html
[Tue Feb 05 16:04:07 2008] [error] [client 87.181.112.163] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/ryanmorin.com/php4-fcgi-starter", referer: http://www.isp-control.net/forum/possibl...242-3.html

robmorin Wrote:I was thinking , does there have to be anything in apache2 to make php5 work??

Smile
Rob..

robmorin Wrote:Hehehe, sorry about the long ps, i thought you might want to see the actual processes... Smile

I just changed as a test site, my sons website...

#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/ryanmorin.com/php4/"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi

As you can see it says php5-cgi

i restarted apache2, now you can try yourself at http://www.ryanmorin.com
Smile His word press site, he is only 8 years old...
Smile

it just hangs.... and othing in the logs, howerver i will double check....

Thanks..

BeNe Wrote:a "wc" for counting after the ps would be the nice way, but OK.
Try to switch to PHP5. I did not work with php4 and ispCP Rolleyes
Maybe someone else can give some info. But for the switch to php5.
Did you check the FAQ ? Of course or ?
-> http://www.isp-control.net/component/opt...iew/id,18/

Only a white site and no Error in the apachelog ?

Greez BeNe
02-06-2008 07:12 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #27
RE: Possible to use mod_php instead of fast-cgi?
Ok, now we have an error entry. Looks like he can't start the fastcgi process an get an timeout. Wrong permissions ?
But i have no really solution - Sorry! Hope that somone else can help here.

Greez BeNe
02-06-2008 07:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #28
RE: Possible to use mod_php instead of fast-cgi?
Just an FYI, i fixed the problem with using php5 rather than php4 with respect to teh php4-fcgi-starter file, my eAccelerator was not compiled properly for php5 ... once i recompiled eAccelerator properly, php5 worked fine....

So now i will switch over the trouble sites and see if they still get those error 500's

Thanks...
Rob...

BeNe Wrote:Ok, now we have an error entry. Looks like he can't start the fastcgi process an get an timeout. Wrong permissions ?
But i have no really solution - Sorry! Hope that somone else can help here.

Greez BeNe
02-07-2008 07:15 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)