<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://help.openclovis.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://help.openclovis.com/index.php?action=history&amp;feed=atom&amp;title=AmsDbXMLPrint_timeout</id>
		<title>AmsDbXMLPrint timeout - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://help.openclovis.com/index.php?action=history&amp;feed=atom&amp;title=AmsDbXMLPrint_timeout"/>
		<link rel="alternate" type="text/html" href="https://help.openclovis.com/index.php?title=AmsDbXMLPrint_timeout&amp;action=history"/>
		<updated>2026-06-15T02:01:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>https://help.openclovis.com/index.php?title=AmsDbXMLPrint_timeout&amp;diff=24176&amp;oldid=prev</id>
		<title>Stone: safplus_console amsdbxmlprint timeout, safplus_info forest timeout</title>
		<link rel="alternate" type="text/html" href="https://help.openclovis.com/index.php?title=AmsDbXMLPrint_timeout&amp;diff=24176&amp;oldid=prev"/>
				<updated>2013-03-28T16:10:31Z</updated>
		
		<summary type="html">&lt;p&gt;safplus_console amsdbxmlprint timeout, safplus_info forest timeout&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Symptom Statement==&lt;br /&gt;
&lt;br /&gt;
*The safplus_console command &amp;quot;amsdbxmlprint console&amp;quot; can hang.&lt;br /&gt;
*The safplus_info command &amp;quot;forest&amp;quot; times out.&lt;br /&gt;
&lt;br /&gt;
==Diagnosis==&lt;br /&gt;
&lt;br /&gt;
These commands can timeout if the rmem_default/max buffer in the kernel gets exceeded which results in packet drops.  This will happen with a large model since the amsdbxmlprint command dumps the entire cluster configuration as XML data.  If the &amp;quot;console&amp;quot; modifier is removed, the command should work since it dumps into file on the controller.&lt;br /&gt;
The default rmem_default/max is around 128k.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increase the rmem defaults through a proc write:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo 10000000 &amp;gt; /proc/sys/net/core/rmem_default&lt;br /&gt;
echo 10000000 &amp;gt; /proc/sys/net/core/rmem_max&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now try the amsdbxmlprint console command and see it work.  Of course, the cluster has to be up with SAFplus running.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Make it persistent across reboots with a /etc/sysctl.conf entry:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
net.core.rmem_default = 10000000&lt;br /&gt;
net.core.rmem_max = 10000000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Stone</name></author>	</entry>

	</feed>