mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Helge Hafting <helgehaf@aitel.hist.no>
To: linux-kernel@vger.kernel.org
Subject: Repeatable scheduling oddity in 2.5.5x?
Date: Tue, 14 Jan 2003 15:46:13 +0100	[thread overview]
Message-ID: <3E2422B5.B5F8AD31@aitel.hist.no> (raw)

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

             reply	other threads:[~2003-01-14 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-14 14:46 Helge Hafting [this message]
     [not found] ` <200301141647.32025.oliver@neukum.name>
2003-01-15 12:44   ` Repeatable scheduling oddity in 2.5.5x? SOLVED Helge Hafting

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E2422B5.B5F8AD31@aitel.hist.no \
    --to=helgehaf@aitel.hist.no \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®