Re: [HACKERS] (OT) Linux limits - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] (OT) Linux limits
Date
Msg-id 387608B9.9857EBDB@alumni.caltech.edu
Whole thread Raw
In response to (OT) Linux limits  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Responses Re: [HACKERS] (OT) Linux limits
List pgsql-hackers
> > I've got a (laptop) system running Mandrake 6.1 which is configured
> > out of the box to disallow core dumps from users. root is allowed to
> > increase the size limit (from tcsh, use "limit coredumpsize
> > unlimited") but users are not allowed to do this for themselves.
> are you looking for /etc/security/limits.conf ?

Thanks for the tip, and it looks like the right thing, but adding
entries for core and rebooting does not help. I then tried upping a
brute-force limit of zero imposed in the daemon startup function in
/etc/rc.d/init.d/functions thinking that inetd or loginout or somesuch
process might need to be higher (since all children inherit these
limits apparently), but that does not seem to help. 

It is set to zero in /etc/profile, and commented out in
/etc/csh.cshrc, but afaik anything set at that point should be able to
be set higher later. There is a cryptic comment in /etc/profile saying
that "for bash2 it can't be set higher for user processes", but I
don't know what that's about.

Can someone running a Mandrake6.1 or RH6.1 system take a look at their
system limits (for csh use "limit", for bash use "ulimit -a"). Are
they greater than zero for the coredumpsize??
                   - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: [HACKERS] [Fwd: Re: First Major Open Source Database]
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Inheritance