<?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: How we enabled threading in MySQL</title>
	<atom:link href="http://www.xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: LC</title>
		<link>http://www.xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/#comment-12886</link>
		<dc:creator>LC</dc:creator>
		<pubDate>Thu, 02 Aug 2007 22:54:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=196#comment-12886</guid>
		<description>Hi, I have a problem related to this subject . We use a linux VPS(Virtual Private Server) running CentOS 4.5 and mysqld 5.0.41 . When the VPS is restarted mysqld it&#039;s running at boot time with NPTL (threads donâ€™t have pid so they donâ€™t appear in top, &#039;ps aux&#039; and others, but you can see them using ps -eLf for example. We have only one mysqld process running). In this case, the server is running great, without any problems.
But mysqld is restarted (or I restart the VPS without starting mysqld at boot, start mysqld after the boot sequence was completed) , we&#039;ll have lots of mysqld processes, like using linuxthreads implementation (LinuxThreads has a hack to make threads visible as separated processes). In this LinuxThreads &#039;state&#039;, the mysqld server restart will fail(60 sec timeout while trying to do 
 /bin/kill -0 &quot;$MYSQLPID&quot;) . Also, the server will crush in the next 2 days.
I&#039;m not sure if it&#039;s a virtualization/kernel issue. 

GNU_LIBPTHREAD_VERSION-&gt;linuxthreads-0.10

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I have a problem related to this subject . We use a linux VPS(Virtual Private Server) running CentOS 4.5 and mysqld 5.0.41 . When the VPS is restarted mysqld it&#8217;s running at boot time with NPTL (threads donâ€™t have pid so they donâ€™t appear in top, &#8216;ps aux&#8217; and others, but you can see them using ps -eLf for example. We have only one mysqld process running). In this case, the server is running great, without any problems.<br />
But mysqld is restarted (or I restart the VPS without starting mysqld at boot, start mysqld after the boot sequence was completed) , we&#8217;ll have lots of mysqld processes, like using linuxthreads implementation (LinuxThreads has a hack to make threads visible as separated processes). In this LinuxThreads &#8216;state&#8217;, the mysqld server restart will fail(60 sec timeout while trying to do<br />
 /bin/kill -0 &#8220;$MYSQLPID&#8221;) . Also, the server will crush in the next 2 days.<br />
I&#8217;m not sure if it&#8217;s a virtualization/kernel issue. </p>
<p>GNU_LIBPTHREAD_VERSION-&gt;linuxthreads-0.10</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/#comment-3926</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Tue, 06 Feb 2007 13:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=196#comment-3926</guid>
		<description>&lt;p&gt;Yes, the H key toggles showing NPTL threads in top.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Yes, the H key toggles showing NPTL threads in top.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/#comment-3908</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Mon, 05 Feb 2007 16:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=196#comment-3908</guid>
		<description>&lt;p&gt;Wow; thanks a bunch. I&#039;ve been wrecking my brain on this problem for months! I had a hunch it had something to do with different library implementations. But now I understand my ps output is normal on my machine, because my machine use NPTL instead of LinuxThreads.
But from what I understand you rebuild glibc and now your top/ps output _does_ show the threads _with_ NPTL? This doesn&#039;t make sense; since you stated one of the things with NPTL is that it doesn&#039;t come up in ps/top?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Wow; thanks a bunch. I&#8217;ve been wrecking my brain on this problem for months! I had a hunch it had something to do with different library implementations. But now I understand my ps output is normal on my machine, because my machine use NPTL instead of LinuxThreads.<br />
But from what I understand you rebuild glibc and now your top/ps output _does_ show the threads _with_ NPTL? This doesn&#8217;t make sense; since you stated one of the things with NPTL is that it doesn&#8217;t come up in ps/top?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benedetto</title>
		<link>http://www.xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/#comment-1234</link>
		<dc:creator>Benedetto</dc:creator>
		<pubDate>Wed, 26 Jul 2006 11:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=196#comment-1234</guid>
		<description>&lt;p&gt;Hi, thank you all, I have few servers and on just one of them I see only one process under TOP, I was scared that  my mysql installation was screwed, instead probably it&#039;s just that on this machine I have a different kernel,2.6, and is  showing one process as it should.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi, thank you all, I have few servers and on just one of them I see only one process under TOP, I was scared that  my mysql installation was screwed, instead probably it&#8217;s just that on this machine I have a different kernel,2.6, and is  showing one process as it should.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/07/16/how-we-enabled-threading-in-mysql/#comment-1146</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Thu, 20 Jul 2006 01:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=196#comment-1146</guid>
		<description>&lt;p&gt;Wow, thanks everyone for writing!  I am learning a ton now that more people are reading and commenting (I am not that experienced myself).  Our CPU utilization certainly went down after we got switched to NPTL, but it must just be that NPTL is more efficient than linuxthreads.&lt;/p&gt;

&lt;p&gt;Sorry for the delay in moderating, I was in Turkey for a week!&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Wow, thanks everyone for writing!  I am learning a ton now that more people are reading and commenting (I am not that experienced myself).  Our CPU utilization certainly went down after we got switched to NPTL, but it must just be that NPTL is more efficient than linuxthreads.</p>
<p>Sorry for the delay in moderating, I was in Turkey for a week!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

