504 Error when searching for Place with no associated events

Paul Barrett
Posts: 72
Joined: Sun Apr 08, 2018 6:52 pm

504 Error when searching for Place with no associated events

Post by Paul Barrett »

TNG Admin > Places > Check "No associated events

56k places
DSM 7.01
php 7.4 Mem set to 515MB (increased from 128MB)
DS1821+ 16GB RAM
AMD Ryzen V1500B Quad Core 2.2GHz

504 Gateway timeout error.

Any suggestions please Steve?
Steve
Posts: 131
Joined: Sun Oct 01, 2017 3:08 pm

Re: 504 Error when searching for Place with no associated events

Post by Steve »

I've tried using this feature on my live site and received the same error. This is not a memory problem but is caused by Apache timing out when running a long PHP script.

Additionally importing a very large GEDCOM will cause the same error.

To avoid this error I set up a local version of TNG that runs within my LAN and not the web. This version runs on NGINX so it does not experience the time out errors associated with Apache. Here are instructions for using a local TNG installation.