Need Help ISPCONFIG (mysql crashing)
I decided to set up another Linode 1024 and install ISPCONFIG on there. I notice all of the sites that has a mysql would display ERROR CONNECTING TO DATABASE FREQUENTLY….so I would have to restart the mysql on the SSH. Something it causing the Mysql server to crash. Can someone help me determine what the cause of this is? It ran just fine on the other Linode. The main difference is the ISPCONFIG…possibly taking up too much memory and crashing?
By looking at longview: avg memory that clamav utilizes is is 292MB….looks like I should be disabling that?
5 Replies
What OS are you using? What do the MySQL logs say? Also, ISPConfig should be monitoring your services during its cron run to see if they are running and restart them if they aren't. You can check that under System -> Server Config ->
What does 'free -m' show you on the command line?
You don't need ClamAV, SpamAssassin, or any other POP3/IMAP related software (such as Dovecot) if you don't plan to receive email at your server. You also can't afford running unnecessary programs on a small server like a Linode 1GB. Disable anything that isn't strictly necessary.
OS: Debian 8.1
__free -m shows:
total used free shared buffers cached
Mem: 987 852 135 131 12 254
-/+ buffers/cache: 585 402
Swap: 255 255 0__
So I've enabled service monitoring and restart on failure.
How do I view Mysql logs? I know it's located: /var/log/mysql.log
Spam assassin is disabled. I'm only running ClamAV (which looks like to be eating memory).
Each of my domains I like to catchall forward it to my google apps email.
1) Do I still need the email server setup just to catchall forward?
2) Or do I need to upgrade to the 2GB linode?
I appreciate your responses! Thank you!
If you're not really checking for spam before forwarding emails to your Google account, there might not be much point scanning for viruses, either. Either Google or your antivirus will probably let you know if you get an infected email. See if you can disable ClamAV and thereby save some $$.
If possible, just make all emails go directly to Google instead of through your server. I thought Google Apps supported doing that?
I subscribed to one domain and plan to forward the rest to it.
I think I'll disable ClamAV for now and see if that helps. Thanks.