Configuration
beaqnstalkd has no configuration file and only a handful of command-line options.
Options
-b <path>Use a binlog to keep jobs on persistent storage in directory
<path>. Upon startup,beanstalkdwill recover any binlog that is present in<path>, then, during normal operation, append new jobs and changes in state to the binlog.-cPerform online, incremental compaction of binlog files. Negates
-n. This is the default behavior.Do not use this option, except to negate
-n. Both-cand-nwill likely be removed in a futurebeanstalkdrelease.-f <ms>Call
fsyncat most once every<ms>milliseconds. Larger values for<ms>reduce disk activity and improve speed at the cost of safety. A power failure could result in the loss of up to<ms>milliseconds of history.A
<ms>value of0will causebeanstalkdto callfsyncevery time it writes to the binlog.This option has no effect without
-b.-FNever call
fsync. Equivalent to-fwith an infinite<ms>value.This is the default behavior.
This option has no effect without
-b.-hShow a brief help message and exit.
-l <addr>Listen on address
<addr>(default is0.0.0.0).Option
-lhas no effect ifsd-daemon(5)socket activation is being used.See also Environment.
-nTurn off binlog compaction, negating
-c.Do not use this option. Both
-cand-nwill likely be removed in a futurebeanstalkdrelease.-p <port>Listen on TCP port
<port>. Default is11300.Option
-phas no effect ifsd-daemonsocket activation is being used.See also Environment.
-s <bytes>The size in bytes of each binlog file.
This option has no effect without
-b.-u <user>Become the user
<user>and its primary group.-VIncrease verbosity. May be used more than once to produce more verbose output. The output format is subject to change.
-vPrint the version string and exit.
-z <bytes>The maximum size in bytes of a job.
Environment
LISTEN_PID,LISTEN_FDSThese variables can be set by
init. Seesd_listen_fdsfor details.