Tuesday 27 October 2026 05:02:04 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Persistent worker

A long-lived process that handles multiple requests and can retain state between them if cleanup fails.

A persistent worker is a long-lived process that handles multiple requests instead of starting fresh for each one. PHP-FPM commonly uses this model to serve web requests efficiently. Because the process remains alive, data or other state from one request can remain in memory and affect later requests if the application or runtime does not clean it up correctly.

This matters for security when request-specific state is reused across users or operations. In an attack, a flaw may let an attacker influence a worker’s state and cause a later request to use it incorrectly, potentially exposing data or enabling code execution. Defenders should apply runtime and application fixes, recycle workers when required, and monitor for suspicious request patterns. Correct cleanup and isolation between requests reduce the risk of cross-request effects.

← WIKICROOK index