Bug ID 464024: File descriptor leak when running some TMSH commands through scriptd

Last Modified: Apr 10, 2019

Bug Tracker

Affected Product:  See more info
BIG-IP LTM(all modules)

Known Affected Versions:
10.2.4, 11.0.0, 11.1.0, 11.2.0, 11.2.1, 11.3.0, 11.4.0, 11.4.1, 11.5.0, 11.5.1, 11.5.1 HF1, 11.5.1 HF10, 11.5.1 HF11, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5

Fixed In:
12.0.0, 11.6.0 HF6, 11.5.1 HF5, 11.4.1 HF6

Opened: May 23, 2014
Severity: 3-Major
Related AskF5 Article:
K16455

Symptoms

File descriptors for pipes are leaking when executing some TMSH commands through scriptd.

Impact

iCall scripts cease to function, and scriptd must be restarted. Eventually the system logs error messages similar to the following: err scriptd[11946]: 014f0013:3: Script (/Common) generated this Tcl error: script did not successfully complete: the pipe system call failed, Too many open files.

Conditions

TMSH commands must execute via scriptd (for example, running tmsh::modify in an iCall, but there may be other conditions that lead to the leak).

Workaround

None

Fix Information

All pipes are closed when a TMSH command is completed, so file descriptors no longer leak when running some TMSH commands through scriptd.

Behavior Change