It's still very hard to make sensible comments, but I'll give it a try:
First piece of advice: add use strict; at the
top of your script, and add -w after the shebang (#!).
I get the feeling something is missing from the beginning, since you're
starting with $field = $inputs{"field"};
You say that it dies without doing anything. That means it does not
reach the part where you're creating the graphs themselves, since
that's the first unconditional 'print' you're using (print "Generating a graph for $array_length machines. Please wait...";)
This means your script probably has a problem with the connection
to the Oracle database. Could it be that your database is very busy? Could it be that the
response from the database is so slow that the script times out? Could it be you're
receiving so much data that it takes too long for the data to arrive that
PWS eventually kills the CGI script?
Just my EUR 0.02.
Jouke Visser, Perl 'Adept'
Using Perl to help the disabled: pVoice and pStory