[dtrace-discuss] DTracing reads/writes from a socketpair (trying to debug a race condition)

Chad Mynhier cmynhier at gmail.com
Tue Aug 8 06:25:31 PDT 2006


On 8/8/06, Casper.Dik at sun.com <Casper.Dik at sun.com> wrote:
> >server1> wc -l /var/tmp/bigfile
> >    6000 /var/tmp/bigfile
> >server1>
> >
> >server2> ssh -n server1 "/bin/sh -c 'cat /var/tmp/bigfile'" | wc -l
> >    5718
> >server2>
>
>
> This looks very much like
>
> 6227895 Unix domain sockets still losing data on last close, affects sshd
>
> (Truss and just counting bytes send/received helped me find a problem
> like this)

Yes, this appears to be the same problem.


> >- I only see the problem on Solaris 10 and not on Solaris 8, although
> >this may simply be an artifact of server speeds.
>
> Which Solaris 10 release?

Solaris 10 03/05, so the problem has been fixed since.

Thanks,
Chad Mynhier


More information about the dtrace-discuss mailing list