Forum archive
tklbam-backup stalling during MySQL portion
(I originally posted this on ServerFault but thought I'd post it here as well. Here's the original: http://serverfault.com/questions/747662/tklbam-backup-stalling-causing-mysql-issues)
It appears that tklbam-restore causing my MySQL server to become inaccessible. I manually ran a backup and noticed that as soon as it got to the DB phase of the process, my Wordpress servers could no longer access MySQL. The backup process seems to be stuck at one of my DB tables. Here's the last few lines:
table: trendsandteens/wp_wfNet404s table: trendsandteens/wp_wfReverseCache table: trendsandteens/wp_wfScanners table: trendsandteens/wp_wfStatus table: trendsandteens/wp_wfThrottleLog table: trendsandteens/wp_wfVulnScanners
It's just backing up Wordfence's tables. So I'm not really sure what the issue is... Any ideas? Here is the traceback after I interrupted the process: http://pastebin.com/QV63cBPG
There's more info in the original ServerFault post, but I didn't think it was relevant for this forum.
If you are using Amazon, are you using a micro server? If so I'd almost guarantee that's the issue. Micro servers don't have much grunt and the little extra load that TKLBAM imposes can push them over the edge.
But after reading through your ServerFault post it seems that you have already checked that. Is that the case? Is MySQL still running? Or has it died?
Looking at the TKLBAM trace it appears that it is crashing when opening a file. One of the causes of that can be lack of free RAM.
One other thing that comes to mind; is that if a backup is interrupted, TKLBAM will try to continue from where it was up to. If there is something corrupted then perhaps that is causing the issue. And each time it tries again the same corrupt file causes it to crash... TBH I'm only guessing but seems possible.