[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Apache problem with monit
From: |
Ugo Bellavance |
Subject: |
RE: Apache problem with monit |
Date: |
Fri, 30 Apr 2004 07:55:37 -0400 |
>-----Message d'origine-----
>De : Eero Volotinen [mailto:address@hidden
>Envoyé : 30 avril, 2004 02:00
>À : address@hidden
>Objet : Apache problem with monit
>
>
>My system is running apache with high load ("usage") sometimes apache
>crashes and monit fails to start it. What is wrong?
>
>Monitrc:
>
> set daemon 700
> set logfile syslog facility log_daemon
> check process apache
> with pidfile "/var/run/httpd.pid"
> start program = "/etc/init.d/httpd start"
> stop program = "/etc/init.d/httpd stop"
> alert address@hidden
> if 10 restarts within 15 cycles then timeout
> if children > 255 for 5 cycles then stop
> if cpu usage > 95% for 3 cycles then restart
> if failed port 80 protocol http then restart
> group server
>
>
>Initscrips are standard redhat.
>
>It apache crashes what monit does? runs start program?
I think it will do a stop, then a start, which is basically what the restart
script does.
>What I
>should do,
> if I want to monit run /etc/init.d/httpd restart to start apache?
>
>--
>Eero
>
>
>--
>To unsubscribe:
>http://mail.nongnu.org/mailman/listinfo/monit-general
>