Skip to content

504 Timeout response #74

@lucadelu

Description

@lucadelu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions