<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hundreds of XAPI processes]]></title><description><![CDATA[<p dir="auto">Hi there!</p>
<p dir="auto">I have an issue with my homelab 8.2.1 host.  This is a very modest machine; an i7-3770k with 32G of RAM, 4T of RAID10 and a 128G RAID1 boot disk.</p>
<p dir="auto">My machine occasionally (perhaps every 3-4 months) will go crazy with hundreds of spawned /opt/xensource/bin/xapi processes.  They have chewed up all the RAM on dom0.  The box is crawling because it's in swap now.</p>
<p dir="auto">Is there a way to safely restart the xapi processes without a full host reboot?</p>
<p dir="auto">(And I have a confession to make: because I have so little RAM...32G is the max for this chipset...I have tweaked the RAM on dom0 down to 1.5G.  Again, home lab....not production.)</p>
]]></description><link>https://xcp-ng.org/forum/topic/6495/hundreds-of-xapi-processes</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 00:31:56 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/6495.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Oct 2022 20:26:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hundreds of XAPI processes on Mon, 31 Oct 2022 22:15:26 GMT]]></title><description><![CDATA[<p dir="auto">You could maybe raise the memory a bit, but yeah, the software RAID thing might hurt more than anything else <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
<p dir="auto">Maybe switch to full soft RAID with mdadm, that might be better <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/54337</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/54337</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 31 Oct 2022 22:15:26 GMT</pubDate></item><item><title><![CDATA[Reply to Hundreds of XAPI processes on Mon, 31 Oct 2022 21:34:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> I tried restarting the toolstack, but it never came back.  I killed all the cron processes, leaving hundreds of the associated dead "sadc" processes .</p>
<p dir="auto">Not wanting to end up breaking something with the big hammer, I ended up simply having to reboot.  That box runs my main workstation and my firewall for the house, so the natives were getting restless.  Everything came back up just fine.</p>
<p dir="auto">Not sure what happened there.  The first indication that something was wrong was that the Marvell RAID software I installed for my cheap RAID controller (<a href="https://xcp-ng.org/forum/topic/6046/how-safe-recommended-is-it-to-install-third-party-software-in-dom0?_=1667251748143">as seen in this thread</a>) had spawned hundreds of apache processes.</p>
<p dir="auto">At this point, I'm going to chalk it up to the box simply running out of RAM, and guessing that it was that RAID card software.</p>
<p dir="auto">I appreciate you guys being available in-person in the support forums for freeloaders like me.</p>
]]></description><link>https://xcp-ng.org/forum/post/54335</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/54335</guid><dc:creator><![CDATA[BrantleyHobbs]]></dc:creator><pubDate>Mon, 31 Oct 2022 21:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to Hundreds of XAPI processes on Mon, 31 Oct 2022 20:42:31 GMT]]></title><description><![CDATA[<p dir="auto">Do a toolstack restart, it's safe for your running VMs <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">It might be interesting to crawl the logs to understand what's going on.</p>
]]></description><link>https://xcp-ng.org/forum/post/54331</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/54331</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 31 Oct 2022 20:42:31 GMT</pubDate></item><item><title><![CDATA[Reply to Hundreds of XAPI processes on Mon, 31 Oct 2022 20:40:50 GMT]]></title><description><![CDATA[<p dir="auto">Hmm.  Also hundreds of /usr/sbin/CROND processes running "/usr/lib64/sa/sadc -F _L -S DISK 1 1 -".</p>
<p dir="auto">Something is up with this box.</p>
]]></description><link>https://xcp-ng.org/forum/post/54328</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/54328</guid><dc:creator><![CDATA[BrantleyHobbs]]></dc:creator><pubDate>Mon, 31 Oct 2022 20:40:50 GMT</pubDate></item></channel></rss>