Connecting and Memory Problems
Turn off keepalive or lower the timeout
Take a look at the configs for mysql on "small" systems, if your traffic allows, /usr/share/mysql/my-small.cnf
using top/htop should help you pin down what exactly is eating all your ram
I'm sorry. I have no idea what those things are and how to toggle them. Do you have any sites or anything where I can read up on them?
You can find the php config at /etc/php5/apache2/php.ini you'll find the option memory_limit in there.
output of top/htop would be handy to actually pin point what is eating your ram. Everything i've said so far is just assumption that your using apache and thats what is eating the ram (which is the likely cause if you are using apache)
Unfortunately, I'm still have problems with the 'Connection Refused' pop up. Any ideas?
ps aux | grep ssh
If thats running, check its actually listening properly.```` netstat -tapn | grep 22
Or w/e port you have ssh running on.
If its listening, check your firewall, syslogs, etc. for any errors
If there's a firewall setup wherever you're connecting from, make sure it allows connections through whichever port you run sshd on (default is port 22).
If you've tried configuring iptables, check that too, ensure it allows incoming connections on your sshd port.