Getting Started with WebSphere Application Server
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
188 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />
<br />
5000<br />
xyz<br />
<br />
Listing 10.2 - Specifying a DefaultThreadPool size<br />
5. To specify the pool size for connectors of Community Edition Web container,<br />
update the following element inside the<br />
<br />
element. Listing 10.3 provides an example. In the listing, replace xyz <strong>with</strong> the pool<br />
size value you desire. XXX stands for Web, AJP, or WebSSL based on the<br />
different type of Web container connector.<br />
<br />
...<br />
PoolSize<br />
...<br />
<br />
Listing 10.3 - Specifying a Web connector pool size<br />
6. Save the changes and start the Community Edition server.<br />
7. Verify your changes by:<br />
- Opening the monitoring portlet to monitor the three type thread pool as<br />
described in section 10.2.<br />
- Opening the ConnectorThreadPool page and the DefaultThreadPool<br />
page as described in 10.3.2 Monitoring thread pools<br />
10.4 JVM and operating system tuning<br />
As a Java EE application server, Community Edition runs on a JVM; which runs on the<br />
operating system. In this section, we discuss how to improve Community Edition<br />
performance by tuning JVM and the operating system.<br />
10.4.1 JVM tuning<br />
You may need to customize your Java virtual machine (JVM) to improve the performance<br />
of your server. Below, you will find tips for adjusting the JVM. Keep in mind that the Java<br />
environment may change, making these suggestions obsolete, and that your results can<br />
vary.<br />
10.4.1.1 Monitoring memory usage<br />
It is useful to monitor the current server memory usage before you apply any changes to<br />
the JVM parameters. To analyze the memory, log in to the administrative console and