Processes randomly get stuck

Ismail Donmez ismail@i10z.com
Fri Aug 21 08:15:00 GMT 2015


Hi,

Corinna Vinschen writes:

> 
> On Jul 26 12:56, Ismail Donmez wrote:
> > Hi,
> > 
> > $ uname -a
> > CYGWIN_NT-10.0 ux31a 2.2.0(0.289/5/3) 2015-07-23 20:41 x86_64 Cygwin
> > 
> > For the last week or so ssh/zsh processes are randomly gets into 
defunct 
> > state, that is
> > 
> > $ cat /proc/7232/cmdline
> > <defunct>
> > $ cat /proc/7232/status
> > Name:   zsh
> > State:  S (sleeping)
> > Tgid:   7232
> > Pid:    7232
> > PPid:   5172
> > Uid:    197609 197609 197609 197609
> > Gid:    197609 197609 197609 197609
> > VmSize:     7556 kB
> > VmLck:         0 kB
> > VmRSS:     10860 kB
> > VmData:     2140 kB
> > VmStk:         0 kB
> > VmExe:         0 kB
> > VmLib:      4644 kB
> > SigPnd: 0000000000000000
> > SigBlk: 0000000000000000
> > SigIgn: 0000000000000000
> > 
> > Same happens with ssh, and after some time like 5 minutes or so it 
goes 
> > back to the normal state. I wonder if anyone has been experiencing 
> > something similar?
> 
> There's no change in 2.2.0 which might explain this, but still, did
> you try to downgrade to 2.1.0?

I tried to see the patterns of this problem before replying again. Because 
the bug randomly appears I can't conclude if 2.1.0 was any better (though 
I couldn't reproduce the problem with it.)

I have an idea why this might be happening and want to ask what happens 
each time one does read /proc/<pid>/cmdline, does the function 
_pinfo::commune_request called everytime, or just once?

This might explain some behaviour I am seeing because tmux is reading that 
file every 20 seconds or something like that.

Thanks!

ismail
 




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list