On Mon, 29 Aug 2005, Ray Fucillo wrote: > > FWIW, an interesting side effect of this occurs when I run the database > with this patch internally on a Linux server that uses NIS. Its an > unrelated problem and not a kernel problem. Its due to the children > calling initgroups()... apparently when you have many processes making > simultaneous initgroups() calls something starts imposing very long > waits in increments of 3 seconds Sounds like something is backing off by waiting for three seconds whenever some lock failure occurs. I don't see what locking the code might want to do (it should just do the NIS equivalent of reading /etc/groups and do a "setgroups()" system call), but I assume that the NIS server ends up having some strange locking. You might do an "ltrace testcase" (and, probably, the nis server) to see if you can see where it happens, and bug the appropriate maintainers. Especially if you have a repeatable test-case (where "repeatable" isn't just for your particular machine: it's probably timing-related), somebody might even fix it ;) Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- process creation time increases linearly with shmem
- From: Ray Fucillo <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Nick Piggin <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Rik van Riel <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Nick Piggin <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Linus Torvalds <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Hugh Dickins <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Linus Torvalds <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Hugh Dickins <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Rik van Riel <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Linus Torvalds <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Nick Piggin <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Hugh Dickins <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Nick Piggin <[email protected]>
- Re: process creation time increases linearly with shmem
- From: Ray Fucillo <[email protected]>
- process creation time increases linearly with shmem
- Prev by Date: [PATCH] i386, x86_64 Initial PAT implementation
- Next by Date: Re: process creation time increases linearly with shmem
- Previous by thread: Re: process creation time increases linearly with shmem
- Next by thread: Re: process creation time increases linearly with shmem
- Index(es):