Graceful Scheduling involves managing tasks or processes in a manner that permits the application to finish its ongoing work before termination or interruption. In Java, for instance, employing mechanisms such as shutdown hooks or other graceful shutdown techniques enables the application to conclude its current tasks before shutting down.
However, it's important to note a potential drawback:
Graceful scheduling may impact the restart of the application service because of ongoing tasks, leading to a significant delay in memory release until the application triggers one error (e.g., Proxy error). To avoid this issue, we strongly recommend disabling this option (OFF).