Share your knowledge at the LQ Wiki.
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 06-11-2017, 10:59 PM   #1
Noel Hunt
LQ Newbie
Registered: Jun 2017
Posts: 3

Rep: Reputation: Disabled
recvmsg getting EAGAIN errors, slowing down display of Tk window

I am running Oracle Linux 7.3. I have a small tk application which mimics
the old xmessage program. It simply draws a window with three labels, but
the drawing is very, very slow. First the outside frame will be drawn,
then the labels, one after the other with several hundred milliseconds
delay between each.

I ran strace and saw that recvmsg was hanging a lot with EAGAIN errors.

Would anyone know what is causing this?

I originally was running a 'wish' which I built from source and thought
there were options missed in the build; I installed the current package,
tk.x86_64 1:8.5.13-6.el7 (plus the corresponding tcl package), but with
the same behaviour.

Noel Hunt
Old 06-12-2017, 03:41 PM   #2
Noel Hunt
LQ Newbie
Registered: Jun 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
I tracked the problem down to the fact that the application was
waiting for a 'Configure' event to set the final geometry. If I
remove the binding on '<Configure>' the window and its children
are immediately drawn.


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
Linux display(window frame) options for live webcam display: java? PoleStar Linux - Newbie 1 08-15-2012 03:49 PM
[SOLVED] Errors that may be slowing me down? multiple blocks occupy inode... Hevithan Linux - Newbie 3 11-16-2011 06:11 AM
sendmsg() and recvmsg() -- Cannot receive control message. dwhitney67 Programming 0 03-13-2009 08:27 AM
sendmsg/recvmsg Thinking Programming 0 11-28-2005 05:29 AM
unix domain socket: how to know if i use recvmsg or read Thinking Programming 3 09-23-2005 01:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 PM.

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