<?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>Apache, Linux ,Seo tricks and many more &#187; coredump</title>
	<atom:link href="http://www.gossiplime.com/tag/coredump/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gossiplime.com</link>
	<description>This blog is just for all persons to know more about php, apache , linux , seo etc</description>
	<lastBuildDate>Wed, 08 Jul 2009 16:40:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Stop Coredump file</title>
		<link>http://www.gossiplime.com/2009/03/stop-coredump-file/</link>
		<comments>http://www.gossiplime.com/2009/03/stop-coredump-file/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 10:30:06 +0000</pubDate>
		<dc:creator>sps</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apace]]></category>
		<category><![CDATA[coredump]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.gossiplime.com/?p=139</guid>
		<description><![CDATA[Many webmasters ask me how to stop core dump files in Apache.. Now today i will tell you how to stop core dump file in apache.  This is basically happens when System Crashes it makes a coredump file in the public_html Directory. The possible reason for the core files getting generated is when a php [...]]]></description>
			<content:encoded><![CDATA[<p>Many webmasters ask me how to stop core dump files in Apache.. Now today i will tell you how to stop core dump file in apache.  This is basically happens when System Crashes it makes a coredump file in the public_html Directory.</p>
<p>The possible reason for the core files getting generated is when a php process is killed, apache creates core files under your account .</p>
<p>On phpSuexec servers this may cause due to incorrect php.ini file placed in your account and if it is caused due to php/apache then you can get rid off those core files by editing the httpd startup file on the server end .</p>
<p>Lets start</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 34px; text-align: left;" dir="ltr">root@server [~]# vi /etc/init.d/httpd</pre>
</div>
<p>Search for ulimit lines .For eg : you can see these lines</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 82px; text-align: left;" dir="ltr">ulimit -n 1024
ulimit -n 4096
ulimit -n 8192
ulimit -n 16384</pre>
</div>
<p>You need to add ulimit -c 0 at the end .Which will look like :</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 98px; text-align: left;" dir="ltr">ulimit -n 1024
ulimit -n 4096
ulimit -n 8192
ulimit -n 16384
ulimit -c 0</pre>
</div>
<p>root@server [~]# :wq</p>
<p>Save changes and quit.<br />
Now kill / stop apache service and then start apache service on the server .</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 440px; height: 114px; text-align: left;" dir="ltr">root@server [~]# service httpd stop
root@server [~]# service httpd stop
httpd (no pid file) not running
root@server [~]# service httpd startssl
root@server [~]# service httpd startssl
httpd (pid 21154) already running</pre>
</div>
<p>Finished <img src='http://www.gossiplime.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>It works most of the OS.</p>
<p>Self tested on CENTOS 5.2 i686 on standard</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gossiplime.com/2009/03/stop-coredump-file/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

