<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Hosting Tutorials &#187; Disk Space Administration</title>
	<atom:link href="http://www.webhostingbyte.com/category/cpanel/disk-space-administration/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webhostingbyte.com</link>
	<description>Web Hosting Tips and Tutorials</description>
	<lastBuildDate>Thu, 07 Oct 2010 15:14:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Unlimited Disk Space</title>
		<link>http://www.webhostingbyte.com/unlimited-disk-space-15.html</link>
		<comments>http://www.webhostingbyte.com/unlimited-disk-space-15.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 20:36:34 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel Administration]]></category>
		<category><![CDATA[Disk Space Administration]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=15</guid>
		<description><![CDATA[When the disk limit for each account in WHM is unlimited, there's any easy fix. by running with of cpanel's scripts. Learn how to do this. <a href="http://www.webhostingbyte.com/unlimited-disk-space-15.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sometimes, you list accounts in WHM and the disk limit of each account is unlimited. That&#8217;s obviously a problem, because you wont be able to limit disk space usage. The fix is normally an easy fix. Just login to your server with ssh and run this command</p>
<pre class="brush: php">
/scripts/fixquotas
</pre>
<p>Usually this script will fix this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/unlimited-disk-space-15.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>/usr Partition Full</title>
		<link>http://www.webhostingbyte.com/usr-partition-full-12.html</link>
		<comments>http://www.webhostingbyte.com/usr-partition-full-12.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 20:26:50 +0000</pubDate>
		<dc:creator>Rui Soares</dc:creator>
				<category><![CDATA[Cpanel Administration]]></category>
		<category><![CDATA[Disk Space Administration]]></category>

		<guid isPermaLink="false">http://www.webhostingbyte.com/?p=12</guid>
		<description><![CDATA[How to free space in the /usr partition. Simple procedures that will help you fix this problem. <a href="http://www.webhostingbyte.com/usr-partition-full-12.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Is your /usr partition full? Or almost full? That could be a problem. Here&#8217;s a way to fix it.</p>
<p>Run:</p>
<pre class="brush: php">
cd /usr/local/apache/logs/
</pre>
<p>List the contents of that directory with ll. Are there any big files? Empty those files. Here&#8217;s an example. If you want to empty error_log for example, just run:</p>
<pre class="brush: php">
echo &gt; error_log
</pre>
<p>You can repeat this procedure in /usr/local/cpanel/logs/. Just empty any large files.</p>
<p>Then go to /usr/local/apache/domlogs/. And list the biggest 10 or 20 files. For the top 10, run:</p>
<pre class="brush: php">
ls -al -SR | head -10 —&gt;
</pre>
<p>Are there any big files? Running awstats for that domain should clear the file. Just run:</p>
<pre class="brush: php">
/scripts/runweblogs user
</pre>
<p>Login to WHM. Check if log rotation is active for apache and cpanel logs.  For apache, click Service Configuration -> Apache Configuration -> Log Rotation. For cpanel, click Service Configuration -> cPanel Log Rotation Configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhostingbyte.com/usr-partition-full-12.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

