Mail::MtPolicyd::SessionCache::Memcached(3pm)

Mail::MtPolicyd::SessionCache::Memcached3pm

Session cache adapter for memcached

Usage

  <SessionCache>
    module = "Memcached"
    #memcached = "memcached"
    # expire session cache entries
    expire = "300"
    # wait timeout will be increased each time 50,100,150,... (usec)
    lock_wait=50
    # abort after n retries
    lock_max_retry=50
    # session lock times out after (sec)
    lock_timeout=10
  </SessionCache>

Version

version 2.05

Parameters

memcached (default: memcached)

Name of the database connection to use.

You have to define this connection first.

see Mail::MtPolicyd::Connection::Memcached

expire (default: 5*60)

Timeout in seconds for sessions.

lock_wait (default: 50)

Timeout for retry when session is locked in milliseconds.

The retry will be done in multiples of this timeout.

When set to 50 retry will be done in 50, 100, 150ms...

lock_max_retry (default: 50)

Maximum number of retries before giving up to obtain lock on a session.

lock_timeout (default: 10)

Timeout of session locks in seconds.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Markus Benning <[email protected]>

From mtpolicyd 2.05-1.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.