Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Perl system command memory usage in threads

by BrowserUk (Patriarch)
on Jul 31, 2015 at 22:31 UTC ( [id://1137079]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Perl system command memory usage in threads
in thread Perl system command memory usage in threads

For what its worth, the systems I'm testing this on are virtual machines,

That is almost certainly the cause; and I seriously doubt that there is anything that can be done either in your script or perl to alleviate it.

About the only thing that might offer a solution (besides dropping out of the VM) would be to try a different VM.

When I played with VMs a couple of years ago I had less problems with MS Virtual PC than Oracle's Virtual Box; but both gave me problems -- mostly with networking for the stuff I was doing. However, both have seen significant updates since, so my information is out of date.

FWIW: one of my customers uses VMWare and they are very happy with it; but they can afford to employ expertise and pay for support contracts.


Anyone got any experience of this phone's predecessor?

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
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". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
  • Comment on Re^5: Perl system command memory usage in threads

Replies are listed 'Best First'.
Re^6: Perl system command memory usage in threads
by rmahin (Scribe) on Jul 31, 2015 at 22:45 UTC

    Well, upgrading the vm to perl 5.20.2 seems to have actually fixed the problem. So it looks like the bug was in perl 5.18, maybe specifically perl 5.18 on a VM or Server 2008? Dunno, very weird. At least it's an easy work around.

    Also, this seemed to have solved my second question as well...no more hanging from the un-synchronized system commands. Go figure

    Thank you for taking the time to help! Much appreciated

      upgrading the vm to perl 5.20.2 seems to have actually fixed the problem. ... Also, this seemed to have solved my second question

      Cool. Glad you have a solution. Looks like I need to complete my transition to 5.20.


      Anyone got any experience of this phone's predecessor?

      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      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". I knew I was on the right track :)
      In the absence of evidence, opinion is indistinguishable from prejudice.
      I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1137079]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-25 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found