[ 
https://issues.apache.org/jira/browse/AMQNET-629?focusedWorklogId=354287&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-354287
 ]

ASF GitHub Bot logged work on AMQNET-629:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Dec/19 13:19
            Start Date: 05/Dec/19 13:19
    Worklog Time Spent: 10m 
      Work Description: HavretGC commented on pull request #50: AMQNET-629: 
Rework Meta classes
URL: https://github.com/apache/activemq-nms-amqp/pull/50
 
 
   This involves major rework of meta classes according to qpid-jms 
implementation.
   
   It addresses https://issues.apache.org/jira/browse/AMQNET-629
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 354287)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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: 10m
>  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)

Reply via email to