Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-03-2012, 07:08 PM   #1
LQ Newbie
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
How to resolve EAGAIN (errno 11) from timer_create?

I have this problem where the timer_create returns -1 with errno 11 (EAGAIN) indicating "Temporary error during kernel allocation of timer structures." according to the man page on timer_create. I am using the SIGEV_THREAD_ID for sigev_notify with the sigaction binding a signal handler that eventually gets called in each of the thread requesting the timer. I see that the signal handler gets called 3552 times which is the value for RLIMIT_SIGPENDING's current limit. Signal handler calls timer_create to create another timer every time it is called, so after it is called 3552 times, it fails in the next timer_create call. Why is each signal handler call leaves the signal pending? How do you free this resource?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 16 Yum [Errno 14] curl#5 - "Couldn't resolve proxy" manqox Fedora 4 04-26-2012 11:37 AM
C timer_create skeleton newbie14 Programming 10 01-10-2012 12:09 AM
timer_create failing manohar Programming 3 06-21-2011 01:18 PM
[SOLVED] ErrNo 14 and ErrNo 256 in yum server configuration nivedhitha Linux - Server 4 05-22-2011 01:45 AM
[C/C++] Using timer_create() and interrupting sleep() dwhitney67 Programming 0 05-19-2009 08:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration