Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49211

MySQL Binary Logs of Death

$
0
0

I'm running a high traffic Drupal site and having trouble with large MySQL binary logs being created (up to 1Gb every ~30mins at peak times). MySQL server disk space gets filled up before logs can rotate so the site falls over.

The site is multi-lingual, with normal-mode page caching enabled. I wondered whether any other High Performance Drupal ninjas had any experience with such problems. Any help or insight much appreciated.

I've implemented a belt-and-braces cron job to purge the binary logs older than X time, which will keep us going for the time being. If necessary I will turn off the MySQL binary logs completely, but I'm reluctant to do that since we'll have to put in place some other procedures to protect us against db failure.

The problems seem to be similar to those outlined on the Agaric Design blog - http://agaricdesign.com/note/mysql-binary-logs-death - but there is no definite solution on offer there, other than turning off the log-bin.

Site set-up:

  • Ubuntu 7.10 Gutsy Gibbon
  • Drupal 5.7
  • Apache/2.2.4 (Ubuntu)
  • PHP/5.2.3-1ubuntu6.3

Viewing all articles
Browse latest Browse all 49211

Trending Articles