My players freeze when I log on to the server

Sometimes I connect to the server, and after a few minutes of playing, the ping freezes with a random number, and the players freeze and do not react. I had a friend on the server with me and they said the server was working fine when one of these freezes happened. Does anyone know what the reason for this is and how to fix it? This happens all the time

I have the same problem as well and have yet to found a solution.