Multiple services restart on their own hours apart. Why?
Posted: Sun Jul 27, 2014 10:04 pm
Hi there,
I am new to running a fresh Vesta install with the services it brings, and I have proceeded far with hosting 3 small websites right now and their respective emails, etc.
I am curious, when I log into Vesta and click on Services, I notice that the uptime for many of the services seems to restart at together as it is far lower than the uptime of the system. I am not purposely rebooting any services, so what might be a cause I can look at? What files can I review that will assist in troubleshooting?
I've reviewed the messages log file for named as per the Vesta documentation, however it doesn't show any errors from my knowledge, just shows that it was told to "reload" the service and it does so successfully. I'm not seeing anything obvious that shows any problems.
I was also thinking memory because I see drastic changes in memory every couple of hours, but it never actually reaches the maximum (I have a 512 MB VPS) with a maximum used being 478 MB for today, with a minimum free of 12 MB. I have optimized MySQL for memory usage (was set to use up to ~400 MB and is now maxing at ~100 MB. Apache was also optimized for a low memory systems.
Copy of services and their values are below for your reference. Notice how many of the services share the same uptime. This uptime is low many times when I check throughout the day. Not sure why but they almost seem to not ever have an uptime of more than an couple hours.
running
<hostname>
CentOS 6.5 (x86_64)
LoadAverage: 0.01
Uptime: 20 hours
running
nginx
reverse proxy
CPU: 0%
Memory: 268 mb
Uptime: 10 minutes
running
httpd
web server
CPU: 2.5%
Memory: 3045 mb
Uptime: 10 minutes
running
named
dns server
CPU: 0%
Memory: 155 mb
Uptime: 20 minutes
running
exim
mail server
CPU: 0%
Memory: 91 mb
Uptime: 10 minutes
running
dovecot
pop/imap server
CPU: 0%
Memory: 18 mb
Uptime: 5 minutes
running
spamassassin
email antispam
CPU: 0%
Memory: 712 mb
Uptime: 10 minutes
running
mysqld
database server
CPU: 0%
Memory: 641 mb
Uptime: 10 minutes
running
vsftpd
ftp server
CPU: 0%
Memory: 51 mb
Uptime: 10 minutes
running
crond
job scheduler
CPU: 0%
Memory: 114 mb
Uptime: 10 minutes
I am new to running a fresh Vesta install with the services it brings, and I have proceeded far with hosting 3 small websites right now and their respective emails, etc.
I am curious, when I log into Vesta and click on Services, I notice that the uptime for many of the services seems to restart at together as it is far lower than the uptime of the system. I am not purposely rebooting any services, so what might be a cause I can look at? What files can I review that will assist in troubleshooting?
I've reviewed the messages log file for named as per the Vesta documentation, however it doesn't show any errors from my knowledge, just shows that it was told to "reload" the service and it does so successfully. I'm not seeing anything obvious that shows any problems.
I was also thinking memory because I see drastic changes in memory every couple of hours, but it never actually reaches the maximum (I have a 512 MB VPS) with a maximum used being 478 MB for today, with a minimum free of 12 MB. I have optimized MySQL for memory usage (was set to use up to ~400 MB and is now maxing at ~100 MB. Apache was also optimized for a low memory systems.
Copy of services and their values are below for your reference. Notice how many of the services share the same uptime. This uptime is low many times when I check throughout the day. Not sure why but they almost seem to not ever have an uptime of more than an couple hours.
running
<hostname>
CentOS 6.5 (x86_64)
LoadAverage: 0.01
Uptime: 20 hours
running
nginx
reverse proxy
CPU: 0%
Memory: 268 mb
Uptime: 10 minutes
running
httpd
web server
CPU: 2.5%
Memory: 3045 mb
Uptime: 10 minutes
running
named
dns server
CPU: 0%
Memory: 155 mb
Uptime: 20 minutes
running
exim
mail server
CPU: 0%
Memory: 91 mb
Uptime: 10 minutes
running
dovecot
pop/imap server
CPU: 0%
Memory: 18 mb
Uptime: 5 minutes
running
spamassassin
email antispam
CPU: 0%
Memory: 712 mb
Uptime: 10 minutes
running
mysqld
database server
CPU: 0%
Memory: 641 mb
Uptime: 10 minutes
running
vsftpd
ftp server
CPU: 0%
Memory: 51 mb
Uptime: 10 minutes
running
crond
job scheduler
CPU: 0%
Memory: 114 mb
Uptime: 10 minutes