<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Troubleshooting kded4 Bugs</title>
	<atom:link href="http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Dec 2012 14:19:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: David Howells</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-400</link>
		<dc:creator><![CDATA[David Howells]]></dc:creator>
		<pubDate>Wed, 31 Oct 2012 13:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-400</guid>
		<description><![CDATA[I&#039;ve seen those, thanks, though I&#039;m not sure how applicable they are since this is my desktop and I don&#039;t suspend/resume it and the power management settings are all off.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen those, thanks, though I&#8217;m not sure how applicable they are since this is my desktop and I don&#8217;t suspend/resume it and the power management settings are all off.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kdepepo</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-399</link>
		<dc:creator><![CDATA[kdepepo]]></dc:creator>
		<pubDate>Wed, 31 Oct 2012 12:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-399</guid>
		<description><![CDATA[David, you probably need to run kded4 with &quot;--nofork&quot; argument to make it appear in valgrind. Make sure it is not already running. Thanks for help with debugging it, but see also bugs 294497 and 306206.]]></description>
		<content:encoded><![CDATA[<p>David, you probably need to run kded4 with &#8220;&#8211;nofork&#8221; argument to make it appear in valgrind. Make sure it is not already running. Thanks for help with debugging it, but see also bugs 294497 and 306206.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Howells</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-398</link>
		<dc:creator><![CDATA[David Howells]]></dc:creator>
		<pubDate>Wed, 31 Oct 2012 10:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-398</guid>
		<description><![CDATA[Can you add a bit on how to valgrind kded4?  I&#039;m seeing kded4 gradually eating all my RAM, and if I could start it under valgrind, I could probably locate the problem fairly quickly.]]></description>
		<content:encoded><![CDATA[<p>Can you add a bit on how to valgrind kded4?  I&#8217;m seeing kded4 gradually eating all my RAM, and if I could start it under valgrind, I could probably locate the problem fairly quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hamelg</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-267</link>
		<dc:creator><![CDATA[hamelg]]></dc:creator>
		<pubDate>Sun, 05 Jun 2011 17:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-267</guid>
		<description><![CDATA[Here, kdebugdialog helped me to find out a workaround.
When logging out my kde session, kded4 never terminates.
I enabled debug messages for kded with kdebugdialog and saw this message at logging out :
startkde: Done.
kded(25301) ObexFtpDaemon::offlineMode: Offline mode
kded4: Fatal IO error: client killed
kded(25301) LircClient::~LircClient: deleting theSocket

To fix that, I put a &quot;sleep 1&quot; in my shutdown script in .kde4/shutdown directory.]]></description>
		<content:encoded><![CDATA[<p>Here, kdebugdialog helped me to find out a workaround.<br />
When logging out my kde session, kded4 never terminates.<br />
I enabled debug messages for kded with kdebugdialog and saw this message at logging out :<br />
startkde: Done.<br />
kded(25301) ObexFtpDaemon::offlineMode: Offline mode<br />
kded4: Fatal IO error: client killed<br />
kded(25301) LircClient::~LircClient: deleting theSocket</p>
<p>To fix that, I put a &#8220;sleep 1&#8243; in my shutdown script in .kde4/shutdown directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karellen</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-260</link>
		<dc:creator><![CDATA[Karellen]]></dc:creator>
		<pubDate>Mon, 16 May 2011 13:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-260</guid>
		<description><![CDATA[Actually @anon, you might be better off switching to a real console and attaching to kded4 with gdb. That way you could pause it and check the stack a number of times, and also inspect the loop that it&#039;s in, and dump memory if required.]]></description>
		<content:encoded><![CDATA[<p>Actually @anon, you might be better off switching to a real console and attaching to kded4 with gdb. That way you could pause it and check the stack a number of times, and also inspect the loop that it&#8217;s in, and dump memory if required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon too</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-259</link>
		<dc:creator><![CDATA[anon too]]></dc:creator>
		<pubDate>Mon, 16 May 2011 09:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-259</guid>
		<description><![CDATA[Small trick when you have a process using CPU for no good reason:

Enable core dumps, and then &quot;kill -SEGV&quot; the offender. Save the dump, and analyse it later. At the very least, you&#039;re likely to get a backtrace going through the problematic code.]]></description>
		<content:encoded><![CDATA[<p>Small trick when you have a process using CPU for no good reason:</p>
<p>Enable core dumps, and then &#8220;kill -SEGV&#8221; the offender. Save the dump, and analyse it later. At the very least, you&#8217;re likely to get a backtrace going through the problematic code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Achim Bohnet</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-252</link>
		<dc:creator><![CDATA[Achim Bohnet]]></dc:creator>
		<pubDate>Thu, 12 May 2011 14:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-252</guid>
		<description><![CDATA[Thx for the description of kded4 bug hunting.

But it unfortunately confirms me in my impression and experience that kded4 bug hunting is &#039;too time consuming&#039;  :(   I&#039;ve more or less given up (shame on me) and try if  logout/in or reboot fixes kde4d.   This has the bad taste of  &#039;like-windows&#039; but it works :(

IMHO it&#039;s necessary to improve either robustness of the kde4d system (e.g. kdeinit+forking) or via and/or add debug helpers, to e.g. top
like interface that show module: wake ups/sec and % cpu or maybe a use SIGUSR1 that prints out currently running module.]]></description>
		<content:encoded><![CDATA[<p>Thx for the description of kded4 bug hunting.</p>
<p>But it unfortunately confirms me in my impression and experience that kded4 bug hunting is &#8216;too time consuming&#8217;  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />    I&#8217;ve more or less given up (shame on me) and try if  logout/in or reboot fixes kde4d.   This has the bad taste of  &#8216;like-windows&#8217; but it works <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>IMHO it&#8217;s necessary to improve either robustness of the kde4d system (e.g. kdeinit+forking) or via and/or add debug helpers, to e.g. top<br />
like interface that show module: wake ups/sec and % cpu or maybe a use SIGUSR1 that prints out currently running module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbernardo</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-250</link>
		<dc:creator><![CDATA[jbernardo]]></dc:creator>
		<pubDate>Thu, 12 May 2011 04:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-250</guid>
		<description><![CDATA[@kdepepo In the end I had to edit /usr/share/kde4/services/kded/networkstatus.desktop and set X-KDE-Kded-autoload=false and  X-KDE-Kded-load-on-demand=false to get kded4 not to hang with 100% cpu on vpn or broadband disconnection, just stopping and disabling the startup services wasn&#039;t enough, the module would still get loaded making it impossible to pinpoint the &quot;culprit&quot;. Seems like this is one of the modules that keeps auto-loading even if disabled in the startup services.
Thanks for the guide, lets see now if I can add anything to the bug reports.]]></description>
		<content:encoded><![CDATA[<p>@kdepepo In the end I had to edit /usr/share/kde4/services/kded/networkstatus.desktop and set X-KDE-Kded-autoload=false and  X-KDE-Kded-load-on-demand=false to get kded4 not to hang with 100% cpu on vpn or broadband disconnection, just stopping and disabling the startup services wasn&#8217;t enough, the module would still get loaded making it impossible to pinpoint the &#8220;culprit&#8221;. Seems like this is one of the modules that keeps auto-loading even if disabled in the startup services.<br />
Thanks for the guide, lets see now if I can add anything to the bug reports.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-249</link>
		<dc:creator><![CDATA[anon]]></dc:creator>
		<pubDate>Wed, 11 May 2011 21:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-249</guid>
		<description><![CDATA[@Ami

I guess on a desktop it&#039;s a &quot;worthy tradeoff&quot;. But remember, KDE does *not* run on simply one platform.

And having &quot;modules per process&quot; would be a shitload of work for what payoff? Then those codepaths would have to be maintained, no less...

Doesn&#039;t make sense, imo.]]></description>
		<content:encoded><![CDATA[<p>@Ami</p>
<p>I guess on a desktop it&#8217;s a &#8220;worthy tradeoff&#8221;. But remember, KDE does *not* run on simply one platform.</p>
<p>And having &#8220;modules per process&#8221; would be a shitload of work for what payoff? Then those codepaths would have to be maintained, no less&#8230;</p>
<p>Doesn&#8217;t make sense, imo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ami</title>
		<link>http://kdepepo.wordpress.com/2011/05/11/troubleshooting-kded4-bugs/#comment-247</link>
		<dc:creator><![CDATA[Ami]]></dc:creator>
		<pubDate>Wed, 11 May 2011 12:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://kdepepo.wordpress.com/?p=215#comment-247</guid>
		<description><![CDATA[@kdepepo, 50MB is a lot of memory, nevertheless for a desktop/laptop system with &gt; 2GB RAM, 50MB is a worthy tradeoff for a seperate process mode like @Karellen suggested. I prefer having less memory but being able to hunt down and stop problematic Kded components.

Do you think it would be possible to have a module-per-process model (even for debug/testing purposes)?]]></description>
		<content:encoded><![CDATA[<p>@kdepepo, 50MB is a lot of memory, nevertheless for a desktop/laptop system with &gt; 2GB RAM, 50MB is a worthy tradeoff for a seperate process mode like @Karellen suggested. I prefer having less memory but being able to hunt down and stop problematic Kded components.</p>
<p>Do you think it would be possible to have a module-per-process model (even for debug/testing purposes)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
