Thursday Night

Paul Betts’s personal website / blog / what-have-you

Ubuntu mounting /var/run in RAM causes MySQL death

Warning: apparently, Ubuntu decided to mount /var/run as a ramdisk, so if you run MySQL on it, eventually your transaction log (or something stored in /var/run/mysql) will grow so big that it will exhaust /var/run. The result of this is, your MySQL will seize up and die and your website will be unavailable.

However, now that I’ve rigged /var/run to be on disk, I don’t know what the result of holding around all these files will be either, so I may be hosed either way. Thoughts? Comments?

Written by Paul Betts

October 22nd, 2007 at 4:33 pm

Posted in Linux