netstat in RHEL has a memory leak when run with -c option

Solution Verified - Updated -

Issue

  • netstat has a memory leak when run with -c option
  • We had user run this for 4 days and it grew to over 8 Gig on a 64 bit box.  Caused OOM and the box rebooted.

Environment

  • Red Hat Enterprise Linux (all versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content