Closed Mirageofmage closed 9 years ago
Prior to starting the server, run $ sudo launchctl limit maxfiles 1000000 1000000
to raise the OS file descriptor limit. You should be fine after that for that login session.
Also, for future reference, you should come into #support in Slack or post on the forums for issues like this; we prefer to keep Github issues relegated to bug reports only.
I recently updated to OS X 10.10.3, and when I go to start the terraria server, this pops up after initialization
TShock 4.2.10.0 (Please take our survey: http://bit.ly/ShockSurvey) now running. AutoSave Enabled Backups Disabled Welcome to TShock for Terraria. Initialization complete. Please take a short survey about TShock: http://bit.ly/ShockSurvey You can win free stickers if you take it. [Server API] Info Plugin TShock v4.2.10.0 (by The Nyx Team) initiated. [Server API] Error Server crashed due to an unhandled exception: System.Net.Sockets.SocketException: Too many open files at System.Net.Sockets.Socket..ctor (AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) [0x00000] in:0
at System.Net.Sockets.TcpClient.Init (AddressFamily family) [0x00000] in :0
at System.Net.Sockets.TcpClient..ctor () [0x00000] in :0
at Terraria.ServerSock..ctor () [0x00000] in :0
at Terraria.Netplay.Init () [0x00000] in :0
at Terraria.Main.Initialize () [0x00000] in :0
at Terraria.Main.DedServ () [0x00000] in :0
at Terraria.ProgramServer.Main (System.String[] args) [0x00000] in :0
I'm running the server under mono