[lkml]   [2001]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject2.4.4/2.4.5-pre2 process semi stuck in n_tty.c:write_chan

I just installed a new system using 2.4.4 and later tried 2.4.5pre2 and
2.4.4ac6 and ac9. All versions show the same behaivior.

When doing a "cat /var/log/messages", the output slows down after the
first 30 lines and comes to an almost complete stop, with a few lines
showing up every 10sec or so.

A "ps -eo pid,tt,user,fname,tmout,f,nwchan,wchan" shows the process
sitting in write_chan in n_tty.c line 1198.

I realize that this information is probably not enough to find out whats
going on, could you please advise me on what further information is
needed and how to get it.


---- snip ----
if (!nr)
if (file->f_flags & O_NONBLOCK) {
retval = -EAGAIN;
here ===> schedule();
current->state = TASK_RUNNING;
remove_wait_queue(&tty->write_wait, &wait);
return (b - buf) ? b - buf : retval;
---- snip ----

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.324 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site