mmm i did post already on a other place but i'm thinking that i have to post here..
Since i did update php 4.3.4 --> 4.3.5
and MySQL 4.0.16 --> 4.0.18
i have troubles with httpd.
my http-error.log
[Mon Apr 12 22:42:01 2004] [warn] child process 14266 still did not exit, sending a SIGTERM
[Mon Apr 12 22:42:05 2004] [crit] (98)Address already in use: make_sock: could not bind to port 8090
Who can help me... why does httpd stops...
I have really problems with it.
With that modifications 10 days ago we have solved "daily apache crash problem" on 2 our servers. Seems it's works without problems.
(I have found that solution at http://forum.plesk.com/showthread.php?s=&threadid=2409 and modified it a little.)
You can try to solve that promlem by modifying 'service apache restart' command to wait until all apache processes exit before starting server again.
Edit /etc/init.d/httpd and add following function to script:
wait_after_stop(){
count=${2:-30}
while [ 0$count -gt 0 ]
do
PIDS=`ps -C$prog --no-heading e | grep $httpd` || break
PIDS=`echo "$PIDS" | awk '{print $1}' | tr '\n' ' '`
echo Remaining processes: $PIDS
stop
sleep 2
count=`expr $count - 1`
done
if [ 0$count -eq 0 ];
then
echo Remaining processes: $PIDS
return 1
fi
return 0
}
Replace
with
With that modifications 10 days ago we have solved "daily apache crash problem" on 2 our servers. Seems it's works without problems.
(I have found that solution at http://forum.plesk.com/showthread.php?s=&threadid=2409 and modified it a little.)