[
https://issues.apache.org/jira/browse/AMQNET-629?focusedWorklogId=356379&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-356379
]
ASF GitHub Bot logged work on AMQNET-629:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Dec/19 17:03
Start Date: 09/Dec/19 17:03
Worklog Time Spent: 10m
Work Description: michaelandrepearce commented on pull request #50:
AMQNET-629: Rework Meta classes
URL: https://github.com/apache/activemq-nms-amqp/pull/50
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 356379)
Time Spent: 0.5h (was: 20m)
> Possible overflow when too many sessions created
> ------------------------------------------------
>
> Key: AMQNET-629
> URL: https://issues.apache.org/jira/browse/AMQNET-629
> Project: ActiveMQ .Net
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 1.8.0
> Reporter: Krzysztof Porebski
> Priority: Major
> Fix For: AMQP-1.8.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> We are using NMS AMQP with Spring Messaging. Under heavy load with not
> sufficient session caching (1) we observed the following error:
> System.OverflowException: Value was either too large or too small for a
> UInt16.
> at System.Convert.ToUInt16(UInt64 value)
> at Apache.NMS.AMQP.Meta.SessionInfo..ctor(Id sessionId)
> at Apache.NMS.AMQP.NmsSession..ctor(NmsConnection connection, Id
> sessionId, AcknowledgementMode acknowledgementMode)
> at Apache.NMS.AMQP.NmsConnection.CreateSession(AcknowledgementMode
> acknowledgementMode)
> at
> Spring.Messaging.Nms.Connections.CachingConnectionFactory.GetSession(IConnection
> con, AcknowledgementMode mode)
> at
> Spring.Messaging.Nms.Connections.CloseSupressingConnection.CreateSession(AcknowledgementMode
> acknowledgementMode)
> at Spring.Messaging.Nms.Core.NmsTemplate.Execute(ISessionCallback action,
> Boolean startConnection)
> It seems that only 65535 sessions can be created.
> https://github.com/apache/activemq-nms-amqp/blob/61693727e475b5b0e1265905dc97a841f47b2417/src/NMS.AMQP/Meta/SessionInfo.cs#L31-L32
--
This message was sent by Atlassian Jira
(v8.3.4#803005)