My problem is that I use Ubuntu Hardy and have no plans to change it. It is working smoothly on my server for the past 6 months. For database I use Apache MySQL and recently it crashes almost after every 2 days or you can say randomly. When I try to access my wordpress blog, it gives error such as 'Database connection failed'.
This is what my apache error logs say before the database started going down:
[Tue Jun 30 19:22:47 2009] [error] [client 202.179.95.2] request failed: error reading the headers
[Tue Jun 30 20:13:20 2009] [error] [client 174.143.26.108] WordPress database error Table 'addictivetips.wpau_upgrade_log' doesn't exist for query DESCRIBE wpau_upgrade_log made by do_action_ref_array, call_user_func_array, wpdbBackup->cron_backup, wpdbBackup->db_backup, wpdbBackup->backup_table
[Tue Jun 30 21:09:18 2009] [error] [client 78.105.130.78] Invalid URI in request HTTP/1.1 200 OK
[Tue Jun 30 21:09:18 2009] [error] [client 78.105.130.78] Invalid URI in request HTTP/1.1 400 Bad Request
My question now is, why exactly does a database go down, just why? It seems like database can't scale itself. Secondly, does it have anything to do with the OS I use, in my case it is Hardy? I think the answer of later is NO.
For those who will recommend that I should increase the settings of my database, I have to say that my friend's blog has the same setup and can handle 25,000 uniques daily while mine is crashing with 7,000 uniques only. Any idea?
PS... I have kind of lost hope, so if anybody can help me out that would be great!
Bookmarks