[Top][All Lists]

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

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

From: Chet Ramey
Subject: Re: 'bash --login' spawned too many caused by job control on AIX 5.3
Date: Tue, 24 Sep 2013 09:57:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 9/24/13 2:54 AM, 李佳 wrote:

> 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.

It does not do this by default.  If you have a .bash_logout file or a trap
set on EXIT, bash may attempt to run processes when it exits.

I suspect bash got -1/EIO when it tried to read from the terminal after the
SIGCONT and exited as a result.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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