infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Manually killing an orphaned Process
Vince Angulo
We are CIS 5.7R1 on AIX 5.3.
This morning we had an issue where a process was stopped from the Network Monitor GUI and could not be re-started. One of our SysAdmins (who normally doesn't work with Cloverleaf) identified a PID that was still running and killed it so the process could be restarted.
I'm trying to get a little smarter on how this works and get more self-sufficient...so pls forgive the wordiness!
When I ps -ef | grep <processname>, I get two PIDs,
-- an 'hciengine' entry followed by the site, process and thread details, and
-- an 'hcienginewatch' perl script entry with the same details.
Based on the entry names, I take it that the former is the actual interface and the latter controls the GUI display.
When the process was stopped this morning, the GUI showed the process block red and the thread boxes as dead. I take it to mean that the 'hcienginewatch' stopped successfully, but 'hciengine' was still running so it wouldn't allow a restart. There were no readily apparent errors we could identify.
So to bring down the 'hciengine' PID, a kill PID was executed, then ps -ef again to make sure it's gone and then the process started normally from the GUI.
If all that sounds right, should there be any other 'housekeeping' steps to clean this up, or other things we can check that might lead us to a cause or prevent future problems? If I'm not on the right track, let me know that too.
Thanks in advance!!
Find more posts tagged with
Clovertech
Comments
RobertKersemakers
Hi Vince,
First thing I would like to know is why the thread went dead. Check out the process log (.old for the previous log file) for more details on this. It should have some indication on what went wrong.
You did the right thing to kill the processes; no further cleanup is necessary.
Vince Angulo
Thanks Robert.
The cause was in the log...a socket error to the target system -- not surprising as we seem to have frequent issues with because their windows-based interface app doesn't always shut down cleanly nor reliably release the socket.
Apparently it hasn't manifested itself at the same time as someone turning off the Cloverleaf process before -- not sure why that would've left the engine process running, but hopefully we'll figure that out in time.
System
Originally posted by bill bearden
Vince,
In the Windows world, there is a file called pid in the execprocesses directory. This file contains the process id. We always check these files when looking at the status of processes in task manager (equiv of ps -ef). We then know the CL process the hciengine pid represents.
Good luck,
Bill