Messages in this thread | | | Date | Thu, 16 Aug 2001 22:41:10 +0300 (MET DST) | From | Szabolcs Szakacsits <> | Subject | Re: 2.4.8 Resource leaks + limits |
| |
On Wed, 15 Aug 2001, Magnus Naeslund(f) wrote:
> The problem is that i can shh in as root, but not as any other user ( not > via login or su or either ).
Are you using < 0.73 PAM without the change_uid pam_limit option? You set in /etc/security/limits.conf: * soft nproc 40
the '*' valid for users but not for root, the relevant parts of a default login/pam works like:
<running as root> setrlimit() fork() setuid(user_uid)
So if you have at least 40 root processes running already for whatever reason then the result is what you see.
The livelocks what I mentioned is indeed different and fixed in 2.4.9 (I guess the 'kswapd thought shortage for highmem zone when its size is actually 0' issue what Linus said in the 'kswapd using all cpu for long periods' thread). Sorry for the confusion, hope the above fixes your problem.
Szaka
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |