pmlogger.log or pmcd.log is filled with the message "Too many open files" and utilizing the disk space.

Solution Verified - Updated -

Issue

  • /var/log/pcp/pmlogger/hostname/pmlogger.log is filled with the below message and utilizing the disk space.

    error accepting client: Too many open files
    error accepting client: Too many open files
    error accepting client: Too many open files
    
  • /var/log/pcp/pmcd/hostname/pmcd.log is filled with the below message and utilizing the disk space.

    pmcd(2037419) Error: AcceptNewClient(0): Unexpected error from __pmAccept: 24: Too many open files
    pmcd(2037419) Error: AcceptNewClient(3): Unexpected error from __pmAccept: 24: Too many open files
    pmcd(2037419) Error: AcceptNewClient(0): Unexpected error from __pmAccept: 24: Too many open files
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • pcp

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