SOLVED: Overactive monit eating my CPU time
Posted: Wed Mar 26, 2014 10:30 am
Hi,
I recently installed Amahi 7 on my HP Microserver (which was previously running a much older version perfectly well) I initially had some issues with the headless dvd install and my onboard network card - the device name wasn't eth0 and the whole process seemed to complete ok but be fundamentally broken.
I then reinstalled from a vanilla minimal Fedora install and installed Amahi on top of that, as outlined in the Wiki. all seems mostly ok now apart from an annoying problem:
I have installed a number of apps, including
Logitech Squeezeserver
Subsonic
Amahi VPN
CrashPlan
VNC
TimeMachine
They all seem to work fine. My problem is that monit thinks that isnt the case. It regularly eats 60% of my cpu whilst telling me the following
[GMT Mar 26 17:17:16] error : 'afpd' process is not running
[GMT Mar 26 17:17:16] info : 'afpd' trying to restart
[GMT Mar 26 17:17:16] info : 'afpd' start: /usr/bin/systemctl
[GMT Mar 26 17:17:46] error : 'afpd' failed to start
[GMT Mar 26 17:18:46] error : 'vncserver-4' process is not running
[GMT Mar 26 17:18:46] info : 'vncserver-4' trying to restart
[GMT Mar 26 17:18:46] info : 'vncserver-4' start: /usr/bin/systemctl
[GMT Mar 26 17:19:16] error : 'vncserver-4' failed to start
[GMT Mar 26 17:19:16] error : 'afpd' process is not running
[GMT Mar 26 17:19:16] info : 'afpd' trying to restart
[GMT Mar 26 17:19:16] info : 'afpd' start: /usr/bin/systemctl
[GMT Mar 26 17:19:46] error : 'afpd' failed to start
[GMT Mar 26 17:20:46] error : 'vncserver-4' process is not running
[GMT Mar 26 17:20:46] info : 'vncserver-4' trying to restart
[GMT Mar 26 17:20:46] info : 'vncserver-4' start: /usr/bin/systemctl
Both the failing checks are on PID files that dont actually exist - However the services they are checking seem to be working fine.
I wouldnt normally be too bothered, but monit is taking up a big chunk of my CPU too for some reason.
Any ideas whats up? Is this just a symptom of the Apps still being in beta and not writing their pid files to the right place?
I recently installed Amahi 7 on my HP Microserver (which was previously running a much older version perfectly well) I initially had some issues with the headless dvd install and my onboard network card - the device name wasn't eth0 and the whole process seemed to complete ok but be fundamentally broken.
I then reinstalled from a vanilla minimal Fedora install and installed Amahi on top of that, as outlined in the Wiki. all seems mostly ok now apart from an annoying problem:
I have installed a number of apps, including
Logitech Squeezeserver
Subsonic
Amahi VPN
CrashPlan
VNC
TimeMachine
They all seem to work fine. My problem is that monit thinks that isnt the case. It regularly eats 60% of my cpu whilst telling me the following
[GMT Mar 26 17:17:16] error : 'afpd' process is not running
[GMT Mar 26 17:17:16] info : 'afpd' trying to restart
[GMT Mar 26 17:17:16] info : 'afpd' start: /usr/bin/systemctl
[GMT Mar 26 17:17:46] error : 'afpd' failed to start
[GMT Mar 26 17:18:46] error : 'vncserver-4' process is not running
[GMT Mar 26 17:18:46] info : 'vncserver-4' trying to restart
[GMT Mar 26 17:18:46] info : 'vncserver-4' start: /usr/bin/systemctl
[GMT Mar 26 17:19:16] error : 'vncserver-4' failed to start
[GMT Mar 26 17:19:16] error : 'afpd' process is not running
[GMT Mar 26 17:19:16] info : 'afpd' trying to restart
[GMT Mar 26 17:19:16] info : 'afpd' start: /usr/bin/systemctl
[GMT Mar 26 17:19:46] error : 'afpd' failed to start
[GMT Mar 26 17:20:46] error : 'vncserver-4' process is not running
[GMT Mar 26 17:20:46] info : 'vncserver-4' trying to restart
[GMT Mar 26 17:20:46] info : 'vncserver-4' start: /usr/bin/systemctl
Both the failing checks are on PID files that dont actually exist - However the services they are checking seem to be working fine.
I wouldnt normally be too bothered, but monit is taking up a big chunk of my CPU too for some reason.
Any ideas whats up? Is this just a symptom of the Apps still being in beta and not writing their pid files to the right place?