perl out of memory?
Date: Wed, 05 May 2004 18:28:04 -0000
Given the script (x.pl):
#!/usr/bin/perl
use Net::FTP;
1;
When the command is executed as root 'perl -wc x.pl' all
works well. When the same command is executed as a user
the errors below are given:
$ perl -wc x.pl
Out of memory!
Callback called exit at x.pl line 3.
END failed--call queue aborted at x.pl line 17.
Callback called exit at x.pl line 17.
BEGIN failed--compilation aborted at x.pl line 3.
I've changed the limits for the user, logged out and back
in, and still get the same result. What else might be
constraining the user's account such that the simple
script above can't even pass a '-wc'?
Mike
Relevant Pages
- Obtaining complete Unix command line that evoked script as string
... If there is a more appropriate list for this, let me know; the other perl lists I've seen seem to specialised for this. ... Note this is not just the arguments of the call to the script, but everything including pipes and redirects, etc., e.g. ... Ideally the perl interpreter would grab the complete command line as its evoked and I'd access this via a variable. ... (perl.beginners) - Re: Displaying a users group memberships
... The user's username is passed to the script via the command line and captured with ARGV. ... I want to determine the group memberships (much like executing `groups` from the command line) and run those through a loop for processing. ... I'm very new to Perl so maybe I'm just looking for the wrong terms or something. ... The format of the command is simple: `test.pl username`, where username is a real username on the system in question. ... (perl.beginners) - Re: How to time out a command
... > I have a ksh script that calls another utility (command A). ... I once made the following script to do exactly that. ... # Runs a command and kills it, if necessary, after a given timeout. ... # 0<c<127 - job exited with this exit code ... (comp.unix.shell) - Re: Most dependable way to run system commands
... Eventually I'd like to bring the execution of a few system commands ... specific execution issue (it dealt more with executing Perl code)). ... Unix and many similar systems, the exit status is an integer, with 0 ... variable after running a command via system or backticks. ... (perl.beginners) - Re: Is this possible in Perl?
... whatever perl does for the waiting user when it performs the exit ... process that started the Perl script. ... the process that started your script waiting for. ... (comp.lang.perl.misc) |
|