{"result":{"depiction_url":null,"edges":{"hasreference":{"objects":[{"created":"2026-10-07T11:13:45Z","object_id":{"id":3078,"is_a":["text","documentation","adminguide"],"name":"admin_health_checks","title":{"_type":"trans","tr":{"en":"Check that a site is working"}},"uri":"https:\/\/zotonic.com\/id\/3078"},"seq":1},{"created":"2026-10-07T11:13:45Z","object_id":{"id":3004,"is_a":["text","documentation","developerguide"],"name":"developer_slow_requests","title":{"_type":"trans","tr":{"en":"A page is slow"}},"uri":"https:\/\/zotonic.com\/id\/3004"},"seq":2}],"predicate":{"id":2774,"is_a":["meta","predicate"],"name":"hasreference","title":{"_type":"trans","tr":{"en":"Documentation reference"}},"uri":"https:\/\/zotonic.com\/id\/hasreference"}},"references":{"objects":[{"created":"2020-05-30T05:47:57Z","object_id":{"id":1892,"is_a":["text","documentation","reference","controller"],"name":"doc_controller_controller_mqtt_transport","title":"controller_mqtt_transport","uri":"https:\/\/zotonic.com\/id\/1892"},"seq":1000000}],"predicate":{"id":332,"is_a":["meta","predicate"],"name":"references","title":{"_type":"trans","tr":{"en":"References"}},"uri":"https:\/\/zotonic.com\/id\/references"}},"relation":{"objects":[{"created":"2020-05-30T05:47:57Z","object_id":{"id":1318,"is_a":["text","documentation","cookbook"],"name":"doc_cookbook_exometer","title":{"_type":"trans","tr":{"en":"Inspect and export Zotonic metrics"}},"uri":"https:\/\/zotonic.com\/id\/1318"},"seq":1000000}],"predicate":{"id":303,"is_a":["meta","predicate"],"name":"relation","title":{"_type":"trans","tr":{"nl":"Relatie","en":"Relation"}},"uri":"http:\/\/purl.org\/dc\/terms\/relation"}},"subject":{"objects":[{"created":"2026-10-07T11:13:46Z","object_id":{"id":2554,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_how_to_guide","title":"How-to guide","uri":"https:\/\/zotonic.com\/id\/2554"},"seq":1},{"created":"2026-10-07T11:13:46Z","object_id":{"id":2566,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_operator","title":"Operator","uri":"https:\/\/zotonic.com\/id\/2566"},"seq":2},{"created":"2026-10-07T11:13:46Z","object_id":{"id":2603,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_configuration","title":"Configuration","uri":"https:\/\/zotonic.com\/id\/2603"},"seq":3},{"created":"2026-10-07T11:13:46Z","object_id":{"id":2689,"is_a":["categorization","keyword","keyword_quality"],"name":"zotonic_topic_reliability","title":"Reliability","uri":"https:\/\/zotonic.com\/id\/2689"},"seq":4}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":1319,"is_a":["text","documentation","developerguide"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/1319"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_developerguide_deployment_server_configuration","page_url":{"en":"https:\/\/zotonic.com\/docs\/1319\/tune-server-limits-from-measured-load","x-default":"https:\/\/zotonic.com\/docs\/1319\/tune-server-limits-from-measured-load"},"preview_url":null,"resource":{"body":{"_type":"trans","tr":{"en":"<p>Start with a working deployment and measure open files, connections, memory, CPU, latency and database-pool pressure under representative load. Check the limits of the <strong>service process<\/strong>, not only your interactive shell.<\/p>\n<p>For systemd, inspect <code>systemctl show zotonic -p LimitNOFILE -p TasksMax<\/code> and the unit&#39;s configured user and environment. If the process is approaching its descriptor limit, set a reviewed <code>LimitNOFILE=<\/code> in a service override, reload systemd, restart during a maintenance window and verify the new process limit.<\/p>\n<p>Do not copy a universal file-limit number or size connection-tracking tables as a fixed fraction of memory. Check whether conntrack is on the traffic path, its observed occupancy, and the host&#39;s memory budget first. Aggressive timeout changes can break long-lived MQTT\/WebSocket connections.<\/p>\n<p>Change one setting at a time, record the previous value, load-test again, and keep a rollback procedure. A higher limit cannot repair a connection leak or an undersized database.<\/p>"}},"category_id":{"id":317,"is_a":["meta","category"],"name":"developerguide","title":"Developer guide","uri":"https:\/\/zotonic.com\/id\/developerguide"},"content_group_id":{"id":339,"is_a":["meta","content_group"],"name":"default_content_group","title":{"_type":"trans","tr":{"en":"Default Content Group"}},"uri":"https:\/\/zotonic.com\/id\/default_content_group"},"created":"2020-05-30T05:47:18Z","creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"doc_editorial_bundle":true,"doc_editorial_edges":{"hasreference":[3004,3078],"subject":[2554,2566,2603,2689]},"github_url":"https:\/\/github.com\/zotonic\/zotonic\/tree\/master\/doc\/developer-guide\/deployment\/server-configuration.rst","is_authoritative":true,"is_dependent":false,"is_featured":false,"is_protected":false,"is_published":true,"is_unfindable":false,"language":["en"],"modified":"2026-10-07T11:13:57Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"name":"doc_developerguide_deployment_server_configuration","pivot_geocode":null,"pivot_location_lat":null,"pivot_location_lng":null,"privacy":0,"publication_end":"9999-06-01T00:00:00Z","publication_start":"2022-02-15T10:01:44Z","slug":"tune-server-limits-from-measured-load","summary":{"_type":"trans","tr":{"en":"Check actual limits and workload before changing operating-system settings."}},"title":{"_type":"trans","tr":{"en":"Tune server limits from measured load"}},"title_slug":{"_type":"trans","tr":{"en":"tune-server-limits-from-measured-load"}},"tz":"UTC","uri":null,"version":33,"visible_for":0},"uri":"https:\/\/zotonic.com\/id\/1319","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/1319"}},"status":"ok"}