logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: 504 timeout error
Author
jacinthl



Joined: 11 Aug 2010
Posts: 2

PostPosted: Wed 11 Aug '10 6:34    Post subject: 504 timeout error Reply with quote

i'm using apache2 to run php files in remote server.
the php files contain sql statements with too many loops which use to retrieve numerous amount of data to show as a report at client side.
thus, my client side ends up with 504 time out error.

i'm trying to solve it with setting longer timeout in httpd.conf file at server side. by adding 'TimeOut 600' at first line of the file, and restarted my apache2.

but, it was like no effect at all to the problem. The 504 timeout error still came out within 5minutes at client side.
Back to top
jacinthl



Joined: 11 Aug 2010
Posts: 2

PostPosted: Wed 11 Aug '10 6:37    Post subject: Reply with quote

plz help~~thanks in advance.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7355
Location: Germany, Next to Hamburg

PostPosted: Wed 11 Aug '10 10:20    Post subject: Reply with quote

Do you need the data from that new with every request? It might be better to request that url with a commandline script save the result in a file. And than then the local script opens that file instead of requesting the url itself.
Back to top


Reply to topic   Topic: 504 timeout error View previous topic :: View next topic
Post new topic   Forum Index -> Apache