[Backgroundrb-devel] zombie packet_worker

Reynard reynard.list at gmail.com
Thu Jun 26 23:06:37 EDT 2008


hmm actually it doesn't. how can I prevent packet_worker defunct process
hanging around?

- reynard

On Thu, Jun 26, 2008 at 9:17 PM, Reynard <reynard.list at gmail.com> wrote:

> I think I just solved it, it deletes itself if I don't call exit.
>
> - reynard
>
>
> On Thu, Jun 26, 2008 at 8:31 PM, Reynard <reynard.list at gmail.com> wrote:
>
>> Hi,
>>
>> I have just upgraded to the latest version, and now I have problem with
>> lots of packet_worker process hanging around
>>
>> 26820 pts/3    Z      0:03 [packet_worker_r] <defunct>
>>
>> basically, I always create a new worker and call exit after it's done, so
>> multiple process can be running at the same time. with the old version
>> (before using packet), it deletes the process after it's done, now it
>> doesn't seem to delete it. has the API change? I cannot find anything in the
>> website documentation.
>> This is my worker code:
>>
>> def create(args = nil)
>>   # do work
>>   exit
>> end
>>
>>
>> - reynard
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080626/8faaae46/attachment.html>


More information about the Backgroundrb-devel mailing list