Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gearmand(1p) [debian man page]

GEARMAND(1p)						User Contributed Perl Documentation					      GEARMAND(1p)

NAME
gearmand - Gearman client/worker connector. SYNOPSIS
gearmand --daemon DESCRIPTION
This is the main executable for Gearman::Server. It provides command-line configuration of port numbers, pidfiles, and daemonization. OPTIONS
--daemonize / -d Make the daemon run in the background (good for init.d scripts, bad for running under daemontools/supervise). --port=7003 / -p 7003 Set the port number, defaults to 7003. --pidfile=/some/dir/gearmand.pid Write a pidfile when starting up --debug=1 Enable debugging (currently the only debug output is when a client or worker connects). --accept=10 Number of new connections to accept each time we see a listening socket ready. This doesn't usually need to be tuned by anyone, however in dire circumstances you may need to do it quickly. --wakeup=3 Number of workers to wake up per job inserted into the queue. Zero(0) is a perfectly acceptable answer, and can be used if you don't care much about job latency. This would bank on the base idea of a worker checking in with the server every so often. Negative One (-1) indicates that all sleeping workers should be woken up. All other negative numbers will cause the server to throw exception and not start. --wakeup-delay= Time interval before waking up more workers (the value specified by --wakeup) when jobs are still in the queue. Zero(0) means go as fast as possible, but not all at the same time. Similar to -1 on --wakeup, but is more cooperative in gearmand's multitasking model. Negative One (-1) means that this event won't happe, so only the initial workers will be woken up to handle jobs in the queue. COPYRIGHT
Copyright 2005-2007, Danga Interactive You are granted a license to use it under the same terms as Perl itself. WARRANTY
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND. AUTHORS
Brad Fitzpatrick <brad@danga.com> Brad Whitaker <whitaker@danga.com> SEE ALSO
Gearman::Server Gearman::Client Gearman::Worker Gearman::Client::Async perl v5.10.1 2009-10-05 GEARMAND(1p)

Check Out this Related Man Page

CHECK_GEARMAN(8)					  System Administration Utilities					  CHECK_GEARMAN(8)

NAME
check_gearman - Nagios service check to monitor the gearman job server DESCRIPTION
usage: check_gearman [ -H=<hostname>[:port] ] [ -t=<timeout> ] [ -w=<jobs warning level> ] default: 10 [ -c=<jobs critical level> ] default: 100 [ -W=<worker warning level> ] default: 25 [ -C=<worker critical level> ] default: 50 [ -q=<queue> ] to send a test job: [ -u=<unique job id> ] default: check [ -s=<send text> ] [ -e=<expect text> ] [ -a send async ] will ignore -e [ -h print help ] [ -v verbose output ] [ -V print version ] - You may set thresholds to 0 to disable them. - Thresholds are only for server checks, worker checks are availability only perfdata format when checking job server: |'queue waiting'=current waiting jobs;warn;crit;0 'queue running'=current running jobs 'queue worker'=current num worker;warn;crit;0 Note: set your pnp RRD_STORAGE_TYPE to MULTIPLE to support changeing numbers of queues. see http://docs.pnp4nagios.org/de/pnp-0.6/tpl_custom for detailed information perfdata format when checking mod gearman worker: |worker=10 jobs=1508c Note: Job thresholds are per queue not totals. EXAMPLES
Check job server: %>./check_gearman -H localhost -q host check_gearman OK - 0 jobs running and 0 jobs waiting. Version: 0.14|'host_waiting'=0;10;15;0 'host_running'=0 'host_worker'=3;5;10;0 Check worker: %> ./check_gearman -H <job server hostname> -q worker_<worker hostname> -t 10 -s check check_gearman OK - host has 5 worker and is working on 0 jobs|worker=5 jobs=96132c SEE ALSO
The Mod Gearman documentation is available in /usr/share/doc/mod-gearman/README.html check_gearman 1.3.6-1 July 2012 CHECK_GEARMAN(8)
Man Page