|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67844 GearmanWorker::addFunction - timeout bug
Submitted: 2014-08-14 17:17 UTC Modified: 2017-01-10 08:24 UTC
From: alf at tek dot no Assigned:
Status: Suspended Package: gearman (PECL)
PHP Version: 5.4.31 OS: Scientific Linux 6.5 (2.6.32)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: alf at tek dot no
New email:
PHP Version: OS:


 [2014-08-14 17:17 UTC] alf at tek dot no
This is a weird bug. I could also be a bug in gearmand, it's hard to say.

If you supply GearmanWorker::addFunction with a $timeout argument, somehow it seems to mess up 1 or 2 gearmand threads/processes.

I stumbled upon this bug while using GearmanManager. The issue is also described here:

GearmanManager has a config.ini which again has a "timeout" setting. When this is set, it sends it to GearmanWorker::addFunction, which "hangs" gearmand.

I spend a whole day debugging this, and this is how far I came. Happy to help out further if needed.

Best regards,
Alf Olsen
Oslo, Norway


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:24 UTC]
-Status: Open +Status: Suspended
 [2017-01-10 08:24 UTC]
The gearman extension have not had much activity in the past few years, so I'm taking the safe bet that this is no longer under active development (as I don't consider the typo fixes on the github repo an active development), besides that it also targets unsupported PHP versions. Please unsuspend this report in case it begins to blossom with life once more
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 08:01:30 2024 UTC