Re: [HACKERS] (OT) Linux limits
От | Thomas Lockhart |
---|---|
Тема | Re: [HACKERS] (OT) Linux limits |
Дата | |
Msg-id | 387608B9.9857EBDB@alumni.caltech.edu обсуждение исходный текст |
Ответ на | (OT) Linux limits (Thomas Lockhart <lockhart@alumni.caltech.edu>) |
Ответы |
Re: [HACKERS] (OT) Linux limits
|
Список | 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 по дате отправления: