Re: stalling
Joerg Schilling <[email protected]> Wed, 10 Apr 2013 10:45:21 +0200
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <516526a1.Vc4l+ELZW4qybixx%[email protected]> |
Ryan Lovett <[email protected]> wrote: > Thanks for your response. I ran truss on the two star processes that > got created from one star invocation: > > /var/tmp# truss -p 21402 > write(1, 0x0814304C, 5120) (sleeping...) > > /var/tmp# truss -p 21403 > read(5, 0x08046CFB, 1) (sleeping...) > > Here is the pstack output from 21402: > > fedec317 write (1, 814304c, 1400) > fedcc794 _flsbuf (20, 80b6398, 57, 35303030) + cc > 0808a14e filewrite (80b6398, 803c688, 68, 803c680) + 87 > 08089f4b _bflush (803c680, 803c680, 80991fc, 803c7c0) + 33 > 0808a059 js_fprintf (80b6398, 80991fc, 808fa70, 803d690, 2ff90, 0) + 5b > 08066078 vprint (803daa0, 803daa0) + 246 Did you try to find out why stdout might be blocked? What file if connected to the stdout filedescriptor in star? The write(2) size of 5120 bytes tends to lead to a pipe that is blocked.... J=F6rg -- = EMail:[email protected] (home) J=F6rg Schilling D-13353 Be= rlin [email protected] (uni) = [email protected] (work) Blog: http://schily.blogs= pot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily