Re: [HACKERS] (OT) Linux limits

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Oliver Mueschke <o(at)mueschke(dot)de>
Cc: Postgres Hackers List <hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] (OT) Linux limits
Date: 2000-01-07 15:39:37
Message-ID: 387608B9.9857EBDB@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-01-07 15:39:54 Re: [HACKERS] Inheritance
Previous Message Lamar Owen 2000-01-07 15:23:55 Re: [HACKERS] [Fwd: Re: First Major Open Source Database]