Re: Oops when trying to create more than 16000 timers

From: Pekka Enberg
Date: Mon Dec 15 2008 - 16:48:59 EST


Hi Ottavio,

Pekka Enberg wrote:
I think you're simply hitting RLIMIT_SIGPENDING and then tripping over
a bug in alloc_posix_timer() that's fixed by commit
aa94fbd5ccd840c8ab26d02439ec799b03a72547 ("fix error-path NULL deref
in alloc_posix_timer()") in 2.6.28-rc8.

Dan, can you please send your patch to the -stable queue as well?

Ottavio Campana wrote:
Pekka, can this RLIMIT_SIGPENDING be modified? For my application, I
will need 60k timers.

I'd assume you can do that via the setrlimit() system call. See the man page for details.
--
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/