Re: Unloading a CMPI provider

Vijayalakshmi Subramanyam <[email protected]> Fri, 10 May 2013 11:31:37 +0530
Newsgroups gmane.network.open-pegasus.general
Message-ID <CAKsVTZRPE-Gi2f3OU4+9w3Q+CN9sfqf69XCTJeobyijaks-GgQ@mail.gmail.com>
Sure. Are there any particular traceComponents that would help?

Thanks,
Viji

On Fri, May 10, 2013 at 10:41 AM, Devchandra L Meetei <[email protected]>wrote:

> Can you share the both cimtraces, server as well as provider module trc
>
>
>  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.
>>
>
>
>
> --
>  Warm Regards
> --Dev
> OpenPegasus Developer/Committer
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny
> (")_(") to help him gain world domination.
>