gearman worker shuts-down after a few hours
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman Java |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Last night I created a project with a single class that creates a single worker with two function factories. It died during the night for no apparent reason (nothing in log file I could see).
Here's the java class with all the code: https:/
Here's the log file from the server: https:/
Attached is a zip file with the eclipse maven project I used to build and run it. In the zip file's target directory it's ready to run with this command (change Gearman host/port of course)...
java -jar GearmanTest-1.0.jar ec2-XXXX.
This will create a log file in the same directory named "debug.log"
Here's info about our environment:
-- OS
Amazon Linux AMI release 2013.09
Linux version 3.4.43-
-- Java
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.11.90) (amazon-
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
-- Gearman-Java
Version 0.6, jar file obtained from public maven repo
I forgot to mention we're running Gearman version 1.1.9.
Hi Bruce .. last we "spoke" about this you said that this might be due to the fact that you were not nohuping the java process .. so I am going to close this bug than. Please reopen if you are still seeing this.