mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Repeatable scheduling oddity in 2.5.5x?
@ 2003-01-14 14:46 Helge Hafting
       [not found] ` <200301141647.32025.oliver@neukum.name>
  0 siblings, 1 reply; 2+ messages in thread
From: Helge Hafting @ 2003-01-14 14:46 UTC (permalink / raw)
  To: linux-kernel

I occationally use the program dvipdfm for creating pdf-files.
It works for a while, then it just pauses.  The process (and
child processes) sleeps and the load falls to 0 for no reason.

Moving the mouse around or holding down a keyboard key (even shift)
gets it going again.  Note that the windows with the "stuck"
processes don't need to have focus.
Pinging the machine don't seem to help, so it isn't
purely an interrupt thing.

This is not a case of starvation, the cpu is free but the kernel
seems to want some mouse/keyboard activity in order to hand out
timeslices.  This is hopeless if I'm logged in via ssh.  Causing massive
disk activity might help, but usually not.  Logging in as root
and giving the processes a massive priority boost don't
change a thing.

I don't think it is a timeout either, this is not a portable and
the problem can trigger in 10 seconds or so after giving the
command.

The machine is nowhere near OOM either.

ps and top just show the relevant processes sleeping along with
other processes that don't have any input to process.
But these have. :-(

I see this with 2.5.58 and 2.5.55, UP with preempt.

dvipdfm reads a .dvi file, and use a pipe with zcat and
gv to process postscript figures.  There seems to always
be such a pipe active when it gets stuck.

I don't think a programming error in these programs
can _know_ wether or not I'm wiggling the mouse,
that's why I suspect the kernel.

Is there anything more I could do to try tracking this down?
I have no problems repeating it.

Helge Hafting

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-15 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-14 14:46 Repeatable scheduling oddity in 2.5.5x? Helge Hafting
     [not found] ` <200301141647.32025.oliver@neukum.name>
2003-01-15 12:44   ` Repeatable scheduling oddity in 2.5.5x? SOLVED Helge Hafting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®