Quantcast
Channel: MySQL Forums - Backup
Viewing all articles
Browse latest Browse all 537

Backup causing my server to crash, but not entirely... (1 reply)

$
0
0
Hello,

Every sunday at 3h30, I run :
mysqldump -pmonkeypoo -u root -e -q --single-transaction --master-data --all-databases > $file
gzip $file

Every 4 hours, I rsync the bin logs. I figure this way, if my database server crashes or something, I lose no more than 4 hours of data.

( comments criticizing my backup stratedgy are welcome :D )

The trouble is that when I do this, the server stops responding properly to some requests. Specifically, I am running a software called Kamailio. The Kamailio server either does not get responses to it's requests, or the responses are so slow Kamailio can't use them.

So, what commands/tools might I run to determine what exactly is going on? How can I determine what is happening to my database? What commands/tools can I use to get the information I need to determine the problem and resolve it?

The only way I have found to deal with this issue is by doing a restart :
/etc/init.d/mysql restart.

When I log onto my mysql server it says "Server version: 5.0.45-Debian_1ubuntu3.3-log Debian etch distribution". I realize I am running an old database, but it is not public, so I am less concerned.

Thanks for any help,

David

Viewing all articles
Browse latest Browse all 537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>