On 07/13/2016 11:38 AM, Jiří Činčura wrote: > I've let it sit idle, with no connections whatsoever, for 5 minutes and > the release method of plugin was never called. I can see the DLL loaded > in list of handles kept by firebird.exe, if I'm not attaching debugger. > > It's not even called when I do shutdown of server (on Windows from the > tray icon), but that might be intentional. > > The first addRef I call from factory - as in docs. Then the other call > comes in from > Firebird::IExternalEngineBaseImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::IPluginBaseImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IReferenceCountedImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IVersionedImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IExternalEngine> >>>>>>> ::cloopaddRefDispatcher(Firebird::IReferenceCounted* self). > After that - even before any execution happens - release is called from > Firebird::IExternalEngineBaseImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::IPluginBaseImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IReferenceCountedImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IVersionedImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IExternalEngine> >>>>>>> ::cloopreleaseDispatcher(Firebird::IReferenceCounted* self). > After that the counter stays on 1 and I never see the release and hence > the cleanup etc. > > What can I check now? >
For me UDR plugin remains loaded till exit from engine. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
