Perl launched from Java takes forever
Posted
by Wade Williams
on Stack Overflow
See other posts from Stack Overflow
or by Wade Williams
Published on 2010-06-01T14:21:11Z
Indexed on
2010/06/02
8:33 UTC
Read the original article
Hit count: 205
I know this is an absolute shot in the dark, but we're absolutely perplexed.
A perl (5.8.6) script run by Java (1.5) is taking more than an hour to complete. The same script, when run manually from the command line takes 12 minutes to complete. This is on a Linux host.
Logging is the same in both cases and the script is run with the same parameters in both cases.
The script does some complex stuff like Oracle DB access, some scp's, etc, but again, it does the exact same actions in both cases.
We're stumped. Has anyone ever run into a similar situation? If not and if you were faced with the same situation, how would you consider debugging it?
© Stack Overflow or respective owner