Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

timeout error message

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Newbie having difficulty with proxy  
Author Message
googlegroups

External


Since: Jul 14, 2003
Posts: 1



(Msg. 1) Posted: Mon Jul 14, 2003 8:02 pm
Post subject: timeout error message
Archived from groups: alt>apache>configuration (more info?)

I have an Apache 2 web server that runs some CGI scripts. The CGI
scripts take a list of jobs and process the jobs. If the list is
pretty long than the script could take a very long time to run and can
hit the Apache time out limit. When it hits the limit I usually get
the standard apache 500 error saying there was some internal server
error. I figure I can do a couple of things...

1) increase the timeout variable... or
2) rewrite the script to constantly send some message back to the user
that it is still processing.

The first is good, and I've done that... But what happens when I hit
that limit... I'll get the same error message. The second is probably
the optimum solution, and I am going to have to do it... But what
happens to the other scripts. I have over 1000 that could potentially
have this problem. It would take an awefully long time to go through
them.

I was wondering if there was a way to display a special "timeout
error" page which says that the script is taking too long to run so
that the users know the exact problem. The internal server error would
still be needed for when the script really does fail, but the timeout
error page will be used when I hit the timeout.

If anybody can provide input, that would be great.
Thanks,
Scott

 >> Stay informed about: timeout error message 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
A CGI got 2,000 error message - Hi, All: I wrote a perl-CGI program to receive file upload from visitor. Every thing is fine, except that when user cancel the upload process by press ESC in IE, my Apache server will generate 2,000 lines of error message in error.log. Is this normal? ...

PHP Error - I seem to be unable to run/exec php documents on my webserver, and i have no idea why. the includes at the bottom of http.conf are both # ed out. but when i enable them, apache doesnt start! Any solutions much appreciated, and a possible method of..

404 Error Page (PHP) - In httpd.conf, I put in this line. ErrorDocument 404 /404.html Now, when I go to www.myweb.com/123, I see the 404.html. But when I enter this line into the httpd.conf. ErrorDocument 404 /404.php And enter www.myweb.com/123, I get "The page canno...

Apache error - I am using Solaris8, Weblogic 7sp2 and IBM HTTPD server. Getting the following error [error] READ_TIMEOUT [os error=0, line 199 of ../nsapi/Reader.cpp]: Any help is appreciated. Thanks

ExpiresActive causing error - Hi, I'm trying to control the caching of my web content with the ExpiresActive directive and the .htaccess file in the /public_html directory of my site. I put the following lines (straight from the Apache manual) into the ..htaccess file but get the..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]