Re: system resource limit in kernel 2.6

From: Andrew Morton
Date: Fri Jan 09 2004 - 21:25:09 EST


Peng Yong <ppyy@xxxxxxxxxxx> wrote:
>
>
> We upgrade one of our production http server, runing apache 1.3.29, to
> kernel 2.6. some time the main process of apache exit and here is the
> error log:
>
> [Sat Jan 10 08:48:44 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 65534
> [Sat Jan 10 08:48:44 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 65534
> [Sat Jan 10 08:48:44 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 65534
> [Sat Jan 10 08:48:44 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 65534
> [Sat Jan 10 08:48:44 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 65534
> [Sat Jan 10 08:48:44 2004] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 65534
>
>
> how can i tuning the kernel and remove the system resource limit?
>

Well the question is: why did behaviour change relative to 2.4? The kernel
is saying that uid 65534 has exceeded its RLIMIT_NPROC threshold.

How may processes is user 65534 actually running, and how much memory does
the machine have?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/