Accessing studio from non-leader node causes high CPU usage from Local Security Authority

40 views
Skip to first unread message

Mircea Chirea

unread,
May 12, 2018, 2:25:11 PM5/12/18
to RavenDB - 2nd generation document database

When I'm acessing the studio from a node that is not the cluster leader the Local Security Authority process starts using a lot of CPU. All nodes are running on the same server:


Oren Eini (Ayende Rahien)

unread,
May 13, 2018, 12:17:53 AM5/13/18
to ravendb
In 4.0 ? 
I can't think of _any_ reason why this would be the case.
There is literally nothing different in the access pattern, and we don't do anything that should involve Local Security Authoritty

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


On Sat, May 12, 2018 at 9:25 PM, Mircea Chirea <chirea...@gmail.com> wrote:

When I'm acessing the studio from a node that is not the cluster leader the Local Security Authority process starts using a lot of CPU. All nodes are running on the same server:


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mircea Chirea

unread,
May 13, 2018, 8:49:01 AM5/13/18
to RavenDB - 2nd generation document database
Hello Oren. Yes, it's 4.0.3. Is there anything special when talking to a non-leader node? Are the requests relayed to the leader? If so, maybe that is causing issues :-/


On Sunday, May 13, 2018 at 7:17:53 AM UTC+3, Oren Eini wrote:
In 4.0 ? 
I can't think of _any_ reason why this would be the case.
There is literally nothing different in the access pattern, and we don't do anything that should involve Local Security Authoritty

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


On Sat, May 12, 2018 at 9:25 PM, Mircea Chirea <chirea...@gmail.com> wrote:

When I'm acessing the studio from a node that is not the cluster leader the Local Security Authority process starts using a lot of CPU. All nodes are running on the same server:


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Mircea Chirea

unread,
May 13, 2018, 8:50:35 AM5/13/18
to RavenDB - 2nd generation document database
I saw this in the admin logs:


2018-05-13T12:49:58.7082041Z, 61, Information, ServerStore, Raven.Server.ServerWide.ServerStore, Error during receiving topology updates from the leader, EXCEPTION: System.Net.WebSockets.WebSocketException (0x80004005): Unable to connect to the remote server ---> System.Net.WebSockets.WebSocketException (0x80004005): Unable to connect to the remote server ---> System.Net.Http.WinHttpException (0x80072F0C): A certificate is required to complete client authentication
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at System.Net.WebSockets.WinHttpWebSocket.<ConnectAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.WebSockets.WebSocketHandle.<ConnectAsyncCore>d__20.MoveNext()
   at System.Net.WebSockets.WebSocketHandle.<ConnectAsyncCore>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.WebSockets.ClientWebSocket.<ConnectAsyncCore>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Raven.Server.ServerWide.ServerStore.<UpdateTopologyChangeNotification>d__54.MoveNext() in C:\Builds\RavenDB-Stable-4.0\src\Raven.Server\ServerWide\ServerStore.cs:line 220
2018-05-13T12:49:58.7410155Z, 64, Information, ServerStore, Raven.Server.ServerWide.ServerStore, Error during receiving topology updates from the leader, EXCEPTION: System.Net.WebSockets.WebSocketException (0x80004005): Unable to connect to the remote server ---> System.Net.WebSockets.WebSocketException (0x80004005): Unable to connect to the remote server ---> System.Net.Http.WinHttpException (0x80072F0C): A certificate is required to complete client authentication
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at System.Net.WebSockets.WinHttpWebSocket.<ConnectAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.WebSockets.WebSocketHandle.<ConnectAsyncCore>d__20.MoveNext()
   at System.Net.WebSockets.WebSocketHandle.<ConnectAsyncCore>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.WebSockets.ClientWebSocket.<ConnectAsyncCore>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Raven.Server.ServerWide.ServerStore.<UpdateTopologyChangeNotification>d__54.MoveNext() in C:\Builds\RavenDB-Stable-4.0\src\Raven.Server\ServerWide\ServerStore.cs:line 220

Oren Eini (Ayende Rahien)

unread,
May 13, 2018, 9:32:15 AM5/13/18
to ravendb
Can you try using another browser?
This is likely a chrome issue:

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

Mircea Chirea

unread,
May 19, 2018, 4:35:22 AM5/19/18
to RavenDB - 2nd generation document database
The same happens in Edge, Internet Explorer and Firefox :(
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Oren Eini (Ayende Rahien)

unread,
May 19, 2018, 1:32:29 PM5/19/18
to ravendb
Any way to reproduce this?
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

Mircea Chirea

unread,
May 21, 2018, 8:07:56 AM5/21/18
to RavenDB - 2nd generation document database
The only thing I can think of is to try to recreate my setup in a Server 2012 R2 VM.

Oren Eini (Ayende Rahien)

unread,
May 21, 2018, 8:34:11 AM5/21/18
to ravendb
Did you reset the user's password, by any chance?
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages