On 07/18/2016 10:14 PM, Jiří Činčura wrote: > By "engine" you mean server?
yes, till the end of 'firebird' process > > -- > Mgr. Jiří Činčura > Independent IT Specialist > > > On Mon, Jul 18, 2016, at 14:15, Alex Peshkoff wrote: >> 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<FbNetExtern- >>> alEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inher- >>> it<Firebird::IReferenceCountedImpl<FbNetExternalEnginePlugin::Plugi- >>> n,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IVersion- >>> edImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapp- >>> er,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<FbNetExtern- >>> alEnginePlugin::Plugin,Firebird::ThrowStatusWrapper,Firebird::Inher- >>> it<Firebird::IReferenceCountedImpl<FbNetExternalEnginePlugin::Plugi- >>> n,Firebird::ThrowStatusWrapper,Firebird::Inherit<Firebird::IVersion- >>> edImpl<FbNetExternalEnginePlugin::Plugin,Firebird::ThrowStatusWrapp- >>> er,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 > > > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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