<?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>Linux Servers cPanel webhosting blog &#187; ulimit</title>
	<atom:link href="http://www.theperfectarts.com/tag/ulimit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:18:43 +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>What is Core Files in Linux?</title>
		<link>http://www.theperfectarts.com/2009/11/what-is-core-files-in-linux/</link>
		<comments>http://www.theperfectarts.com/2009/11/what-is-core-files-in-linux/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 03:56:02 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Few good queries and suggestions]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[core files]]></category>
		<category><![CDATA[Core Files in Linux]]></category>
		<category><![CDATA[ulimit]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=362</guid>
		<description><![CDATA[A core file created when ever a program terminates unexpectedly and its also useful for determining what caused the termination. In many Linux server by default they do not produce core files when programs crash or terminates unexpectedly. On  most of the Linux server core file size limitation is set to 0.You can check the [...]]]></description>
			<content:encoded><![CDATA[<p>A core file created when ever a program terminates unexpectedly and its also  useful for determining what caused the termination. In many Linux server by default they do not produce core files when programs crash or terminates unexpectedly.</p>
<p>On  most of the Linux server core file size limitation is set to 0.You can check the core file size limit set in server by using following command.</p>
<p><span style="color: #800000;">root@gunjan [~]# ulimit -c<br />
1000000</span></p>
<p>In above command core file size limit is 1000000 if output occur empty then it means core file size limit haven&#8217;t set on server and you can set it as</p>
<p><span style="color: #800000;">root@gunjan [~]# ulimit -c 1000000</span></p>
<p><span style="color: #800000;">or</span></p>
<p><span style="color: #800000;">root@gunjan [~]# ulimit -c unlimited</span></p>
<p>If you want to test core file limit is working on your server or not? then run following command</p>
<pre><span style="color: #800000;">kill -s SIGSEGV $$</span></pre>
<p>This above command will crashes your shell and produces core file in the current directory. as core.*</p>
<p>If core file is taking lots of disk space on server and you want to disable it then follow the steps one by one.</p>
<p><span style="color: #800000;">root@gunjan [~]#</span><span style="color: #800000;">which httpd</span></p>
<p><span style="color: #800000;">/usr/sbin/httpd</span></p>
<p><span style="color: #800000;">root@gunjan [~]#</span><span style="color: #800000;">pico /usr/sbin/httpd</span></p>
<p>And following line in <span style="color: #800000;">/usr/sbin/httpd</span></p>
<p><span style="color: #800000;">ulimit -c 0</span></p>
<p>And then restart the Apache server</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/11/what-is-core-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

