Bug 38214 - Exhausted ThreadPool results in crashes and unexpected behaviour.
Summary: Exhausted ThreadPool results in crashes and unexpected behaviour.
Status: RESOLVED INVALID
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: 4.2.0 (C6)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Ludovic Henry
URL:
Depends on:
Blocks:
 
Reported: 2016-01-30 00:03 UTC by Llewelyn Trahaearn
Modified: 2016-01-30 21:48 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Llewelyn Trahaearn 2016-01-30 00:03:39 UTC
While attempting to utilize Smuxi's detached server on a 64-bit Arch Linux system hosted on an Intel Nehalem i7 the application crashes randomly with an unhanded exception: Couldn't create thread. Immediately after the application exhibits increasingly unexpected behaviour.

The system is currently running mono version 4.2.2.30 from the Arch repositories.

The journal entries from my most recent set of smuxi-server crashes follows:

Jan 29 08:55:42 Archilochus smuxi-server[8720]: Unhandled Exception:
Jan 29 08:55:42 Archilochus smuxi-server[8720]: System.ExecutionEngineException: Couldn't create thread
Jan 29 08:55:42 Archilochus smuxi-server[8720]: at (wrapper managed-to-native) System.Threading.ThreadPool:RequestWorkerThread ()
Jan 29 08:55:42 Archilochus smuxi-server[8720]: at System.Threading.ThreadPoolWorkQueue.EnsureThreadRequested () [0x00025] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:620
Jan 29 08:55:42 Archilochus smuxi-server[8720]: at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x000e8] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:898
Jan 29 08:55:42 Archilochus smuxi-server[8720]: at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:1196
Jan 29 08:55:42 Archilochus systemd[4936]: smuxi-server.service: Main process exited, code=exited, status=255/n/a
Jan 29 08:55:42 Archilochus systemd[4936]: smuxi-server.service: Unit entered failed state.
Jan 29 08:55:42 Archilochus systemd[4936]: smuxi-server.service: Failed with result 'exit-code'.
Jan 29 09:02:40 Archilochus smuxi-server[20006]: 2016-01-29 09:02:40,581 [IrcProtocolManager (irc.freenode.net:6697) listener] ERROR Smuxi.Engine.IrcProtocolManager - System.InvalidOperationException: This operation is invalid until it is successfully authenticated
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at System.Net.Security.SslStream.CheckConnectionAuthenticated () [0x0000b] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:595
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at System.Net.Security.SslStream.Flush () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:562
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at System.IO.StreamWriter.Flush (Boolean flushStream, Boolean flushEncoder) [0x000ad] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:334
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at System.IO.StreamWriter.Dispose (Boolean disposing) [0x00024] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:263
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at System.IO.StreamWriter.Close () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:245
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00489] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:725
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String address, Int32 port) [0x0000d] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:770
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm) [0x000e0] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:395
Jan 29 09:02:40 Archilochus smuxi-server[20006]: at Smuxi.Engine.IrcProtocolManager._Run () [0x0000b] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:2416
Jan 29 09:06:14 Archilochus smuxi-server[20006]: Unhandled Exception:
Jan 29 09:06:14 Archilochus smuxi-server[20006]: System.ExecutionEngineException: Couldn't create thread
Jan 29 09:06:14 Archilochus smuxi-server[20006]: at (wrapper managed-to-native) System.Threading.ThreadPool:RequestWorkerThread ()
Jan 29 09:06:14 Archilochus smuxi-server[20006]: at System.Threading.ThreadPoolWorkQueue.EnsureThreadRequested () [0x00025] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:620
Jan 29 09:06:14 Archilochus smuxi-server[20006]: at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x000e8] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:898
Jan 29 09:06:14 Archilochus smuxi-server[20006]: at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:1196
Jan 29 09:06:14 Archilochus systemd[4936]: smuxi-server.service: Main process exited, code=exited, status=255/n/a
Jan 29 09:06:14 Archilochus systemd[4936]: smuxi-server.service: Unit entered failed state.
Jan 29 09:06:14 Archilochus systemd[4936]: smuxi-server.service: Failed with result 'exit-code'.
Jan 29 09:06:14 Archilochus smuxi-server[20006]: create_thread: CreateThread error 0x0
Jan 29 09:07:18 Archilochus smuxi-server[20445]: 2016-01-29 09:07:18,223 [IrcProtocolManager (irc.freenode.net:6697) listener] ERROR Smuxi.Engine.IrcProtocolManager - System.InvalidOperationException: This operation is invalid until it is successfully authenticated
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at System.Net.Security.SslStream.CheckConnectionAuthenticated () [0x0000b] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:595
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at System.Net.Security.SslStream.Flush () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:562
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at System.IO.StreamWriter.Flush (Boolean flushStream, Boolean flushEncoder) [0x000ad] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:334
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at System.IO.StreamWriter.Dispose (Boolean disposing) [0x00024] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:263
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at System.IO.StreamWriter.Close () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:245
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00489] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:725
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String address, Int32 port) [0x0000d] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:770
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm) [0x000e0] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:395
Jan 29 09:07:18 Archilochus smuxi-server[20445]: at Smuxi.Engine.IrcProtocolManager._Run () [0x0000b] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:2416
Jan 29 09:07:24 Archilochus smuxi-server[20445]: 2016-01-29 09:07:24,125 [IrcProtocolManager (irc.furnet.org:6697) listener] ERROR Smuxi.Engine.IrcProtocolManager - System.InvalidOperationException: This operation is invalid until it is successfully authenticated
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at System.Net.Security.SslStream.CheckConnectionAuthenticated () [0x0000b] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:595
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at System.Net.Security.SslStream.Flush () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:562
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at System.IO.StreamWriter.Flush (Boolean flushStream, Boolean flushEncoder) [0x000ad] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:334
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at System.IO.StreamWriter.Dispose (Boolean disposing) [0x00024] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:263
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at System.IO.StreamWriter.Close () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:245
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00489] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:725
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String address, Int32 port) [0x0000d] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:770
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm) [0x000e0] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:395
Jan 29 09:07:24 Archilochus smuxi-server[20445]: at Smuxi.Engine.IrcProtocolManager._Run () [0x0000b] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:2416
Jan 29 09:07:56 Archilochus smuxi-server[20445]: 2016-01-29 09:07:56,358 [13] ERROR Smuxi.Engine.Session - Shutdown(): freenode (IRC).Disconnect/Dispose() failed, continuing with shutdown...
Jan 29 09:07:56 Archilochus smuxi-server[20445]: 2016-01-29 09:07:56,359 [13] ERROR Smuxi.Engine.Session - Shutdown(): Exception
Jan 29 09:07:56 Archilochus smuxi-server[20445]: System.NullReferenceException: Object reference not set to an instance of an object
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection+IdleWorkerThread.Stop () [0x00001] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:1470
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection.Disconnect () [0x00043] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:815
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Smuxi.Engine.IrcProtocolManager.Disconnect (Smuxi.Engine.FrontendManager fm) [0x00081] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:476
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Smuxi.Engine.Session.Shutdown (Boolean clean, Smuxi.Engine.FrontendManager frontendManager) [0x00117] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1800
Jan 29 09:07:56 Archilochus smuxi-server[20445]: 2016-01-29 09:07:56,390 [13] ERROR Smuxi.Engine.Session - Shutdown(): FurNet (IRC).Disconnect/Dispose() failed, continuing with shutdown...
Jan 29 09:07:56 Archilochus smuxi-server[20445]: 2016-01-29 09:07:56,390 [13] ERROR Smuxi.Engine.Session - Shutdown(): Exception
Jan 29 09:07:56 Archilochus smuxi-server[20445]: System.NullReferenceException: Object reference not set to an instance of an object
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection+IdleWorkerThread.Stop () [0x00001] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:1470
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Meebey.SmartIrc4net.IrcConnection.Disconnect () [0x00043] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:815
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Smuxi.Engine.IrcProtocolManager.Disconnect (Smuxi.Engine.FrontendManager fm) [0x00081] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:476
Jan 29 09:07:56 Archilochus smuxi-server[20445]: at Smuxi.Engine.Session.Shutdown (Boolean clean, Smuxi.Engine.FrontendManager frontendManager) [0x00117] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1800
Jan 29 09:07:56 Archilochus smuxi-server[20445]: create_thread: CreateThread error 0x0
Jan 29 09:07:56 Archilochus smuxi-server[20445]: create_thread: CreateThread error 0x0
Jan 29 09:07:56 Archilochus smuxi-server[20445]: create_thread: CreateThread error 0x0
Jan 29 09:08:20 Archilochus smuxi-server[20587]: 2016-01-29 09:08:20,375 [IrcProtocolManager (irc.freenode.net:6697) listener] ERROR Smuxi.Engine.IrcProtocolManager - System.InvalidOperationException: This operation is invalid until it is successfully authenticated
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.Net.Security.SslStream.CheckConnectionAuthenticated () [0x0000b] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:595
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.Net.Security.SslStream.Flush () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:562
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.IO.StreamWriter.Flush (Boolean flushStream, Boolean flushEncoder) [0x000ad] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:334
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.IO.StreamWriter.Dispose (Boolean disposing) [0x00024] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:263
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.IO.StreamWriter.Close () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:245
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00489] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:725
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String address, Int32 port) [0x0000d] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:770
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm) [0x000e0] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:395
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Smuxi.Engine.IrcProtocolManager._Run () [0x0000b] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:2416
Jan 29 09:08:20 Archilochus smuxi-server[20587]: 2016-01-29 09:08:20,740 [IrcProtocolManager (irc.furnet.org:6697) listener] ERROR Smuxi.Engine.IrcProtocolManager - System.InvalidOperationException: This operation is invalid until it is successfully authenticated
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.Net.Security.SslStream.CheckConnectionAuthenticated () [0x0000b] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:595
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.Net.Security.SslStream.Flush () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/System/System.Net.Security/SslStream.cs:562
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.IO.StreamWriter.Flush (Boolean flushStream, Boolean flushEncoder) [0x000ad] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:334
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.IO.StreamWriter.Dispose (Boolean disposing) [0x00024] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:263
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at System.IO.StreamWriter.Close () [0x00000] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/io/streamwriter.cs:245
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00489] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:725
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Meebey.SmartIrc4net.IrcConnection.Connect (System.String address, Int32 port) [0x0000d] in /build/smuxi/src/smuxi-1.0.1/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:770
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm) [0x000e0] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:395
Jan 29 09:08:20 Archilochus smuxi-server[20587]: at Smuxi.Engine.IrcProtocolManager._Run () [0x0000b] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:2416
Jan 29 09:08:45 Archilochus smuxi-server[20587]: create_thread: CreateThread error 0x0
Jan 29 09:08:45 Archilochus smuxi-server[20587]: create_thread: CreateThread error 0x0
Jan 29 09:08:45 Archilochus smuxi-server[20587]: create_thread: CreateThread error 0x0
Jan 29 09:08:45 Archilochus smuxi-server[20587]: create_thread: CreateThread error 0x0
Jan 29 09:08:45 Archilochus smuxi-server[20587]: create_thread: CreateThread error 0x0
Jan 29 09:25:51 Archilochus smuxi-server[21884]: 2016-01-29 09:25:51,115 [Threadpool worker] ERROR Smuxi.Engine.Session - RegisterFrontendUI(): Exception during automatic connect:
Jan 29 09:25:51 Archilochus smuxi-server[21884]: System.SystemException: Thread creation failed.
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.StartInternal (IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x00040] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/corlib/System.Threading/Thread.cs:516
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00031] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:339
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.Start () [0x00002] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:292
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm, Smuxi.Engine.ServerModel server) [0x000e8] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:359
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.Session.Connect (Smuxi.Engine.ServerModel server, Smuxi.Engine.FrontendManager frontendManager) [0x00148] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1546
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.Session+<RegisterFrontendUI>c__AnonStorey0.<>m__0 (System.Object ) [0x00020] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:261
Jan 29 09:25:51 Archilochus smuxi-server[21884]: 2016-01-29 09:25:51,116 [Threadpool worker] ERROR Smuxi.Engine.Session - RegisterFrontendUI(): Exception during automatic connect:
Jan 29 09:25:51 Archilochus smuxi-server[21884]: System.SystemException: Thread creation failed.
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.StartInternal (IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x00040] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/corlib/System.Threading/Thread.cs:516
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00031] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:339
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.Start () [0x00002] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:292
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm, Smuxi.Engine.ServerModel server) [0x000e8] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:359
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.Session.Connect (Smuxi.Engine.ServerModel server, Smuxi.Engine.FrontendManager frontendManager) [0x00148] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1546
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.Session+<RegisterFrontendUI>c__AnonStorey0.<>m__0 (System.Object ) [0x00020] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:261
Jan 29 09:25:51 Archilochus smuxi-server[21884]: 2016-01-29 09:25:51,115 [Threadpool worker] ERROR Smuxi.Engine.Session - RegisterFrontendUI(): Exception during automatic connect:
Jan 29 09:25:51 Archilochus smuxi-server[21884]: System.SystemException: Thread creation failed.
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.StartInternal (IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x00040] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/corlib/System.Threading/Thread.cs:516
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00031] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:339
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at System.Threading.Thread.Start () [0x00002] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:292
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm, Smuxi.Engine.ServerModel server) [0x000e8] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:359
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.Session.Connect (Smuxi.Engine.ServerModel server, Smuxi.Engine.FrontendManager frontendManager) [0x00148] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1546
Jan 29 09:25:51 Archilochus smuxi-server[21884]: at Smuxi.Engine.Session+<RegisterFrontendUI>c__AnonStorey0.<>m__0 (System.Object ) [0x00020] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:261
Jan 29 09:26:31 Archilochus smuxi-server[21884]: 2016-01-29 09:26:31,749 [11] ERROR Smuxi.Engine.Config - Passed null to indexer with key: Engine/Users/Llewelyn/Interface/Chat/HighlightWords, ignored.
Jan 29 09:26:33 Archilochus smuxi-server[21884]: 2016-01-29 09:26:33,000 [11] ERROR Smuxi.Engine.Config - Passed null to indexer with key: Engine/Users/Llewelyn/Interface/Chat/HighlightWords, ignored.
Jan 29 09:26:41 Archilochus smuxi-server[21884]: create_thread: CreateThread error 0x0
Jan 29 09:26:41 Archilochus smuxi-server[21884]: create_thread: CreateThread error 0x0
Jan 29 09:26:41 Archilochus smuxi-server[21884]: create_thread: CreateThread error 0x0
Jan 29 09:26:41 Archilochus smuxi-server[21884]: create_thread: CreateThread error 0x0
Jan 29 09:26:41 Archilochus smuxi-server[21884]: create_thread: CreateThread error 0x0
Jan 29 09:26:41 Archilochus smuxi-server[21884]: create_thread: CreateThread error 0x0
Jan 29 09:26:41 Archilochus smuxi-server[21884]: create_thread: CreateThread error 0x0
Jan 29 09:26:55 Archilochus smuxi-server[22036]: 2016-01-29 09:26:55,707 [Threadpool worker] ERROR Smuxi.Engine.Session - RegisterFrontendUI(): Exception during automatic connect:
Jan 29 09:26:55 Archilochus smuxi-server[22036]: System.SystemException: Thread creation failed.
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.StartInternal (IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x00040] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/corlib/System.Threading/Thread.cs:516
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00031] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:339
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.Start () [0x00002] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:292
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm, Smuxi.Engine.ServerModel server) [0x000e8] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:359
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.Session.Connect (Smuxi.Engine.ServerModel server, Smuxi.Engine.FrontendManager frontendManager) [0x00148] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1546
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.Session+<RegisterFrontendUI>c__AnonStorey0.<>m__0 (System.Object ) [0x00020] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:261
Jan 29 09:26:55 Archilochus smuxi-server[22036]: 2016-01-29 09:26:55,707 [Threadpool worker] ERROR Smuxi.Engine.Session - RegisterFrontendUI(): Exception during automatic connect:
Jan 29 09:26:55 Archilochus smuxi-server[22036]: System.SystemException: Thread creation failed.
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.StartInternal (IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x00040] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/corlib/System.Threading/Thread.cs:516
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00031] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:339
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.Start () [0x00002] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:292
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm, Smuxi.Engine.ServerModel server) [0x000e8] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:359
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.Session.Connect (Smuxi.Engine.ServerModel server, Smuxi.Engine.FrontendManager frontendManager) [0x00148] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1546
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.Session+<RegisterFrontendUI>c__AnonStorey0.<>m__0 (System.Object ) [0x00020] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:261
Jan 29 09:26:55 Archilochus smuxi-server[22036]: 2016-01-29 09:26:55,707 [Threadpool worker] ERROR Smuxi.Engine.Session - RegisterFrontendUI(): Exception during automatic connect:
Jan 29 09:26:55 Archilochus smuxi-server[22036]: System.SystemException: Thread creation failed.
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.StartInternal (IPrincipal principal, System.Threading.StackCrawlMark& stackMark) [0x00040] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/mcs/class/corlib/System.Threading/Thread.cs:516
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.Start (System.Threading.StackCrawlMark& stackMark) [0x00031] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:339
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at System.Threading.Thread.Start () [0x00002] in /home/llewelyn/ArchPackageSources/Workspace/mono/src/mono/external/referencesource/mscorlib/system/threading/thread.cs:292
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.IrcProtocolManager.Connect (Smuxi.Engine.FrontendManager fm, Smuxi.Engine.ServerModel server) [0x000e8] in /build/smuxi/src/smuxi-1.0.1/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:359
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.Session.Connect (Smuxi.Engine.ServerModel server, Smuxi.Engine.FrontendManager frontendManager) [0x00148] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:1546
Jan 29 09:26:55 Archilochus smuxi-server[22036]: at Smuxi.Engine.Session+<RegisterFrontendUI>c__AnonStorey0.<>m__0 (System.Object ) [0x00020] in /build/smuxi/src/smuxi-1.0.1/src/Engine/Session.cs:261
Jan 29 09:27:38 Archilochus smuxi-server[22036]: create_thread: CreateThread error 0x0
Jan 29 09:27:38 Archilochus smuxi-server[22036]: create_thread: CreateThread error 0x0
Jan 29 09:27:38 Archilochus smuxi-server[22036]: create_thread: CreateThread error 0x0
Jan 29 09:27:38 Archilochus smuxi-server[22036]: create_thread: CreateThread error 0x0
Jan 29 09:27:38 Archilochus smuxi-server[22036]: create_thread: CreateThread error 0x0
Jan 29 09:27:38 Archilochus smuxi-server[22036]: create_thread: CreateThread error 0x0
Jan 29 09:27:38 Archilochus smuxi-server[22036]: create_thread: CreateThread error 0x0
Comment 1 Llewelyn Trahaearn 2016-01-30 21:48:39 UTC
After a great deal of digging it appears this issue is the result of unintended hidden limits being enforced by systemd on Linux >=4.3

https://github.com/systemd/systemd/issues/1955 

https://github.com/systemd/systemd/commit/cf7d1a30e44bf380027a2e73f9bf13f423a33cc1