<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[SMTP service stops to work with an error like "smtp/tcp server failing (looping), service terminated" in /var/log/messages.]]></title>
<link>http://kb.parallels.com/en/1470</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">SMTP service stops to work with an error like "smtp/tcp server failing (looping), service terminated" in /var/log/messages.</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1470&nbsp;</div>
					<div>Last Review: Feb,7 2009</div>
					<tr>
						<td>Author: </td>
						<td>Daria Taranova</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Daria Taranova</td>
					</tr>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Cause</h2>
					Such error may occur if there are too many connections to SMTP service occurred.<br /><br />
				</div>
				<div class="article-part">
					<h2>Resolution</h2>
					Try to increase maximum connections number. For example on inetd OSes (Debian or FreeBSD) edit <span style="font-weight: bold">/etc/inetd.conf</span> and set:<br /><br />Debian:<br /><div class="commandline"><code>smtp stream tcp nowait.1000 root /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true<br /><br />smtps stream tcp nowait.1000 root /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true</code></div><br /><br />FreeBSD:<br /><div class="commandline"><code>smtp stream tcp nowait/1000 root /usr/local/psa/qmail/bin/tcp-env tcp-env /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local/psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true<br /><br />smtps stream tcp nowait/1000 root /usr/local/psa/qmail/bin/tcp-env tcp-env /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local/psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true</code></div><br /><br />Also increase number of connections per minute for inetd /etc/rc.conf file, for example:<br /><div class="commandline"><code>inetd_flags=&quot;-wW -R 5000&quot;</code></div><br /><br />And on RedHat based OSes edit /etc/xinetd.conf:<br /><div class="commandline"><code>instances = 200</code></div><br /><br />Then restart inetd/xinetd.<br />
				</div>
				<div class="keywords"><strong>Keywords:</strong> debian smtp problem looping stop terminated inetd freebsd</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1470&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1470&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '1470',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Daria Taranova</author>
<guid isPermaLink="false">1109 LastUpdated: 2009-02-07 09:47:12</guid>
<pubDate>2008-10-06 09:11:29</pubDate>
</item>
</channel>
</rss>



