Java socket exception: Connection Reset
I run a paper server and I get errors randomly in the console, but they seem to appear randomly, and don't have a correlation with anything, as far as I can tell. Here is a sample log: https://pastebin.com/wAcR98Hw. You can see the error java.net.SocketException: Connection Reset, and that it looks like it is caused by dropped packets. This appears randomly: with players, without players. It doesn't make a difference. Sometimes it goes on for hours without a single error, sometimes (rarely) it give an error constantly, every 30 seconds or so. The wierd thing is that nothing happens ingame. Players don't notice a thing, ping is fine (no spikes when an error happens) and the server as a whole seems just fine, even with the errors. However, I know that the aren't supposed to be there, so what is causing them and how can it be fixed?
Paper version 1.21, build #44 (latest at the time of this post)
New world
Start Script https://pastebin.com/kmTgsKDw
Server.properties https://pastebin.com/Czi92vsr
paper-global.yml https://pastebin.com/UpGVeVXT
spigot.yml https://pastebin.com/DHkcEs5P
Paper timings profiler is off, replaced with Spark 1.10.73, no other plugins
I am not sure if this is related or not, but when the server is running, it gradually uses more and more memory until around 45% (which would be about 12/24GB) and then drops back down to 1.5GB, over and over. The more players that are on, the faster it does it. Even when there are no players, it gradually climbs. However, it only uses memory, CPU and ethernet act as expected. Does the memory leak come from allocating too much memory? (The CPU the server is running on is an i7-4790 (4 cores, 8 threads, 3.6Ghz base clock) and 32 GB (24 allocated) of DDR3 @1333Mhz.)
Thank you in advance!
Pastebin
start script - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
server.properties - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
paper-global.yml - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
spigot.yml - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
6 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by therealmkd#0
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
message.txt
message.txt
message.txt
Requested by therealmkd#0
Pastebin is blocked in some countries
message.txt
message.txt
message.txt
Requested by therealmkd#0
Pastebin is blocked in some countries
message.txt
message.txt
message.txt
Requested by therealmkd#0
Pastebin is blocked in some countries
message.txt
message.txt
message.txt
Requested by therealmkd#0
Pastebin is blocked in some countries
message.txt
message.txt
message.txt
Requested by therealmkd#0