Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

504 Timeout response #74

Open
lucadelu opened this issue May 28, 2024 · 0 comments
Open

504 Timeout response #74

lucadelu opened this issue May 28, 2024 · 0 comments

Comments

@lucadelu
Copy link
Contributor

Hi,

we are facing a problem with a Lizmap docker instance with many requests and a lot of them (from 5% to 20%) are returning 504 response.
Are there any parameters that we can adjust to solve this problem; it is also not clear to me if the problem is coming from NGINX or from PHP

These are examples of the error in the Lizmap error log

2024/05/28 08:02:46 [error] 24#24: *6983 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.3, server: lizmap, request: "GET /index.php/lizmap/service?repository=XXXX&project=XXX&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=predefinito&TRANSPARENT=true&LAYERS=Comuni&DPI=96&WIDTH=422&HEIGHT=716&CRS=EPSG%3A3857&BBOX=1466974.8586397187%2C5070068.58748574%2C1469768.86422773%2C5074807.578445204 HTTP/1.1", upstream: "fastcgi://172.18.0.24:9000", host: "gishosting.eu", referrer: "https://gishosting.eu/index.php/view/map?repository=XXXX&project=XXXX"
2024/05/28 08:03:20 [error] 22#22: *7030 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.18.0.3, server: lizmap, request: "GET /index.php/lizmap/service?repository=XXX&project=XXX&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=predefinito&TRANSPARENT=true&LAYERS=terreni&DPI=96&WIDTH=422&HEIGHT=716&CRS=EPSG%3A3857&BBOX=1466941.785656906%2C5070035.514502928%2C1469735.7912449173%2C5074774.505462391 HTTP/1.1", upstream: "fastcgi://172.18.0.24:9000", host: "gishosting.eu", referrer: "https://gishosting.eu/index.php/view/map?repository=XXX&project=XXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant