Raymond Rizzuto
2015-07-13 18:31:12 UTC
After publishing ~1.2 million non-persistent messages to a topic with 1
queue bound, and no consumers, I saw the throughput drop to 0, and a little
wile later the publisher logged 4 instances of the following exception.
Note that both the server and client code are using 3.5.4 rc1.
The exception isn't my main concern. My concern is that the throughput
went from 10k/second to 0, stayed there for 4 minutes, went up to ~2k/sec,
stayed there for ~2 minutes, then recovered back to 10k/sec. Preliminary
results show it repeating the cycle. I will try with persistent messages
next.
Caught IOException: System.IO.IOException: Unable to write data to the
transport
connection: A connection attempt failed because the connected party did
not pro
perly respond after a period of time, or established connection failed
because c
onnected host has failed to respond. --->
System.Net.Sockets.SocketException: A
connection attempt failed because the connected party did not properly
respond a
fter a period of time, or established connection failed because connected
host h
as failed to respond
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32
size, So
cketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset,
Int32
size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset,
Int32
size)
at System.IO.BufferedStream.Flush()
at System.IO.BinaryWriter.Flush()
at RabbitMQ.Client.Impl.SocketFrameHandler.WriteFrameSet(IList`1 frames)
in c
:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbitmq-dotnet-c
lient\projects\client\RabbitMQ.Client\src\client\impl\SocketFrameHandler.cs:line
241
at RabbitMQ.Client.Impl.Command.TransmitAsFrameSet(Int32 channelNumber,
Conne
ction connection) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbr
ella\rabbitmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\impl\Comm
and.cs:line 218
at RabbitMQ.Client.Impl.Command.Transmit(Int32 channelNumber, Connection
conn
ection) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbi
tmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\impl\Command.cs:lin
e 159
at RabbitMQ.Client.Impl.SessionBase.Transmit(Command cmd) in
c:\cygwin64\var\
tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbitmq-dotnet-client\projects\
client\RabbitMQ.Client\src\client\impl\SessionBase.cs:line 0
at RabbitMQ.Client.Impl.ModelBase.ModelSend(MethodBase method,
ContentHeaderB
ase header, Byte[] body) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-publ
ic-umbrella\rabbitmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\im
pl\ModelBase.cs:line 436
at RabbitMQ.Client.Framing.Impl.Model._Private_BasicPublish(String
exchange,
String routingKey, Boolean mandatory, Boolean immediate, IBasicProperties
basicP
roperties, Byte[] body) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-publi
c-umbrella\rabbitmq-dotnet-client\gensrc\RabbitMQ.Client\autogenerated-api-0-9-1
.cs:line 3869
at RabbitMQ.Client.Impl.ModelBase.BasicPublish(String exchange, String
routin
gKey, Boolean mandatory, Boolean immediate, IBasicProperties
basicProperties, By
te[] body) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbrella\ra
bbitmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\impl\ModelBase.c
s:line 1246
at RabbitMQ.Client.Impl.AutorecoveringModel.BasicPublish(String
exchange, Str
ing routingKey, IBasicProperties basicProperties, Byte[] body) in
c:\cygwin64\va
r\tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbitmq-dotnet-client\project
s\client\RabbitMQ.Client\src\client\impl\AutorecoveringModel.cs:line 827
at rabbitPublisher.rabbitPublisher.Main(String[] args) in
c:\Users\rizzuto\Do
cuments\Visual Studio
2012\Projects\queuing\rabbitPublisher\rabbitPublisher.cs:l
ine 69
queue bound, and no consumers, I saw the throughput drop to 0, and a little
wile later the publisher logged 4 instances of the following exception.
Note that both the server and client code are using 3.5.4 rc1.
The exception isn't my main concern. My concern is that the throughput
went from 10k/second to 0, stayed there for 4 minutes, went up to ~2k/sec,
stayed there for ~2 minutes, then recovered back to 10k/sec. Preliminary
results show it repeating the cycle. I will try with persistent messages
next.
Caught IOException: System.IO.IOException: Unable to write data to the
transport
connection: A connection attempt failed because the connected party did
not pro
perly respond after a period of time, or established connection failed
because c
onnected host has failed to respond. --->
System.Net.Sockets.SocketException: A
connection attempt failed because the connected party did not properly
respond a
fter a period of time, or established connection failed because connected
host h
as failed to respond
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32
size, So
cketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset,
Int32
size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset,
Int32
size)
at System.IO.BufferedStream.Flush()
at System.IO.BinaryWriter.Flush()
at RabbitMQ.Client.Impl.SocketFrameHandler.WriteFrameSet(IList`1 frames)
in c
:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbitmq-dotnet-c
lient\projects\client\RabbitMQ.Client\src\client\impl\SocketFrameHandler.cs:line
241
at RabbitMQ.Client.Impl.Command.TransmitAsFrameSet(Int32 channelNumber,
Conne
ction connection) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbr
ella\rabbitmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\impl\Comm
and.cs:line 218
at RabbitMQ.Client.Impl.Command.Transmit(Int32 channelNumber, Connection
conn
ection) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbi
tmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\impl\Command.cs:lin
e 159
at RabbitMQ.Client.Impl.SessionBase.Transmit(Command cmd) in
c:\cygwin64\var\
tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbitmq-dotnet-client\projects\
client\RabbitMQ.Client\src\client\impl\SessionBase.cs:line 0
at RabbitMQ.Client.Impl.ModelBase.ModelSend(MethodBase method,
ContentHeaderB
ase header, Byte[] body) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-publ
ic-umbrella\rabbitmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\im
pl\ModelBase.cs:line 436
at RabbitMQ.Client.Framing.Impl.Model._Private_BasicPublish(String
exchange,
String routingKey, Boolean mandatory, Boolean immediate, IBasicProperties
basicP
roperties, Byte[] body) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-publi
c-umbrella\rabbitmq-dotnet-client\gensrc\RabbitMQ.Client\autogenerated-api-0-9-1
.cs:line 3869
at RabbitMQ.Client.Impl.ModelBase.BasicPublish(String exchange, String
routin
gKey, Boolean mandatory, Boolean immediate, IBasicProperties
basicProperties, By
te[] body) in
c:\cygwin64\var\tmp\rabbit-build.13152\rabbitmq-public-umbrella\ra
bbitmq-dotnet-client\projects\client\RabbitMQ.Client\src\client\impl\ModelBase.c
s:line 1246
at RabbitMQ.Client.Impl.AutorecoveringModel.BasicPublish(String
exchange, Str
ing routingKey, IBasicProperties basicProperties, Byte[] body) in
c:\cygwin64\va
r\tmp\rabbit-build.13152\rabbitmq-public-umbrella\rabbitmq-dotnet-client\project
s\client\RabbitMQ.Client\src\client\impl\AutorecoveringModel.cs:line 827
at rabbitPublisher.rabbitPublisher.Main(String[] args) in
c:\Users\rizzuto\Do
cuments\Visual Studio
2012\Projects\queuing\rabbitPublisher\rabbitPublisher.cs:l
ine 69
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+***@googlegroups.com.
To post to this group, send an email to rabbitmq-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.