LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-03-2012, 06:08 PM   #1
codeblazer
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?
 
  


Reply


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 10:37 AM
C timer_create skeleton newbie14 Programming 10 01-09-2012 11:09 PM
timer_create failing manohar Programming 3 06-21-2011 12:18 PM
[SOLVED] ErrNo 14 and ErrNo 256 in yum server configuration nivedhitha Linux - Server 4 05-22-2011 12:45 AM
[C/C++] Using timer_create() and interrupting sleep() dwhitney67 Programming 0 05-19-2009 07:30 AM


All times are GMT -5. The time now is 07:06 AM.

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