Browse Prior Art Database

Adaptive Self-configuration of Server Child Processes

IP.com Disclosure Number: IPCOM000238503D
Publication Date: 2014-Aug-30
Document File: 1 page(s) / 40K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is an adaptive self-configuration method of server child processes. This enables a parent process to monitor the processes and optimize start and stop times, eventually optimizing these times based on server and machine load.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 81% of the total text.

Page 01 of 1

Adaptive Self-configuration of Server Child Processes

Server startup or shutdown processes can differ based on server and machine load. This can cause issues with graceful shutdowns. When a server does not gracefully shut down, the parent process (Windows* Service) needs to kill processes to make sure servers and child processes are completely shut down.

The novel contribution is an adaptive self-configuration method of server child processes. This enables a parent process to monitor the processes and optimize start and stop times, eventually optimizing these times based on server and machine load.

The parent process starts with default times for starting and stopping the child processes. These times are located in a properties file called service.properties, which

is located in the same directory as the service binary.

When a server is stopped, the parent process analyzes the server log file. It calculates the actual startup and stop times. It then updates the times in the service.properties file so the next time the server is started, the new start and stop times are used.

If the server does not shut down in the specified time, the parent process increases the timeout value (i.e. timeOutIncrease) by 15 seconds. This value is configurable in the service.properties file.

service.properties

startTime=10
stopTime=60 timeOutIncrease=15 stopScript=path to stop script startScript=path to start script

Description of entries in properties file:

startTime - Start time in...