<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ubuntu mounting /var/run in RAM causes MySQL death</title>
	<atom:link href="http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/</link>
	<description>Paul Betts's personal website / blog / what-have-you</description>
	<lastBuildDate>Wed, 26 May 2010 09:57:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Paul Betts</title>
		<link>http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/comment-page-1/#comment-6980</link>
		<dc:creator>Paul Betts</dc:creator>
		<pubDate>Tue, 05 Feb 2008 17:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/#comment-6980</guid>
		<description>@ronald: The reason is, /var/run holds the pids of all the running services, so mounting /var/run in RAM lets you avoid &quot;server didn&#039;t terminate properly, so initscripts still thinks it&#039;s running&quot;. There&#039;s got to be a better way to do this though...</description>
		<content:encoded><![CDATA[<p>@ronald: The reason is, /var/run holds the pids of all the running services, so mounting /var/run in RAM lets you avoid &#8220;server didn&#8217;t terminate properly, so initscripts still thinks it&#8217;s running&#8221;. There&#8217;s got to be a better way to do this though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Pottol</title>
		<link>http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/comment-page-1/#comment-6797</link>
		<dc:creator>Ronald Pottol</dc:creator>
		<pubDate>Mon, 28 Jan 2008 03:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/#comment-6797</guid>
		<description>That just seems wrong, I expect everything under /var to persist across reboots, and I expect /tmp to go byebye (I think solaris is right to mount it in ram).</description>
		<content:encoded><![CDATA[<p>That just seems wrong, I expect everything under /var to persist across reboots, and I expect /tmp to go byebye (I think solaris is right to mount it in ram).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thorns</title>
		<link>http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/comment-page-1/#comment-4923</link>
		<dc:creator>Thorns</dc:creator>
		<pubDate>Tue, 23 Oct 2007 17:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2007/10/22/ubuntu-mounting-varrun-in-ram-causes-mysql-death/#comment-4923</guid>
		<description>Filesystem Size Used Avail Use% Mounted on
varrun 506M 176K 506M 1% /var/run

And I run MySQL like so:
 5032 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe
 5072 ?        Sl     0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock

(K)Ubuntu of course. My idea is that you configure MySQL to store logs somewhere else.

/etc/mysql/my.cnf : log_bin                 = /var/log/mysql/mysql-bin.log
Change it if you want.</description>
		<content:encoded><![CDATA[<p>Filesystem Size Used Avail Use% Mounted on<br />
varrun 506M 176K 506M 1% /var/run</p>
<p>And I run MySQL like so:<br />
 5032 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe<br />
 5072 ?        Sl     0:00 /usr/sbin/mysqld &#8211;basedir=/usr &#8211;datadir=/var/lib/mysql &#8211;user=mysql &#8211;pid-file=/var/run/mysqld/mysqld.pid &#8211;skip-external-locking &#8211;port=3306 &#8211;socket=/var/run/mysqld/mysqld.sock</p>
<p>(K)Ubuntu of course. My idea is that you configure MySQL to store logs somewhere else.</p>
<p>/etc/mysql/my.cnf : log_bin                 = /var/log/mysql/mysql-bin.log<br />
Change it if you want.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

