felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: [FELIX-2434] Felix hang on VM shutdown
Date Mon, 21 Jun 2010 15:30:32 GMT
How are you launching the framework? Are you creating your own instance 
directly or using the Felix launcher?

-> richard


On 6/21/10 10:20, Martin Ritchie wrote:
> Hi,
>
> Over in the Qpid team we've been increasing our usage and therefore
> our testing with Felix. We have hit an issue where our automated
> testing will hang during shutdown. This has only started occuring
> since wi enabled felix in our code base. Though there have been a lot
> of other changes too. However, we have had PermGen memory issues as a
> result of stating and stopping felix in our full test suit so I
> believe the hangs are related.
>
> What I'm seeing is that when the Qpid java broker is shutdown
> (process.destroy()) so our shutdown hook is not used.  but the VM does
> appear to do some cleanup. That said the three Felix threads don't
> appear to shutdown.
>
> DispatchQueue, StartLevel and PackageAdmin threads are the three in
> question. The EventDispatcher created in DispatchQueue does not appear
> to be daemon thread but the other two are. Is this intended?
>
> I've attached a patch to set it as a Daemon but not sure that it is
> the real answer. Will try and find some time to further investigate
> this issue but I dont have a lot of spare debug time just now.
>
> Cheers
>
> Martin
>    

Mime
View raw message