Forum Stats

  • 3,839,770 Users
  • 2,262,532 Discussions
  • 7,901,053 Comments

Discussions

httpd.worker processes starting with less "Max open files" on RHEL 6.1

Hi  ,

I am seeing "Too many open files" error in our OHS log, max open file limit is set to 65535, but I am seeing the httpd.worker process starting with 1024 max open file limit

"opmn" daemon process is starting with 65535 limit, please check below output and let me know how to rectify this error.

[[email protected]]$ ulimit -n

65535

[[email protected]]$ ps -f -u oracle f

UID        PID  PPID  C STIME TTY      STAT   TIME CMD

oracle   54282 54281  0 22:50 pts/0    S      0:00 bash

oracle   26776 54282 13 23:19 pts/0    R+     0:00  \_ ps -f -u oracle f

oracle   15086     1  0 Nov15 ?        Ss     0:00 /home/oracle/bea_default/Oracle_WT1/opmn/bin/opmn -d

oracle   15087 15086  0 Nov15 ?        Sl     0:46  \_ /home/oracle/bea_default/Oracle_WT1/opmn/bin/opmn -d

oracle    4777 15087  0 23:07 ?        Sl     0:02      \_ /home/oracle/bea_default/Oracle_WT1/ohs/bin/httpd.worker -DSSL

oracle    4783  4777  0 23:07 ?        S      0:00          \_ /home/oracle/bea_default/Oracle_WT1/ohs/bin/odl_rotatelogs -l /home/oracle/bea_default/Oracle_WT1/instances/instance1/diagnostics/logs

oracle    4784  4777  0 23:07 ?        S      0:01          \_ /home/oracle/bea_default/Oracle_WT1/ohs/bin/odl_rotatelogs -l /home/oracle/bea_default/Oracle_WT1/instances/instance1/diagnostics/logs

oracle    4803  4777  0 23:07 ?        S      0:00          \_ /home/oracle/bea_default/Oracle_WT1/ohs/bin/odl_rotatelogs -l -h:/home/oracle/bea_default/Oracle_WT1/instances/instance1/config/OHS/oh

oracle    4806  4777  2 23:07 ?        Sl     0:18          \_ /home/oracle/bea_default/Oracle_WT1/ohs/bin/httpd.worker -DSSL

oracle    4808  4777  3 23:07 ?        Sl     0:26          \_ /home/oracle/bea_default/Oracle_WT1/ohs/bin/httpd.worker -DSSL

[[email protected]]$ grep "Max open file" /proc/4777/limits

Max open files            1024                 1024                 files

[[email protected]]$ grep "Max open file" /proc/15087/limits

Max open files            65535                65535                files

Tagged:
This discussion has been closed.