bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'bash --login' spawned too many caused by job control on AIX 5.3


From: 李佳
Subject: 'bash --login' spawned too many caused by job control on AIX 5.3
Date: Tue, 24 Sep 2013 14:54:01 +0800 (CST)

Hi, all:
I configured with default and installed bash-4.2.45 on AIX 5.3 to my home 
directory. Each time I logged in, I used 'bash --login' to enter bash. 


Accidentally I sent SIGSTOP to the process of bash, then sent SIGCONT. Bash put 
the message 'There are running jobs' on screen, then forked too many processes 
that reached the AIX MAXUPROC limit.


I tried to kill all the bash processes logged in as root, but without luck. I 
had to restart the server at the end.


I guessed it did something with job control, so re-compiled bash with 
--disable-job-control. This time bash logged out normally. 


Seems like bash tries to spawn a logout child process when received a SIGCONT 
signal and prepared to exit, unfortunately logout child process forked another 
children and etc. ok, that's only my guess, and somehow it does not have the 
same problem on Linux.


my bash vesion:
bash --version
GNU bash, version 4.2.45(1)-release (powerpc-ibm-aix5.3.0.0)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]