in reply to Expect.pm causing Memory fault?
See what "free" command says about free memory, and what "ulimit" command says about limits has your user
But, wait! Which is the exact message which your application/perl give you ?
Maybe it is not a limit / free memory available problem
In your situation, I surely would test an "empty program" with only your sentence:
#!/usr/bin/perl use strict; use Expect; my $user="user"; my $source_DB="source"; Expect->spawn("ssh $User\@$source_DB"); Expect->interact;
And see if it is the root cause .. (I doubt it)
Maybe google has more hints
Regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Expect.pm causing Memory fault?
by vishi (Beadle) on Aug 09, 2011 at 12:55 UTC |