Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Scott SteinbeckScott SteinbeckReporter
Scott SteinbeckScott SteinbeckFix versions
Priority
Minor
Details
Details
Assignee
Scott Steinbeck
Scott SteinbeckReporter
Scott Steinbeck
Scott SteinbeckFix versions
Priority
Sentry
Sentry
Sentry
Created February 2, 2022 at 4:22 AM
Updated February 3, 2022 at 7:36 PM
Resolved February 3, 2022 at 7:36 PM
The current process for determining if a site is running is to check if the current port configured for that server is not available to be bound. This works but has the potential for false positives if another service is bound to the port.
A more streamlined approach is to check to see if the server's ProcessID (PID) found in the servers .pid.txt file, is created and is actively running in the task manager and is running a java process. This is a more accurate check of if a server is running.
One edge case is that in certain cases the .pid.txt file does not get deleted when the server is no longer running. This will not cause an issue as the running check will still find not find the process running however it does lead to a longer response on the check as opposed to a simple file exists check.
To minimize the time factor, if a .pid.txt file is found but it is determined the server is not actively running we will delete the file as a cleanup task to speed up subsequent checks.