lkml.org 
[lkml]   [2001]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 12:57    [W:0.023 / U:59.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site