History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3024
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Robin Shen
Reporter: AlSt
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Stale PID files prevent the agent startup

Created: 26/Jul/17 09:15 AM   Updated: 31/Jan/19 01:09 AM
Component/s: None
Affects Version/s: 7.0.19
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
If for some reason the agent crashes the pid file (sometimes) does not get cleaned. At the next startup attempt it just refuses to start because the pid file is still there.

Please also check if the pid file contains a valid process ID (with valid executable) and if it doesn't just remove the pid file or overwrite it with the new PID.

Thanks,
Alex

 All   Comments   Work Log   Change History      Sort Order:
AlSt [05/Feb/18 03:14 PM]
Hi.

This is still an issue. Is there any plan to get this resolved?

Thanks,
Alex

Robin Shen [05/Feb/18 11:41 PM]
Please edit "conf/wrapper.conf" and search for line "wrapper.pidfile.strict=TRUE". Changing it as FALSE will make JSW ignoring existance of the pid file

AlSt [06/Feb/18 08:22 AM]
Hi again,

is it ignoring the PID file entirely? I mean the file is needed to see if the wrapper is already running, but something like
* check pid file existing
* check PID in file if it is existing (a process is running with this PID)
* if it is existing -> stop
* if it is not existing -> overwrite
would make sense and not just checking if the file exists.

Robin Shen [06/Feb/18 11:27 PM]
Yes that is true. We reported the issue to JSW vendor as well and hope they can get it fixed in future versions.

AlSt [07/Feb/18 07:57 AM]
Thank you. Hopefully this will be incorporated in the next JSW release because this gets more and more annoying.

Robin Shen [31/Jan/19 01:09 AM]
This will be fixed in QB9 via QB-3297