<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yan Pritzker &#187; database</title>
	<atom:link href="http://yanpritzker.com/category/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://yanpritzker.com</link>
	<description>photographer, entrepreneur, software engineer, musician, skier</description>
	<lastBuildDate>Sat, 21 Jan 2012 01:18:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<atom:link rel="next" href="http://yanpritzker.com/category/database/feed/?page=2" />

		<item>
		<title>Does Mysql really need occasional restarts?</title>
		<link>http://yanpritzker.com/2008/04/25/does-mysql-really-need-occasional-restarts/</link>
		<comments>http://yanpritzker.com/2008/04/25/does-mysql-really-need-occasional-restarts/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 16:43:06 +0000</pubDate>
		<dc:creator>yan</dc:creator>
				<category><![CDATA[bluehost]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://skwpspace.com/2008/04/25/does-mysql-really-need-occasional-restarts/</guid>
		<description><![CDATA[You may have seen my blog occasionally go down due to database problems. I have been constantly on email and phone with bluehost support to try to figure this out. The responses I&#8217;ve gotten always seem completely ignorant of bigger issues. Ranging from &#8220;we didn&#8217;t see a problem&#8221; to &#8220;we killed the threads so everything [...]]]></description>
			<content:encoded><![CDATA[<p>You may have seen my blog occasionally go down due to database problems. I have been constantly on email and phone with bluehost support to try to figure this out. The responses I&#8217;ve gotten always seem completely ignorant of bigger issues. Ranging from &#8220;we didn&#8217;t see a problem&#8221; to &#8220;we killed the threads so everything should be fine now&#8221;. The last time it happened, I was online at the time and literally saw some reaper scripts fire up and nuke the Mysql server and cause it to restart. So I decided to investigate why this was happening with support.</p>
<p>After about a round of ten emails, I got escalated to level 3 support and got the best &#8220;<a href="http://alunthomasevans.blogspot.com/2007/10/old-microsoft-joke.html">you&#8217;re in a helicopter</a>&#8221; response ever: I asked why they have scripts that run that kill and restart mysql after I caught this happening during a time when my blog was down. The answer: &#8220;When there are problems with mysql the server will try to restart it&#8230;&#8221;. Uh, really? </p>
<p>Now maybe I&#8217;m crazy here, but can I get a show of hands of people who have such problems with their Mysql that they have to regularly restart it? In my experience, it&#8217;s possible to run a properly configured database instance with nearly infinite uptime. So, are they royally screwing something up? Or is this really just a downside of running a database for tons of clients who may be doing bad things to it?</p>
<p><strong>Update:</strong> bluehost has admitted the problem is not from my account. They have a connection limit of 20 connections for Mysql for <em>all accounts on the server</em>. That it took me ten emails to have them admit they&#8217;re overselling capacity is downright unacceptable. And I&#8217;ve been fighting this battle with them for more than two months now. I asked them time and time again to admit they&#8217;re overselling and to fix the problem by reducing load on the server, but no one would so much as even answer my question, every time implying that it was my php scripts (a standard wordpress installation, using caching, and on low traffic with less than 5 php fastcgi instances) causing the problem. Now they&#8217;re offering to migrate me to another server, clearly again band-aiding the problem instead of addressing the core of the problem.</p>
<p>From bluehost support:<br />
<blockquote>&#8220;When you get the error that mysql is out of connections that means mysql connections on your server have backed up to the point to where the connections are maxed.  Not necessarily from your account, but the server as a whole.  We don&#8217;t think a restart is the answer to the problem, however often times stopping mysql, running a repair to fix any corrupt tables then restarting will often times clear out the cause of the problem.&#8221;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://yanpritzker.com/2008/04/25/does-mysql-really-need-occasional-restarts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

