[tac_plus] Orphaned processes?

heasley heas at shrubbery.net
Fri Jun 19 07:31:32 UTC 2015


Thu, Jun 18, 2015 at 02:32:55PM -0700, Andy Ruhl:
> Thanks in advance for any help you can provide. Please copy my email
> address because I'm not on the list yet.
> 
> I have tac_plus running on CentOS 7 and I created a systemd startup file for it.
> 
> The problem is systemd does not kill the process cleanly. I think it
> might be due to orphaned processes, or something similar:
> 
> [root at tucacs-temp system]# ps -elf | grep tac_
> 1 S root     22302     1  0  80   0 -  6078 futex_ 13:10 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     22305     1  0  80   0 -  6078 futex_ 13:10 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     22308     1  0  80   0 -  6078 futex_ 13:10 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     22311     1  0  80   0 -  6078 futex_ 13:10 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 5 S root     22384     1  0  80   0 -  6078 poll_s 13:11 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23548 22384  0  80   0 -  6078 poll_s 14:25 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23552 22384  0  80   0 -  6078 poll_s 14:26 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23555 22384  0  80   0 -  6078 poll_s 14:26 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23562 22384  0  80   0 -  6078 poll_s 14:26 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23570 22384  0  80   0 -  6078 poll_s 14:27 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23571 22384  0  80   0 -  6078 poll_s 14:27 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23572 22384  0  80   0 -  6078 poll_s 14:27 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 1 S root     23576 22384  0  80   0 -  6078 poll_s 14:27 ?
> 00:00:00 /usr/local/sbin/tac_plus -C /etc/tac-plus/tac_plus.conf -p 49
> 0 S root     23581 16123  0  80   0 - 28160 pipe_w 14:27 pts/0
> 00:00:00 grep --color=auto tac_
> 
> Am I supposed to have this many processes? Why are the last ones
> spawned by 22384 and the first ones spawned by 1?

unix 102.  see orphaned processes

> When I restart tac_plus, I have to do "killall tac_plus" to clean all
> of this up because "systemd stop tac_plus.service" doesn't do it.

well, thats unusual.  check if some device(s) are holding connections
to these children.  lsof -p.



More information about the tac_plus mailing list