Skip Menu |

This queue is for tickets about the Thread-Queue CPAN distribution.

Report information
The Basics
Id: 57076
Status: rejected
Priority: 0/
Queue: Thread-Queue

People
Owner: Nobody in particular
Requestors: dg2drf [...] dc0dam.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problem with Thread-Queue Version 2.11
Date: Fri, 30 Apr 2010 10:13:14 +0200
To: <bug-Thread-Queue [...] rt.cpan.org>
From: "dg2drf" <dg2drf [...] dc0dam.de>
Hello, I have a problem with Thread-Queue when i send a kill TERM signal to restart a perl application. the log says the following: Apr-23-10 09:21:42 warning: got unexpected signal TERM in Worker_5: package - Thread::Queue, file - /usr/local/lib/perl5/5.10.1/Thread/Queue.pm, line - 51! Apr-25-10 09:25:30 warning: got unexpected signal TERM in Worker_5: package - Thread::Queue, file - /usr/local/lib/perl5/5.10.1/Thread/Queue.pm, line - 51! I use perl 5.10.1 under freebsd version 8. best regards Ralf Figge
CC: dg2drf [...] dc0dam.de
Subject: Re: [rt.cpan.org #57076] Problem with Thread-Queue Version 2.11
Date: Fri, 30 Apr 2010 09:27:34 -0400
To: bug-Thread-Queue [...] rt.cpan.org
From: "Jerry D. Hedden" <jdhedden [...] cpan.org>
Show quoted text
> I have a problem with Thread-Queue when i send a kill TERM signal to restart > a perl application. the log says the following: > >  Apr-23-10 09:21:42 warning: got unexpected signal TERM in Worker_5: package - Thread::Queue, file - /usr/local/lib/perl5/5.10.1/Thread/Queue.pm, line - 51! > Apr-25-10 09:25:30 warning: got unexpected signal TERM in Worker_5: package - Thread::Queue, file - /usr/local/lib/perl5/5.10.1/Thread/Queue.pm, line - 51! > > I use perl 5.10.1 under freebsd version 8.
This looks as though your code has a signal handler in it somewhere that is trapping the SIGTERM. I don't believe it's a problem with Thread::Queue. The line mentioned is a cont_wait() statement. This indicates that the thread (Worker_5 perhaps) was waiting for data to appear in the queue. It would be helpful if you could send me the code involved so I could be more definitive. Email me directly. Thanks.
On Fri Apr 30 04:13:33 2010, dg2drf@dc0dam.de wrote: Show quoted text
> Hello, > > I have a problem with Thread-Queue when i send a kill TERM signal to > restart > a perl application. > the log says the following: > > Apr-23-10 09:21:42 warning: got unexpected signal TERM in Worker_5: > package - Thread::Queue, file - > /usr/local/lib/perl5/5.10.1/Thread/Queue.pm, line - 51! > Apr-25-10 09:25:30 warning: got unexpected signal TERM in Worker_5: > package - Thread::Queue, file - > /usr/local/lib/perl5/5.10.1/Thread/Queue.pm, line - 51! > > I use perl 5.10.1 under freebsd version 8.
These warning messages are coming from the application. See lines 39967 through 40018 in assp.pl. It appears these are just warnings, and that the SIGTERM does trigger the application to restart. If you have further issues, please contact the application developers. I am rejecting this ticket. Good luck.