How do i solutionate the error "Connection reset"?

I have a minecraft server hosted on shockbyte and some users have been kicked for "Connection Reset" on the console the message what show up is "User disconnected by time out" My server had 12 gb of ram and sometimes the server when reach the 10gb usages just restart and do a rollback of some minutes, this restart show up the message "Connection reset"
50 Replies
Admincraft Meta
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 dog97#0
snowznz.bak
snowznz.bak2y ago
SO you're saying when it reaches 10GB the server crashes? Could you send your startup flags please and also Shockbyte is not the best host
Lildirt
Lildirt2y ago
!logs
Carl-bot
Carl-bot2y ago
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file. Where can I find the server log? Logs are stored in <server_directory>/logs/. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log file. Some providers have a separate page for logs and may hide the "logs" folder. On Aternos: • Go to https://aternos.org/log/. On Minehut and server.pro: • Go to the "files" tab in the left menu. • Navigate to the root directory of your server. • From there navigate to /logs/latest.log. What should I do with the log? • First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing. • If you got the latest.log file or created a .txt file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/. • If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)
Admincraft Canned Responses
Lildirt
Lildirt2y ago
full thing. and seconded, Shockbyte is a dumpster fire.
snowznz.bak
snowznz.bak2y ago
Make a post in #marketplace using PLEB !pleb
Carl-bot
Carl-bot2y ago
What's your PLEB? Plan/Players Location Edition Budget
snowznz.bak
snowznz.bak2y ago
Also this could be OOM !oom
Carl-bot
Carl-bot2y ago
My server is using too much memory
My panel says my memory usage is high all the time. Your server runs in the Java Virtual Machine (JVM), which has significant overhead & tries to effectively use ALL of the memory assigned to it. Memory usage from "htop", Task Manager, or your server panel is the total consumption of the JVM, not just your server. My server is lagging & I think it's memory related. It's much more likely that you are bottlenecked by your CPU, disk, or some inefficient mod/plugin. Rule of thumb, servers should have anywhere from 4GB to 12GB of memory, with 8GB being the 'sweet spot'. If you're heavily modded, add 4GB to that. Too much memory can be a bad thing. Don't exceed these caps unless you really know why you're doing it. Troubleshoot your server the right way: use Spark & send us a report. My server is randomly terminated unexpectedly. Setting your server to use 8GB does not mean that Java won't exceed this amount. As a rule of thumb, allow your system/container about 1-2GB (possibly more) overhead outside of the server. If you're on Linux & can SSH into the system, check your kernel logs. They will report any incidents of OOM. I want to use swap to allocate more memory. Don't. Swap is not free memory and using it can negatively impact performance.
Admincraft Canned Responses
Dog
DogOP2y ago
27.07 20:50:03 [Multicraft] Server shut down (running) 27.07 20:50:03 [Multicraft] Restarting crashed server in 10 seconds 27.07 20:50:03 [Multicraft] Looks like a crash, check the server console. Return value: 137 27.07 20:50:03 [Multicraft] Server stopped 27.07 20:50:13 [Multicraft] Loading server properties 27.07 20:50:13 [Multicraft] Starting server! 27.07 20:50:13 [Multicraft] Loaded config for "Custom JAR Java 18 (Place "custom-java18.jar" in base directory. If you receive an error, switch jar.)" 27.07 20:50:15 [Multicraft] Updating eula.txt file 27.07 20:50:16 [Server] INFO Starting org.bukkit.craftbukkit.Main 27.07 20:50:17 [Server] INFO System Info: Java 18 (OpenJDK 64-Bit Server VM 18.0.2.1+1-1) Host: Linux 4.19.0-18-amd64 (amd64) so propably its a host problem?
snowznz.bak
snowznz.bak2y ago
What is this? Custom JAR Java 18
Dog
DogOP2y ago
its a purpur jar
snowznz.bak
snowznz.bak2y ago
What is multicraft Oh, its the panel
Dog
DogOP2y ago
yea
snowznz.bak
snowznz.bak2y ago
These are not startup flags
Dog
DogOP2y ago
mb whats the startup flags?
snowznz.bak
snowznz.bak2y ago
Should look like java -Xms1G -Xmx1G -jar server.jar
Dog
DogOP2y ago
where do i see that?
snowznz.bak
snowznz.bak2y ago
Idk, I dont use shockbyte Check advanced
Dog
DogOP2y ago
ill see how to see it give me a sec
Dog
DogOP2y ago
No description
snowznz.bak
snowznz.bak2y ago
That is a really weird way of showing it is there a way you can remove all of them Also how many GB of ram does this server have?
Dog
DogOP2y ago
the server have 12gb
snowznz.bak
snowznz.bak2y ago
What is the server jar name?
Dog
DogOP2y ago
i think all are disabled custom-java18.jar
snowznz.bak
snowznz.bak2y ago
Can they be deleted?
ProGamingDk
ProGamingDk2y ago
^^
snowznz.bak
snowznz.bak2y ago
And this is purpur?
ProGamingDk
ProGamingDk2y ago
shockbyte is abseloute horrible
Dog
DogOP2y ago
i dont think so yes
snowznz.bak
snowznz.bak2y ago
Did you get it from purpur website or shockbyte
Dog
DogOP2y ago
should i look for another host? purpur website
snowznz.bak
snowznz.bak2y ago
Any reason for using purpur?
Dog
DogOP2y ago
a friend told to use it
ProGamingDk
ProGamingDk2y ago
yes #marketplace if u need suggestions etc
Dog
DogOP2y ago
ok ty
snowznz.bak
snowznz.bak2y ago
If you have no use for the extra features I recommend using pufferfish
Dog
DogOP2y ago
ok ill change it
snowznz.bak
snowznz.bak2y ago
Is there a way you can delete all flags and add your own?
Dog
DogOP2y ago
mmm i dont know
snowznz.bak
snowznz.bak2y ago
java -Xms11G -Xmx11G --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar server.jar
java -Xms11G -Xmx11G --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar server.jar
Your flags should look like this
Dog
DogOP2y ago
where do i see that? in the panel? or its some yml
snowznz.bak
snowznz.bak2y ago
panel Its your panel not mine, I dont know where it is Also if you could send a list of your plugins
Dog
DogOP2y ago
27.07 21:29:32 [Server] INFO Paper Plugins: (3): 27.07 21:29:32 [Server] INFO - eco, EcoEnchants, MarriageMaster 27.07 21:29:32 [Server] INFO Bukkit Plugins: (36): 27.07 21:29:32 [Server] INFO - AuthMe, BuycraftX, ChestShop, Chunky, Citizens, CMI, *CMIEInjector, CMILib, CMILib, CoreProtect 27.07 21:29:32 [Server] INFO *CustomHeads, ExcellentCrates, FastLogin, Images, ItemEdit, Jobs, libreforge, LuckPerms, mcMMO, MobFarmManager 27.07 21:29:32 [Server] INFO Multiverse-Core, NexEngine, PlaceholderAPI, ProtocolLib, Quests, Shopkeepers, SkinsRestorer, spark, Towny, TownyChat
snowznz.bak
snowznz.bak2y ago
!offline
Dog
DogOP2y ago
?
snowznz.bak
snowznz.bak2y ago
You are using offline mode which we do not support here
Dog
DogOP2y ago
ah mb sorry !close
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by dog97#0

Did you find this page helpful?