2.1.x - processes letargic on recvmsg()

Eugene Crosser (crosser@average.org)
9 Apr 1998 08:24:05 GMT


Another problem that I observed on all recent 2.1.x kernels is that
I am getting never finished `inews' processes in the process table.
I have a perl script that converts linux-kernel mails into a local
newesgroup. So, there are several hundreds `inews' invocations per
day; and they are coming over uucp in big chunks, and then run concurrently
making load of ~20 for a few seconds. 3-5 per day stay unfinised.
This is how it looks in `ps alx':

FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND
0 32767 443 1 0 0 860 8 tcp_recvmsg S ? 0:00 /bin/inew
0 32767 449 1 0 0 860 0 tcp_recvmsg SW ? 0:00 (inews)
0 32767 450 1 0 0 856 0 tcp_recvmsg SW ? 0:00 (inews)

I can attach gdb to a process but I cannot get anything informative from it:

(gdb) att 443
Attaching to process 443
0x400776f4 in ?? ()
(gdb) bt
#0 0x400776f4 in ?? ()
#1 0x4002d9f7 in ?? ()
(gdb)

Looks like inews is waiting for reply from nnrpd but nnrpd has finished
long ago. There is no network here, only `lo' interface.

Nothing of this kind ever occurs in 2.0.x.
The machine is dual pentium with 32M, SMP kernel; I think that I saw
the same on a 486 UP.

-- 
Eugene Crosser; 2:5020/230@fidonet; http://www.average.org/~crosser/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu