<?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[How do I enable Piped Logs for Apache Web Server.]]></title>
<link>http://kb.parallels.com/en/2066</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How do I enable Piped Logs for Apache Web Server.</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 2066&nbsp;</div>
					<div>Last Review: Oct,6 2008</div>
					<tr>
						<td>Author: </td>
						<td>Dmitry Frantsev</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>system</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Plesk 8.2 for Linux/Unix</li>
							<li>Plesk 8.3 for Linux/Unix</li>
							<li>Plesk 8.4 for Linux/Unix</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

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

			<div id="article-content">
				<div class="article-part">
					<h2>Symptoms</h2>
					If you are going to host more than 300 Web sites on the server, Apache may fail to work because of problem with file descriptors limit. Apache by default can handle only 1024 file descriptors. Every Virtual Host requires 2 or 4 (if HTTPS is enabled) log files, so with this scheme only about 300 domains can be hosted without Apache recompilation, see <a href="http://kb.parallels.com../en/260">260</a>.
				</div>
				<div class="article-part">
					<h2>Resolution</h2>
					Piped Logs feature that was implemented in Plesk 8.2 allows to host safely on the default Apache web server build up to 900 domains. If you have more that 900 domains, you still have to recompile Apache and some other system packages as described in article <a href="http://kb.parallels.com../en/260">260</a>. To enable Piped Logs the following steps have to be done:<br /><br />&nbsp;&nbsp; 1. Log in to the server shell.<br />&nbsp;&nbsp; 2. Issue the command:<br /><div class="commandline"><code># mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e &quot;replace into misc (param,val) values (&#39;apache_pipelog&#39;, &#39;true&#39;);&quot;</code></div><br />&nbsp;&nbsp; 3. Rebuild Apache configuration:<br /><div class="commandline"><code># <a href="http://kb.parallels.com../en/952">$PRODUCT_ROOT_D</a>/admin/sbin/websrvmng -v -a</code></div>
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=2066&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=2066&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' : '2066',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





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

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


]]></description>
<author>Dmitry Frantsev</author>
<guid isPermaLink="false">1704 LastUpdated: 2008-10-06 09:12:19</guid>
<pubDate>2007-08-02 02:32:59</pubDate>
</item>
</channel>
</rss>



