This bug has been copied from bug #521134 and has been proposed to be backported to 4.8 z-stream (EUS).
Fixed in bash-3.0-21.el4_8.1
Should be fixed in bash-3.0-21.el4_8.2
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1599.html
*** Bug 511032 has been marked as a duplicate of this bug. ***
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, bash did not wait for a child process if the PID of this child process was recycled. In some ircumstances this caused "Resource temporarily unavailable" errors. With this update, bash recycles child process PIDs and waits for child processes as expected.