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

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.

Thanks

Andreas
---- snip ----
if (!nr)
break;
if (file->f_flags & O_NONBLOCK) {
retval = -EAGAIN;
break;
}
here ===> schedule();
}
break_out:
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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