Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: 504 timeout error |
|
Author |
|
jacinthl
Joined: 11 Aug 2010 Posts: 2
|
Posted: Wed 11 Aug '10 6:34 Post subject: 504 timeout error |
|
|
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
|
Posted: Wed 11 Aug '10 6:37 Post subject: |
|
|
plz help~~thanks in advance. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 11 Aug '10 10:20 Post subject: |
|
|
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 |
|
|
|
|
|
|