<?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>SupportSages &#187; 500 Internal Server Error</title>
	<atom:link href="http://www.supportsages.com/blog/tag/500-internal-server-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Thu, 05 Jan 2012 03:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Adding packages from WHM or editing the reseller privileges is not working on a x86_64 architecture</title>
		<link>http://www.supportsages.com/blog/2009/05/adding-packages-from-whm-or-editing-the-reseller-privileges-is-not-working-on-a-x86_64-architecture/</link>
		<comments>http://www.supportsages.com/blog/2009/05/adding-packages-from-whm-or-editing-the-reseller-privileges-is-not-working-on-a-x86_64-architecture/#comments</comments>
		<pubDate>Sat, 23 May 2009 16:04:53 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[500 Internal Server Error]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[memory limit]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=387</guid>
		<description><![CDATA[As usual, start by checking the error log of cPanel at <code>/usr/local/cpanel/logs/error_log</code>

<blockquote>2009-05-23 15:44:24 info [whostmgr2] [28346] Waiting for lock on /var/cpanel/package-limits.yaml held by /usr/local/cpanel/whostmgr/bin/whostmgr2 - locking /var/cpanel/package-limits.yaml with pid 25968
2009-05-23 15:44:25 info [whostmgr2] [28346] Removing expired lock file /var/cpanel/package-limits.yaml.lock
(internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar.</blockquote>

While the error (internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar floods the error log

Permissions were all right, but suddenly this started happening, but only x86_64 architectures only. Reason being the cPanel is killing the process, since ...]]></description>
			<content:encoded><![CDATA[<p>As usual, start by checking the error log of cPanel at <code>/usr/local/cpanel/logs/error_log</code></p>
<blockquote><p>2009-05-23 15:44:24 info [whostmgr2] [28346] Waiting for lock on /var/cpanel/package-limits.yaml held by /usr/local/cpanel/whostmgr/bin/whostmgr2 &#8211; locking /var/cpanel/package-limits.yaml with pid 25968<br />
2009-05-23 15:44:25 info [whostmgr2] [28346] Removing expired lock file /var/cpanel/package-limits.yaml.lock<br />
(internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar.</p></blockquote>
<p>While the error (internal warning while parsing [stdin]) Sat May 23 23:41:28 2009 [25968] warn: Attempt to free unreferenced scalar floods the error log</p>
<p>Permissions were all right, but suddenly this started happening, but only x86_64 architectures only. Reason being the cPanel is killing the process, since it exceeded the memory usage allowed by cPanel.</p>
<p>Solution would be to increase the memory limit of cPanel by following the instructions below.</p>
<p><strong>WHM</strong> -> <strong>Server Configuration</strong> -> <strong>Tweak Settings</strong> Choose the setting for:</p>
<p>The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 128 megabytes can not be specified. A value of &#8220;0&#8243; will disable the memory limits.</p>
<p>The settings had 256M there, and increasing the value to 1024 M helped. Server had 8G RAM, so the value of 1024M was fine here. </p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=Adding+packages+from+WHM+or+editing+the+reseller+privileges+is+not+working+on+a+x86_64+architecture+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F387" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Adding+packages+from+WHM+or+editing+the+reseller+privileges+is+not+working+on+a+x86_64+architecture+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F387" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/05/adding-packages-from-whm-or-editing-the-reseller-privileges-is-not-working-on-a-x86_64-architecture/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

