Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] deleteSubscriptions() at onSubscriptionTransferFailed()

I will attach a part of the analysis result of HeapDump of OOME
which occurred in about 65 hours. According to this, MonitoredItemData
seems to occupy most of Heap.

In these clients, onSubscriptionTransferFailed(), when receiving
Bad_SubscriptionIdInvalid,

1) createSubscription()
2) createMonitoredItems()

These clients handle the above but Bad_Timeout was thrown at createMonitoredItems().
In this case, I think that the server succeeded 1), probably also succeeded 2).
(Response only timed out)

After that, onSubscriptionTransferFailed() continues to be received
in a short time, similar processing runs and similarly receives Bad_Timeout.
The SubscriptionId when receiving is different. Also, the times when these clients
received Bad_SubscriptionIdInvalid were nearly the same.

So, I guessed, as a result, I thought that OOME would occur as MonitoredItemData
gathered a lot in the server.

Anyways, I do not know the reason why the clients receive Bad_SubscriptionIdInvalid
from the server.

I am going to continue investigating problem areas.

<kevinherron@xxxxxxxxx> wrote, Tue, 26 Dec 2017 08:05:29 -0800

> I don't see anything that says delete should be called. For any
> subscription-related operation you received Bad_SubscriptionIdInvalid for,
> I can't imagine why DeleteSubscriptions service would return anything but
> the same error.
> 
> On Sun, Dec 24, 2017 at 10:18 PM, Shigeru Ishida <ishida_shigeru@xxxxxxxxxxx
> > wrote:
> 
> > Hi Kevin,
> >
> > I have a question about the processing of onSubscriptionTransferFailed().
> >
> > According to Part 4 - 6.5 Re-establishing connections, should
> > BadSubscriptionIdInvalid
> > be received, should the client call deleteSubscriptions(the previous
> > SubscriptionId)
> > before createSubscription() ?
> >
> > Regards,
> >
> > --Shigeru
> > _______________________________________________
> > milo-dev mailing list
> > milo-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/milo-dev

Attachment: 20171227192044.zip
Description: Binary data


Back to the top