16.10.2015 Views

Getting Started with WebSphere Application Server

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10.4.2 Operating system tuning<br />

Chapter 10 – Tuning a Community Edition server 191<br />

Operating system tuning consists on using available sets of parameters and strategies to<br />

optimize operating systems. For a complete reference about system tuning, visit the<br />

following Web sites:<br />

• For Linux and UNIX systems:<br />

http://publib.boulder.ibm.com/wasce/V2.1.1/en/tuning-unix.html<br />

• For Windows systems:<br />

http://publib.boulder.ibm.com/wasce/V2.1.1/en/tuning-windows.html<br />

10.5 Summary<br />

This chapter discussed about tuning concepts including how to tune a Community Edition<br />

server, how to tune the JVM, and how to tune the operating system where Community<br />

Edition is running on. The chapter described the monitoring plug-in that can be used as<br />

part of the admin console and emphasized the importance of fine tuning thread pool sizes<br />

to obtain the best performance for your Community Edition server.<br />

10.6 Exercises<br />

In this exercise, you will set the Java heap size for Community Edition by adding<br />

JAVA_OPTS into a startup script.<br />

Procedure<br />

1. Shutdown the Community Edition server if it is running.<br />

2. On Windows open /bin/geronimo.bat <strong>with</strong> an editor. On Linux<br />

the filename is geronimo.sh. Add the following line at the very beginning of the<br />

file:<br />

- On Windows:<br />

set JAVA_OPTS=-Xms512m –Xmx1024m<br />

- On Linux:<br />

JAVA_OPTS=-Xms512m –Xmx1024m<br />

3. Start the Community Edition server again.<br />

4. The Initial heap size and Maximum heap size of the running Community<br />

Edition server becomes 512m and 1024m.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!