Re: Unloading a CMPI provider

Vijayalakshmi Subramanyam <[email protected]> Thu, 9 May 2013 09:19:16 +0530
Newsgroups gmane.network.open-pegasus.general
Message-ID <CAKsVTZRWtnkegxnrF9N_jE+a46g51s0A5oV=N37am1c9Y=8S=w@mail.gmail.com>
Hi Dev,

I checked both the cases and there seems to be no valid reason why the
provider is not getting unload .
Is it possible that during registration of this provider , i may have set
some property to avoid unloading ?

Thanks,
Viji

On Wed, May 8, 2013 at 10:00 AM, Devchandra L Meetei <[email protected]>wrote:

>  By Default, idle providers unload when it is idle for 5 minutes, By
> idle, we mean, It is not processing any request.
>
> Another case where module will not unload is when group of provider module
> is *cimserver*.
>
> So you might like to verify above two cases also.
>
>
> On Wed, May 8, 2013 at 9:45 AM, Vijayalakshmi Subramanyam <
> [email protected]> wrote:
>
>> Hi All,
>>
>> I have three CMPI providers in my system. Two of them unload automatially
>> when idle.
>>
>> One provider fails to unload. I do not see the terminate() call come into
>> the provider itself. I am sure there are no open subscriptions.
>>
>>  I also checked that the provider is not returning  CMPI_RC_DO_NOT_UNLOAD
>> or CMPI_RC_NEVER_UNLOAD in any condition.
>>
>> This is the log message that i see in the cimtrace file for this provider
>> -
>>
>> [2876:18446744073709551614:CMPILocalProviderManager.cpp:256]:
>> CMPILocalProviderManager::_provider_ctrl:
>> UNLOAD_IDLE_PROVIDERS
>> 1367898721s-801162us: ProviderManager
>> [2876:18446744073709551614:CMPILocalProviderManager.cpp:309]: Checking
>> timeout data for CMPIProvider: arcRAIDProvider15
>> 1367898721s-801162us: ProviderManager
>> [2876:18446744073709551614:CMPILocalProviderManager.cpp:318]:
>> provider->unload_ok() returns: false
>> 1367898721s-801162us: Thread
>> [2876:18446744073709551614:ThreadPool.cpp:224]: Work finished.
>>
>> Is there something I am missing ?
>>
>> Regards,
>> Viji
>>
>
>
>
> --
>  Warm Regards
> --Dev
> OpenPegasus Developer/Committer
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny
> (")_(") to help him gain world domination.
>