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

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.
  • Comment on Re^2: System call in thread hangs threaded application on win32

Replies are listed 'Best First'.
Re^3: System call in thread hangs threaded application on win32
by BrowserUk (Patriarch) on Feb 26, 2010 at 14:49 UTC

    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.

        VirtualBox is very good, especially when running Ubuntu (and probably other linuxii), but I've seen a few anomolies with Vista.

        You could try MS Virtual PC in the interim of getting the hardware.


        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.
Re^3: System call in thread hangs threaded application on win32
by cdarke (Prior) on Feb 26, 2010 at 15:03 UTC
    Using (64-bit) 5.10.1 running under Windows 7, > 800 and still climbing - no problems.