rbretz

*
  • *
  • 2
  • Luxor Forums
Error 504 - Gateway Timeout
« on: February 07, 2018, 10:36:55 AM »
Hello,

I am constantly getting the Error 504 - Gateway Timeout after manually running the generator for about 2 minutes.
The generator never goes beyond 2 minutes.

I am a registered customer with a license that is assigned to my email address.

I am running the following on my website:

MyBB Version   1.8.14   
PHP Version   7.0.27
SQL Engine   MySQLi 5.6.36

Please help me to fix this issue.

Thanks!
RBretz
Re: Error 504 - Gateway Timeout
« Reply #1 on: February 07, 2018, 07:23:54 PM »
Hello,

it looks like your server configuration doesn't allow to run the script long enough to create full sitemap. Please try to increase memory_limit and max_execution_time settings in php configuration at your host (php.ini file) or contact hosting support regarding this.
 

rbretz

*
  • *
  • 2
  • Luxor Forums
Re: Error 504 - Gateway Timeout
« Reply #2 on: February 07, 2018, 08:27:10 PM »
I have increase both to the maximum allowed by my hosting provider.

increase memory_limit=768M
max_execution_time=120

The script fails after about 2 minutes.

Please advise.
RBretz
Re: Error 504 - Gateway Timeout
« Reply #3 on: February 08, 2018, 05:17:08 AM »
Hello,  in this case I would recommend to run generator in command line if you have ssh access to your server.