Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70667

Gearman plugin is not helping to schedule the jobs in multiple workers (controllers)

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • gearman-plugin
    • None

      Hi,

      we have some build jobs in an jenkins ..i am checking an option to distribute the jenkins jobs in the queue to be served by another controller.

      So for this i have installed 2 jenkins controller and installed the gearman plugin in both jenkins and also configured the server but now when i try to trigger 10-15 jobs i can see only one jenkins controller is scheduling them ..another controller is not doing anything.

      more over even though 2 workers in this case it is not helping me to distribute the builds in the queue by multiple worker.

       

      Am i missing anything here.

          [JENKINS-70667] Gearman plugin is not helping to schedule the jobs in multiple workers (controllers)

          Ananta created issue -
          Ananta made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Ananta made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          B S added a comment -

          Check that the Gearman server really sees both Jenkins controllers, and that the functions registered are corresponding to the jobs and label in each controller.

          Try the following in bash to see the number of executors available per job:

          echo "status" | nc -N <gearman server address> 4730

          Try the following in bash to see that the executors are really registered in Gearman:

          echo "workers" | nc -N <gearman server address> 4730

          Note: the netcat (nc) version used might differ in its support of flags between different platforms (fedora/centos, ubuntu and so on).

          B S added a comment - Check that the Gearman server really sees both Jenkins controllers, and that the functions registered are corresponding to the jobs and label in each controller. Try the following in bash to see the number of executors available per job: echo "status" | nc -N <gearman server address> 4730 Try the following in bash to see that the executors are really registered in Gearman: echo "workers" | nc -N <gearman server address> 4730 Note: the netcat (nc) version used might differ in its support of flags between different platforms (fedora/centos, ubuntu and so on).
          Mark Waite made changes -
          Comment [ A very interesting topic that I have been looking at, I think this is one of the most important information for me [run 3|https://runaway3d.io/]. And I'm glad to read your post. Thanks for sharing! 

            ]

            Unassigned Unassigned
            ananta12345 Ananta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: