Apache keep stop working after few hours on 2gb VPS . Plz help
i got a 2gb ram droplet. it running ubuntu 12.10
i installed wordpress MU on this vps
the droplet usually crash after every few hours now. i tried to tuning Apache config but still not help.
I Tried add 2gb and 4gb swap but still not help. use memcache, wordpress super cache, even used cloudflare CDN to help save bandwith and load but it still cannot works well.
My sites haven’t got much traffic. only 6000 pageviews/ day from 5k/visitor.
I’m not understand how to solve this issue. Here is my apache config and mysql config:
MySQL fine tune:
* Fine Tuning
keybuffer = 32M
maxallowedpacket = 4M
threadstack = 256K
threadcachesize = 4M
This replaces the startup script and checks MyISAM tables if needed
the first time they are touched
myisam-recover = BACKUP
max_connections = 50
table_cache = 256
thread_concurrency = 10
* Query Cache Configuration
querycachelimit = 8M
querycachesize = 8M
maxallowedpacket = 32M
no-auto-rehash # faster start of mysql but no tab completition
key_buffer = 32M
if you know how to fix it, please help me. Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.