Server continues to spawn ksh processes
Issue
- System keeps spawning ksh process like below. It spawns about 300 per sec.
user1 1464992 1464991 0 12:14 ? 00:00:00 -ksh
user1 1464993 1464992 0 12:14 ? 00:00:00 -ksh
user1 1464994 1464993 0 12:14 ? 00:00:00 -ksh
user1 1464995 1464994 0 12:14 ? 00:00:00 -ksh
user1 1464996 1464995 0 12:14 ? 00:00:00 -ksh
user1 1464997 1464996 0 12:14 ? 00:00:00 -ksh
user1 1464998 1464997 0 12:14 ? 00:00:00 -ksh
- Processes are not responding to
SIGSTPproperly
[root@devserv test]# strace -p 2243414
Process 2243414 attached - interrupt to quit
wait4(-1, 0x7fff5a87fee4, WSTOPPED|WCONTINUED, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGTSTP (Stopped) @ 0 (0) ---
rt_sigaction(SIGTSTP, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, 8) = 0
rt_sigreturn(0x14) = 61
wait4(-1, 0x7fff5a87fee4, WSTOPPED|WCONTINUED, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGTSTP (Stopped) @ 0 (0) ---
rt_sigaction(SIGTSTP, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, 8) = 0
rt_sigreturn(0x14) = 61
wait4(-1, 0x7fff5a87fee4, WSTOPPED|WCONTINUED, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGTSTP (Stopped) @ 0 (0) ---
rt_sigaction(SIGTSTP, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, 8) = 0
rt_sigreturn(0x14) = 61
wait4(-1, 0x7fff5a87fee4, WSTOPPED|WCONTINUED, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGTSTP (Stopped) @ 0 (0) ---
rt_sigaction(SIGTSTP, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, {0x416c10, [], SA_RESTORER|SA_RESTART, 0x381e4302d0}, 8) = 0
rt_sigreturn(0x14) = 61
wait4(-1, 0x7fff5a87fee4, WSTOPPED|WCONTINUED, NULL) = ? ERESTARTSYS (To be restarted)
Environment
- Red Hat Enterprise Linux 5.6
ksh-20100621-12and earlier
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.