-3

I have following queries with respect to gearman server on linux

1) From command line, how can I identify if gearman server is currently running. 2) How to stop the server 3) How to start the server

Arti
  • 35
  • 1
  • 2

1 Answers1

0

How to stop / start / restart Gearman Server

First, know the path to gearmand and gearadmin, on my server it is:

/usr/bin/gearmand
/usr/bin/gearadmin

How to STOP Gearman Server

gearadmin --shutdown

How to START Gearman Server

gearmand -d

Note: If you are not using a database to queue Gearman worker jobs, that means all pending jobs are in memory, all pending jobs will be lost when you shutdown! If you do use a database, your pending jobs will be available upon restart and will not be lost.

Hope this helps!

Rahul
  • 763
  • 1
  • 12
  • 45