The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

argon - run an Argon service

SYNOPSIS

    argon manager --host 127.0.0.1 --port=8000
    argon worker  --host 127.0.0.1 --port=8001 --manager=127.0.0.1:8000 --workers=4 --max_requests=100 --queue_size=100

DESCRIPTION

Starts an Argon service node.

OPTIONS

help

Prints out this help text.

verbose

When specified, turns on extra logging.

host

IP address of the host interface on which to listen. Defaults to 127.0.0.1.

port

Port number on which to listen. Defaults to an OS-assigned port.

queue-size (manager)

Sets the maximum number of items which may be queued when all workers are busy, after which new tasks are rejected until the queue is below the maximum size. Defaults to no limit.

workers (worker)

The number of worker processes to start. Defaults to the number of CPUs present on the system. Applies only to workers.

max-requests (worker)

The maximum number of tasks a worker may handle before it is restarted. If not specified, worker processes are never considered exhausted. Applies only to workers.

manager (worker)

The address of the manager process in the format host:port. If not specified, the worker is run in standalone mode. Applies only to workers.