Thanks Andrej and Manish.<br>I will try to see if I can use logrotat or atleast buy the logic from it.<br><br>Thanks,<br>SADA<br><br><div class="gmail_quote">On Thu, May 26, 2011 at 10:55 PM, Manish Katiyar <span dir="ltr"><<a href="mailto:mkatiyar@gmail.com">mkatiyar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Thu, May 26, 2011 at 5:31 AM, SADA SIVA REDDY S<br>
<<a href="mailto:sadasiva.reddy@gmail.com">sadasiva.reddy@gmail.com</a>> wrote:<br>
> Hi All,<br>
> I have a situation like below. I am using RHEL 5.<br>
><br>
> I have multiple user processes running on my machine.<br>
> I have set the appropriate sizes for core file size.<br>
> But my process maangement demon is designed to restart any process that<br>
> terminates.<br>
> Hence the process starts up again.<br>
> If I have a very bad nasty defect, it will keep on filling my machine with<br>
> core files until I run out of space on the partition.<br>
><br>
> My Questions:<br>
><br>
> Is there a provision in Linux to automatically cleanup the old corefiles<br>
> when we reach a certain limit ?<br>
> Is there a provision in Linux to set a upper limit for space occupied by all<br>
> core files (not individual core files) ?<br>
><br>
> Any inputs appreciated.<br>
<br>
</div></div>May be "man logrotate" can help.<br>
<br>
--<br>
Thanks -<br>
<font color="#888888">Manish<br>
</font></blockquote></div><br>