1GEARMAND(1)           User Contributed Perl Documentation          GEARMAND(1)
2
3
4

NAME

6       gearmand - Gearman client/worker connector.
7

SYNOPSIS

9        gearmand --daemon
10

DESCRIPTION

12       This is the main executable for Gearman::Server.  It provides command-
13       line configuration of port numbers, pidfiles, and daemonization.
14

OPTIONS

16       --daemonize / -d
17           Make the daemon run in the background (good for init.d scripts, bad
18           for running under daemontools/supervise).
19
20       --port=7003 / -p 7003
21           Set the port number, defaults to 7003.
22
23       --pidfile=/some/dir/gearmand.pid
24           Write a pidfile when starting up
25
26       --debug=1
27           Enable debugging (currently the only debug output is when a client
28           or worker connects).
29
30       --accept=10
31           Number of new connections to accept each time we see a listening
32           socket ready. This doesn't usually need to be tuned by anyone,
33           however in dire circumstances you may need to do it quickly.
34
35       --wakeup=3
36           Number of workers to wake up per job inserted into the queue.
37
38           Zero (0) is a perfectly acceptable answer, and can be used if you
39           don't care much about job latency.  This would bank on the base
40           idea of a worker checking in with the server every so often.
41
42           Negative One (-1) indicates that all sleeping workers should be
43           woken up.
44
45           All other negative numbers will cause the server to throw exception
46           and not start.
47
48       --wakeup-delay=
49           Time interval before waking up more workers (the value specified by
50           --wakeup) when jobs are still in the queue.
51
52           Zero (0) means go as fast as possible, but not all at the same
53           time. Similar to -1 on --wakeup, but is more cooperative in
54           gearmand's multitasking model.
55
56           Negative One (-1) means that this event won't happe, so only the
57           initial workers will be woken up to handle jobs in the queue.
58
60       Copyright 2005-2007, Danga Interactive
61
62       You are granted a license to use it under the same terms as Perl
63       itself.
64

WARRANTY

66       This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
67

AUTHORS

69       Brad Fitzpatrick <brad@danga.com>
70
71       Brad Whitaker <whitaker@danga.com>
72

SEE ALSO

74       Gearman::Server
75
76       Gearman::Client
77
78       Gearman::Worker
79
80       Gearman::Client::Async
81
82
83
84perl v5.12.1                      2009-10-05                       GEARMAND(1)
Impressum