0 Replies Latest reply on Sep 25, 2013 1:40 AM by Mohan Radhakrishnan

    RHEL OS parameter tuning

    Mohan Radhakrishnan Newbie


                 I have collected the following linux OS parameters that can improve performance. We have a JEE JSF application. What are the linux OS parameter recommendations for tuning ? What are the characteristics of the JEE application that one considers for tuning ? So for example, java InputStream's are heavily used.


      We have a measure of the concurrent connections and AJP connector thread pool.


      Is there a way to identify if the current setting is insufficient ? This is just to justify the tuning of a particular parameter.






      The system file descriptor limit can be increased by setting "fs.file-max" in the file "/etc/sysctl.conf". To set the limit to 65535 use echo "fs.file-max = 65535" >> /etc/sysctl.conf

      Increase default socket send/receive buffer


      sysctl -w net.core.rmem_default=262144

      (default socket receive buffer)



      sysctl -w net.core.wmem_default=262144

      (default socket send buffer)



      sysctl -w net.core.rmem_max=262144

      (max socket receive buffer)

      sysctl -w net.core.wmem_max=262144

      (max socket send buffer size)


      /sbin/ifconfig lo mtu