FCGI::Engine::ProcManager::Constrained(3pm)

FCGI::Engine::ProcManager::Constrained3pm

Fastcgi applications with memory and number of request limits.

Overview

A constrained process manager that restarts child workers after a number of requests or if they use too much memory.

Most of the memory usage code is stolen from Apache2::SizeLimit.

Attributes

max_requests

The number of requests a child process can handle before being terminated.

0 (the default) means let child processes do an infinite number of requests

sizecheck_num_requests

The number of requests between a check on the process size taking place.

0 (the default) means never attempt to check the process size.

max_process_size

The maximum size of the process (both shared and unshared memory) in KB.

0 (the default) means unlimited.

max_unshared_size

The maximum amount of memory in KB this process can have that isn't Copy-On-Write shared with other processes.

0 (the default) means unlimited.

min_share_size

The minimum amount of memory in KB this process can have Copy-On-Write from it's parent process before it is terminate.

Methods

I will fill this in more eventually, but for now if you really wanna know, read the source.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13

Bugs

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

Author

Tomas Doran <[email protected]>

From libfcgi-engine-perl 0.22-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.