squeak hangs up during heavy networking operation

Yoel Jacobsen yoel at emet.co.il
Mon Sep 2 14:11:10 UTC 2002


John ,

    Just tried on Solaris, and yes, it hangs again.

    I found that while the program ran correctly (for the first 157 IMAP 
messages) it consumed about %15 CPU. While "hanged", it consumed almost 
%90 CPU (on Solaris).

    Below is the output of 'truss' (system call tracing utility on Solaris).

            Yoel

=== truss output ====

ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 1, 0)                          = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
read(3, "\fF91E #\0 @\00203 j029E".., 736)      = 736
write(3, " H02\091\0 @\002\0 @\003".., 13340)   = 13340
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
read(3, "\f\01E :\0 @\00203 j02B5".., 768)      = 768
write(3, " H02\091\0 @\002\0 @\003".., 13920)   = 13920
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF604)                  = 0
poll(0xFFBEF4E0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF6E4)                  = 0
poll(0xFFBEF5C0, 2, 0)                          = 0
ioctl(3, FIONREAD, 0xFFBEF5E4)                  = 0
poll(0xFFBEF4C0, 2, 0)                          = 0


John M McIntosh wrote:

>> Hello,
>>
>>    I wrote a small package to import local Netscape mail folder into 
>> an IMAP server. The package includes a very basic IMAP implementation 
>> based on SimpleClientSocket and another class for recursively scan a 
>> directory hierarchy and importing everything inside. Everything works 
>> just fine for a while than the image hangs (the VM is still 
>> accessible from the debug menu..). My O/S (?) is Win2K, image version 
>> is the final 3.2. VM version is 3.2.2.
>>
>>    I suspect the networking part since when disabled, the program 
>> works just fine (it scans the tree and generate useful reports).
>>
>>    Where should I start?
>>
>>        Thanks,
>>                Yoel
>
>
> Can you try it under linux or a BSD OS?





More information about the Squeak-dev mailing list