Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Is it Perl problem or VPS problem?

by cursion (Pilgrim)
on Apr 06, 2012 at 14:14 UTC ( #963827=note: print w/replies, xml ) Need Help??


in reply to Is it Perl problem or VPS problem?

The box you are testing on doesn't have the same restrictions as the box where you are having problems. This is one of your problems.

Some ideas ... Write a separate Perl program that uses a bunch of memory, like a large array ... does that disappear when you run it? Increase the array size. What about running several copies? Log information (eg "made it here") to a separate file or use warn (and check error log). Does that die right before the array is loaded?

Ask the VPS people what kind of warning you get if your programs exceed the memory limit. I bet you get no warning and nothing is logged anywhere. Maybe decrease the number of threads? Each thread only increases the memory.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2020-11-25 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?