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

Re: CGI script random hangs - seemingly Perl or Apache related

by dingus (Friar)
on Dec 05, 2002 at 13:18 UTC ( [id://217751]=note: print w/replies, xml ) Need Help??


in reply to CGI script random hangs - seemingly Perl or Apache related

A couple of "identify the problem component" ideas

One obvious test would be to install a different webserver on another port (e.g. thttpd running on port 81) and see if that also has the same problem. If it does then it looks like the issue is not with the webserver part.

It seems unlikely to be caused by perl - but you could write a very simple shell script to do the same thing as your trivial perl script and see if it also fails.

Another alternative would be to run one of the POE Cookbook web servers with the trivial modification so that they always deiver the page you are asking for.

If you think this could be caused by being under load then "wget" is a very simple but effective way to hammer a server.

Dingus


Enter any 47-digit prime number to continue.
  • Comment on Re: CGI script random hangs - seemingly Perl or Apache related

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found