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

Re: why does a process gets killed?



On Thu, Jan 10, 2002 at 10:18:11AM -0600, Dave Sherohman wrote:
> In limits.conf, the 'soft' limits are the defaults and the 'hard'
> limits are the maximum that a (non-priviliged) user can increase them

> > q2: what else do i have to do so that the values
> > in /etc/security/limits.conf can take effect?

> The limits.conf above gives you a hard limit of 'unlimited' for CPU
> time, but the soft limit is left at whatever your shell defaults to.
> (At least I assume that's where the default comes from...)  Try

yes,  thanks, by now i do understand these

but if you look at my previous post
i listed the *hard* limits (ulimit -Ha)
and they do not correspond to the values
i set in the /etc/security/limits.conf but are lower
(so no chance for me to set anything higher at least as
a regular user - as root of course this works fine)

and my q1 was exactly what you mention "whatever the shell defaults to"

so where does it come form?
i have now both machines with woody installed (up-to-date) and
2.4.16/17 kernel compiled
so if these values would be compiled into bash or the kernel
they should have the same values
but the "default" values on the two macine are completely different.
why?

on one /etc/security/limits.conf has no values set
on the other i tried but it does not take effect...

so, please, anyone can tell me where do those defaults come from?
and how can is change them?



thanks

imre




Reply to: