Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: GD module stops working

by Jouke (Curate)
on Jul 24, 2001 at 16:53 UTC ( #99310=note: print w/replies, xml ) Need Help??


in reply to Re: GD module stops working
in thread GD module stops working

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

Replies are listed 'Best First'.
Re: Re: Re: GD module stops working
by kbradford (Novice) on Jul 24, 2001 at 17:09 UTC
    Thanks for your advice Jouke. I don't think it has to do with the Oracle connection. I'm beginning to think that it is my web server. The graphs will display about 5 times, then on the 6th it will display Generating a graph for $array_length machines. Please wait... and it will appear to be loading the image and then stops loading the page. Then, no cgi scripts will work. Even other scripts that do not attempt to access the database won't load. Its as if the web server does not want to process any cgi scripts. Currently I have my registry pointing to perlis.dll, I might change it to perl.exe %s. It will be slower, but maybe it will work. And yes, there was some crap before the part of the code I posted, but nothing other than some beginning crap to get variables and print html headers.

    Thanks, Kevin

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://99310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2019-08-26 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?