Try the fastest and simplest way to install ONLYOFFICE

Bad configuration for monit/monoserve

Bad configuration for monit/monoserve

Postby bobleponge » Mon May 11, 2015 12:49 pm

Actually, monoserve can crash (does crash after a while on my system), but is not restarted because none of the trigger in monit's script file leads to a restart in that case.
The /etc/monit/conf.d/monoserve should read:
Code: Select all
check process monoserve
    matching "fastcgi-mono-server4"
    start program = "/etc/init.d/monoserve start" with timeout 60 seconds
    stop program  = "/etc/init.d/monoserve stop"
    if memory usage > 80% then restart
    if cpu > 80% for 5 cycles then restart
    if loadavg(5min) greater than 10 for 8 cycles then stop
    if failed host 127.0.0.1 port 8086 then restart
    if 5 restarts within 5 cycles then timeout

Last two lines will restart monoserve when it crashes.
bobleponge
 
Posts: 12
Joined: Wed May 06, 2015 1:20 pm

Re: Bad configuration for monit/monoserve

Postby AnaMih » Thu May 14, 2015 2:49 pm

We are sorry for the inconveniences. The issue like this is currently in the stage of testing. We are working to solve the problem. As soon as it is fixed, the bugfix will appear on our site. If you have any more information, please let us know.
User avatar
AnaMih
 
Posts: 264
Joined: Mon Aug 25, 2014 10:15 am


Return to Miscellaneous

Who is online

Users browsing this forum: Google [Bot] and 1 guest