Linux Semi-regular server crash

faeornran

Terrarian
Steam or GOG
Steam
Single Player/Multiplayer
Multi
Operating System
Linux Other
Terraria Version
1.4.0.4
Controls Used
Keyboard/Mouse
Every few days, my 24/7 hosted Linux server crashes and spews out the following report:

Code:
================
05/28/2020 05:22:55: Unhandled Exception
Thread: 63 [Threadpool worker]
Culture:
Exception: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.TcpClient'.
  at System.Net.Sockets.TcpClient.CheckDisposed () [0x00016] in <6c7c03f48a9747c8a644da4f63a34480>:0
  at System.Net.Sockets.TcpClient.GetStream () [0x00029] in <6c7c03f48a9747c8a644da4f63a34480>:0
  at Terraria.Net.Sockets.TcpSocket.ReadCallback (System.IAsyncResult result) [0x00018] in <00f37d15da2a4e5eba21c9d37c478226>:0
  at System.Net.Sockets.SocketAsyncResult+<Complete>c__AnonStorey0.<>m__0 (System.Object _) [0x00000] in <6c7c03f48a9747c8a644da4f63a34480>:0
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00019] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <1170fb08300b4d0db71c1d1db8555768>:0


Not sure what I can do other than reboot the game when this happens.

Server specs:

Ubuntu 20.04
24GB memory
240GB disk space
4 vcpus, ~2.2Ghz

Please let me know if you need any extra information!
 
Last edited:
I'm getting wild lag and more frequent server crashes. Here's a new one:

Code:
================
05/31/2020 20:33:21: Unhandled Exception
Thread: 7 [Server Input Thread]
Culture:
Exception: System.ArgumentOutOfRangeException: Value must be positive and below the buffer height.
Parameter name: top
  at System.TermInfoDriver.SetCursorPosition (System.Int32 left, System.Int32 top) [0x0004d] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoDriver.WriteSpecialKey (System.ConsoleKeyInfo key) [0x0006e] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoDriver.Echo (System.ConsoleKeyInfo key) [0x00020] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoDriver.ReadLine () [0x000cf] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.ConsoleDriver.ReadLine () [0x00000] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Console.ReadLine () [0x00019] in <1170fb08300b4d0db71c1d1db8555768>:0
  at Terraria.Main.startDedInputCallBack () [0x0000f] in <00f37d15da2a4e5eba21c9d37c478226>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <1170fb08300b4d0db71c1d1db8555768>:0
================
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Value must be positive and below the buffer height.
Parameter name: top
  at System.TermInfoDriver.SetCursorPosition (System.Int32 left, System.Int32 top) [0x0004d] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoDriver.WriteSpecialKey (System.ConsoleKeyInfo key) [0x0006e] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoDriver.Echo (System.ConsoleKeyInfo key) [0x00020] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.TermInfoDriver.ReadLine () [0x000cf] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.ConsoleDriver.ReadLine () [0x00000] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Console.ReadLine () [0x00019] in <1170fb08300b4d0db71c1d1db8555768>:0
  at Terraria.Main.startDedInputCallBack () [0x0000f] in <00f37d15da2a4e5eba21c9d37c478226>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <1170fb08300b4d0db71c1d1db8555768>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <1170fb08300b4d0db71c1d1db8555768>:0
 
Frustratingly, we are also experiencing a TON of lag after mvoing into Hard Mode. All the particle-style worms and wyverns and all the summons and such are really laggy and jump around, and some regular enemies even float through walls and stuff. Not sure what to do :/
 
Back
Top Bottom