Rahushi has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I have a small script to connect to some 11 linux servers using Net::SSH2 and execute the command. After I execute the command at remote machine, I get the output and puts the machine name as key in hash and output as value. My problem is, it does execute successfully for 10 servers, however when I add 11th server, it exits saying out of memory. I am breaking my head over this. Any help would be highly appreciated. I can post sample of my code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Out of memory error for very small hash
by salva (Canon) on Sep 13, 2012 at 21:17 UTC | |
|
Re: Out of memory error for very small hash
by Riales (Hermit) on Sep 13, 2012 at 21:15 UTC | |
|
Re: Out of memory error for very small hash
by Anonymous Monk on Sep 14, 2012 at 02:16 UTC | |
by Rahushi (Initiate) on Sep 14, 2012 at 14:40 UTC | |
|
Re: Out of memory error for very small hash
by Anonymous Monk on Sep 14, 2012 at 01:48 UTC |