[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Processes not exiting



I have just tried to upgrade the pppd on a client's machine.  It is 
running kernel 2.2.19 with the latest libc6 etc from unstable.

pppd version 2.3.7 works fine, pppd 2.4.1 works fine as far as actually 
working goes, but when the connection ends it will hang and not fully 
exit.  It remains in a state where it is detached from the terminal, but 
still running so init won't launch another copy.  When the pppd is in 
such a state I send it a signal 1 and it then proceeds to exit normally.

I am also having some similar problems with my Portslave program, I am 
not sure whether the problems are related.  The situation is a bit 
different for my program, I strace it and see the following as the last 
line:
_exit(1)                                = ?

So it has finished it's work and told the environment that it is ready to 
exit.  But it still hangs!

Here is some information on the state of Portslave:
root@lyta:/proc/1433# cat status
Name:   portslave
State:  S (sleeping)
Pid:    1433
PPid:   1432
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 0
Groups: 0
SigPnd: 0000000000000000
SigBlk: 0000000080000000
SigIgn: 8000000000002000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
root@lyta:/proc/1433# cat stat
1433 (portslave) S 1432 1433 1433 1088 1433 4 147 0 167 0 1 0 0 0 9 0 0 0 
17287889 0 0 2048000000 0 0 0 0 0 0 0 8192 0 3222786920 0 0 17 0

Any advice appreciated!

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: