Rolf Kristensen

Results 428 comments of Rolf Kristensen

Sounds like a question for StackOverflow.com, but always a good idea to check the output from [NLog InternalLogger](https://github.com/NLog/NLog/wiki/Internal-Logging) when [troubleshooting logging](https://github.com/NLog/NLog/wiki/Logging-troubleshooting) with NLog. Maybe paste the output from NLog InternalLogger...

If you start more threads than you have CPU-cores, and all threads are logging to the same NLog AsyncTargetWrapper using `overflowAction = Block`. Then you will experience thread-starvation and lock-congestion,...

The timer-events are scheduled on the dotnet-threadpool. So far you have only presented a single callstack: ``` 000000F00707ECB8 00007fff56fb1274 [HelperMethodFrame_1OBJ: 000000f00707ecb8] System.Threading.Monitor.ObjWait(Int32, System.Object) 000000F00707EDE0 00007FFED99074D7 NLog.Targets.Wrappers.ConcurrentRequestQueue.WaitForBelowRequestLimit() [/_/src/NLog/Targets/Wrappers/ConcurrentRequestQueue.cs @ 147] 000000F00707EE50...

Yes that is the callstack of an application-thread trying to write-logs, but blocked because the async-timer-event cannot keep up. When having too many application-threads being throttled/blocked then suddenly all time...

The goal is to reserve one (or more) threads upfront to ensure the AsyncTargetWrapper still functions after dotnet-threadpool-starvation, when using overflowaction=Block. Maybe the AsyncTargetWrapper should get a ITaskScheduler-option, where one...

You are waiting for #8 to be released officially on nuget (There is also a pending PR #10 that could be nice). @moriyoshi Maybe the nuget-release can become a late...

Try activating NLog Internal Logging at Debug-level: https://github.com/NLog/NLog/wiki/Internal-Logging Maybe it can give you a clue.

#89 resolves this issue by using `ConfigureAwait(false)` when doing async operations (Allowing the continuation to complete on different synchronization context).

@StefanBilliet SumoLogic.Logging.Serilog: 1.0.1.2 has been released. Can you check if it fixes your issued?