in reply to Solved: System call in thread hangs threaded application on win32

How long do you have to wait for this "freeze"? Cos I'm not seeing it on my vista/perl v5.10.1 system.

It runs quite slowly, but that's an artifact of your architecture rather than any specific problem. I see no memory growth. No excessive cpu usage. And no partiicular slow down in the processing rate.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"
  • Comment on Re: System call in thread hangs threaded application on win32

Replies are listed 'Best First'.
Re^2: System call in thread hangs threaded application on win32
by tormod (Novice) on Feb 26, 2010 at 14:04 UTC
    Hi. I only have to wait a few minutes before it hangs. The last run did 88 pings pr. worker before it hung. Perl version is 5.10.1 on a windows 7 machine running in Virtualbox. The script postet is a script to replicate the problem, it does not represent the application that i have problems with.

      Hm. It's upto 1300+ pings per thread so far and still no sign of any slowdown.

      Methinks maybe you should try your real code outside of a VM and see how you fair there.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        I have now tried the script on a windows 2000 machine running Citrix, and it still runs ok. I have also tried to set the number of processors on the windows 7 machine running in virtualbox to one, and now it runs fine without hanging.

        I can only replicate the error on a windows 7 machine with more than 1 processor, and that machine is a virtual machine. Next week I can test the script on a windows 7 machine with 2 processors that is running on real hardware and not in Virtualbox.

      Using (64-bit) 5.10.1 running under Windows 7, > 800 and still climbing - no problems.