GEARMAND(1)
π GEARMAND π
okay bestie, welcome to GEARMAND(1) β it's a page from the User Contributed Perl Documentation section, and it's literally the whole vibe of Gearman's server executable. buckle up π
β¨ NAME β¨
gearmand β the Gearman client/worker connector. yes queen, that's the whole job description π
πΈ SYNOPSIS πΈ
gearmand --daemon
that's it. that's the vibe. go off π
π¦ DESCRIPTION π¦
so this is the main executable for Gearman::Server β¨ it's the one that actually gets the party started.
what it gives you is command-line configuration of port numbers, pidfiles, and daemonization. that's it, that's the whole menu. no cap π«Ά
π OPTIONS π
--daemonize,-dβ makes the daemon run in the background. lowkey perfect for init.d scripts, highkey terrible if you're running under daemontools/supervise. pick your fighter π--port=4730,-p 4730β sets the port number. it defaults to4730. iconic default, honestly β--listen hostname,-L hostnameβ the address the server should listen on.
Default is... nothing listed. like, the manpage literally just says "Default is" and then stops. so yeah, that's a mystery wrapped in an enigma, bestie π
--pidfile=/some/dir/gearmand.pidβ writes a pidfile when it starts up. classic π--debug=1β turns debugging on. and ngl, the current debug output is only when a client or worker connects, so don't expect a whole fireworks show π--accept=10β how many new connections we accept each time we see a listening socket ready. usually nobody needs to tune this, but in dire circumstances you may need to do it quickly. dire!! circumstances!! π³--wakeup=3β how many workers to wake up per job inserted into the queue. let's break it down:- Zero (
0) is a perfectly acceptable answer π«Ά use it if you don't care much about job latency. this banks on the base idea of a worker checking in with the server every so often. - Negative One (
-1) means all sleeping workers should be woken up. everybody up, it's time to work π - All other negative numbers will cause the server to throw an exception and not start. so like,
-2? not today, bestie. no β
- Zero (
--wakeup-delay=β the time interval before waking up more workers (the amount specified by--wakeup) when jobs are still hanging out in the queue.- Zero (
0) means go as fast as possible, but not all at the same time. similar to-1on--wakeup, but more cooperative in gearmand's multitasking model. teamwork makes the dream work π§ - Negative One (
-1) means this event won't happen, so only the initial workers get woken up to handle the jobs in the queue.
- Zero (
--versionβ displays the version and dips. bye π
π COPYRIGHT π
Copyright 2005-2007, Danga Interactive
You are granted a license to use it under the same terms as Perl itself. periodt π
π₯ WARRANTY π₯
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
read that again. NO WARRANTY OF ANY KIND. not even a little one. she said what she said π
π AUTHORS π
- Brad Fitzpatrick <brad@danga.com>
- Brad Whitaker <whitaker@danga.com>
two Brads, one legend. main character energy fr fr π
π SEE ALSO π
- Gearman::Server
- Gearman::Client
- Gearman::Worker
- Gearman::Client::Async
and that's a wrap π this lil page is from perl v5.42.0, dated 2025-07-25, and yeah β GEARMAND(1) stays iconic forever. mwah πβ¨
π¦ where this page comes from
- fedora 43: perl-Gearman-Server 1.130.1-28.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms