RHEL6 and 7: A bash script consumes too much CPU/runs slower than on RHEL5

Solution Unverified - Updated -

Issue

  • The OSWATCHER bash script consumes too much CPU on Red Hat Enterprise Linux (RHEL) 6. In "top" we see it collects much more CPU time than when it was running on RHEL5. We also see that the load is higher, it seems to increase over time after the script was started.
  • A collecting/monitoring tool called OSWatcher is running on all of our Oracle clusters. On RHEL5.8 this tools behaves normally. on all RHEL6.5 boxes
    it consumes too much CPU.
  • We experience a performance degradation. On RHEL6.3 and later, by default "max user processes" is set to 7810 ("ulimit -u 7810") is set. It leads to some bash scripts running slower than in environments where "max user processes" is set to 1024.

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7
  • bash script
  • glibc

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In