IBM Support

IV61226: FAILING FORK IN POPEN LEAVES PIPE FILE DESCRIPTORS BEHIND APPLIES TO AIX 6100-08

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • popen() creates the fifo using the pipe system call.
    If the then following fork fails, this fifo is not
    closed.
    

Local fix

Problem summary

  • A system might run into a low memory situation when,
    there is a running process which is calling popen()
    repeatedly, and popen() is failing because of fork()
    failure.
    

Problem conclusion

  • Added code changes to perform correct clean up in the
    popen(), if the popen() call fails because of fork
    failure.
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV61226
    6100-09 - use AIX APAR IV63785
    7100-02 - use AIX APAR IV64247
    7100-03 - use AIX APAR IV63776
    

APAR Information

  • APAR number

    IV61226

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-06-05

  • Closed date

    2014-08-18

  • Last modified date

    2015-01-21

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U868587

       UP15/01/18 I 1000



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV61226

Modified date: 21 January 2015