Hello team:
There are some event store error in our production env.
The error log like this:
ERROR QueuedHandlerMRES ] —!!! VERY SLOW QUEUE MSG [StorageWriterQueue]: WritePrepares - 269391ms. Q: 0/5540.
DEBUG HttpEntityManager ] Error copying forwarded response stream for ‘https://xx.xx.xx.xx:2114/projections/all-non-transient’: The specified network name is no longer available.
DEBUG HttpSendService ] Error occurred while replying to HTTP with message EventStore.Core.Messages.GossipMessage+SendGossip: The specified network name is no longer available.
INFO TcpConnectionManager] Connection ‘external-secure’ [xx.xx.xx.xx:52560, {4e439719-18f4-4b91-8d46-c4baef469754}] closed: SocketError.
INFO TcpConnectionSsl ] ES TcpConnectionSsl closed [01:08:39.100: Nxx.xx.xx.xx:52560, Lxx.xx.xx.xx:2115, {4e439719-18f4-4b91-8d46-c4baef469754}]:Close reason: [SocketError] Exception during EndRead.
DEBUG TcpConnectionSsl ] Exception during BeginWrite.
System.IO.IOException: Unable to write data to the transport connection: Safe handle has been closed. —> System.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success )
at System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success )
at System.Net.UnsafeNclNativeMethods.OSSOCK.WSASend(SafeCloseSocket socketHandle, WSABuffer& buffer, Int32 bufferCount, Int32& bytesTransferred, SocketFlags socketFlags, SafeHandle overlapped, IntPtr completionRoutine )
at System.Net.Sockets.Socket.DoBeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, OverlappedAsyncResult asyncResult )
at System.Net.Sockets.Socket.BeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode, AsyncCallback callback, Object state )
at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state )
— End of inner exception stack trace —
at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state )
at System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest )
at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest )
at System.Net.Security._SslStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState )
at EventStore.Transport.Tcp.TcpConnectionSsl.TrySend() in c:\projects\eventstore\src\EventStore.Transport.Tcp\TcpConnectionSsl.cs:line 332
System.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success )
at System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success )
at System.Net.UnsafeNclNativeMethods.OSSOCK.WSASend(SafeCloseSocket socketHandle, WSABuffer& buffer, Int32 bufferCount, Int32& bytesTransferred, SocketFlags socketFlags, SafeHandle overlapped, IntPtr completionRoutine )
at System.Net.Sockets.Socket.DoBeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, OverlappedAsyncResult asyncResult )
at System.Net.Sockets.Socket.BeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode, AsyncCallback callback, Object state )
at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
When these error occured, Eventstore could not be accessed.
We use Eventstore clusters with 3 nodes, and a hardware load balance. Servers operations are windows 2008 Server R2. Eventstore Version of all nodes are v3.5.0.
I suffered with the Event store problems in past 1 month.
Could you help me.
Thanks very much.
when