Ping goes up when your upload connection doesn't have enough space available. In other words, you are maxing out your connection and it's too slow to handle that many players.
Also that CPU is definitely not capable of running 30 players either.