I was recently checking how much pmmp can handle entities since it was lagging bad, and saw that it can't hold more than 20 to 50 entities max, if I spawn 20 zombie, it starts to lag a little, 30 the lag is 2 sec delay msg, 40, almost frozen and 50+ server is frozen. Any help is appreciated
Depends on... Storage drive type (HDD/SSD/SSHD/NVMe etc) CPU CPU speed # of CPU cores RAM Network speed and ping (only if the server isn't being hosted on the same network as the client[you]) How you are spawning zombies Background processes Zombies shouldn't be lagging you or your server if you are spawning them using spawn eggs and without any plugins that modify entity behavior - I'm assuming that's how it is in your case. It could be FPS drop if you're experiencing the problem on pocket edition but I'm sure 20 entities don't mean any harm.
Storage: SSD 120 GB CPU: Xenon Speed: 2.7-3.6 GHz Ram: for server 10GB spawning by eggs It says network is 0kbps on /status, but it let's join, everything works fine, but when more than 40 zombie spawned, it lags and console freeze
Looks like a network issue from your side. I'd tell you to do a network speed test but since you mentioned "console freeze", I'm confused. Do you encounter random timeouts with your VPS/Dedicated server?
This is impossible, because players send more packets than entities, and the server will sleep when online ~ 5. + The entity always stands, and EntityMovePacket is used only in plugins.