[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make core files writeable?



On Fri, Sep 28, 2001 at 02:28:15AM +0200, Carel Fellinger wrote:
> On Fri, Sep 28, 2001 at 12:21:19AM +0100, Rory Campbell-Lange wrote:
> > I have been asked by an application developer, who is trying to find out
> > problems with one of their products running on our server, to set up the
> > server so that "core files can be written". What are these, and how would I
> > do this?
> 
> When a program crashes the last thing that happens is that its memory
> image is written to a file called core.  Some shells allow to specify
> how big such core files may be; bash uses "ulimit -f <#kilobytes>".
> Default the max size is 0, so practically prohibiting core dumps.

I believe it's 'ulimit -c'. You can use 'ulimit -c unlimited' to set no
limit on the size of core dumps.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: