How can you tell when the server has had too much and is skipping too many ticks. I'm trying to something pretty intensive and I don't want it to crash the server. So I'm probably gonna do Thread.sleep for about 5 seconds whenever the system gets overloaded.
If you are doing something intensive, you may want to consider breaking it up into smaller pieces or running it asynchronously. Code should never, ever be built in a way where it's expected to crash or lag out under normal circumstances.