440 IBM Workplace Services Express
Refer to 7.4.2, “Setting up Domino LDAP” on page 296 to continue with
Workplace Services Express configuration from this point.
8.6 Optimization
There are a number of optimization techniques in the Workplace Services
Express Information Center and in the Best Practices Guide:
򐂰 IBM Workplace Services Express 2.0 Information Center, available at:
http://publib.boulder.ibm.com/pvc/wse/200/smb/en/InfoCenter/index.html
򐂰 IBM Workplace Services Express 2.0 Best Practices Guide, available at:
ftp://ftp.lotus.com/pub/lotusweb/workplace/best_practices.pdf
To find out how Workplace Services Express is using resources on your server,
we recommend that you use the relevant operating system tools to monitor
memory, CPU, disk, I/O, and network utilization. These tools will indicate where
there might be resource constraints within your environment. If you locate a
resource constraint, you should confirm that your hardware configuration and
specifications match the recommended requirements for Workplace Services
Express in a production environment. In the real world, you might meet the
requirements for Workplace Services Express and, for example, find that you are
running low on memory. In this instance, you could try increasing the installed
memory if your hardware allows.
8.6.1 Heap size
The heap size for the Java virtual machines (JVMs) used by Workplace Services
Express can be increased to improve performance. Workplace Services Express
has three active JVMs in use, one for WebSphere_Portal,
LotusWorkplace_Server, and Cloudscape Network server. Each of these JVMs
will be preassigned a maximum heap size. On servers with more than 2 GB of
RAM, the heap size can be increased. Remember that the server operating
system will require memory, and therefore, you must not allocate all the physical
memory to these JVMs.
To check the heap size for the JVMs, perform the following steps:
1. Make sure that Workplace Services Express is running.
2. Open a supported Web browser.
3. Type the following Web address:
http://<hostname.yourco.com>:9091/admin
Chapter 8. Troubleshooting, tips, and techniques for IBM Workplace Services Express 441
Where <hostname.yourco.com> is the fully qualified host name of the
machine.
4. Enter your administrator ID and password such as wpsadmin.
5. Click Servers in the navigation tree, as shown in Figure 8-6. Select
Application Server and then WebSphere_Portal.
Figure 8-6 Servers in the administrative console
6. Click Process Definition in the Additional Properties section of the
Configuration tab, as shown in Figure 8-7 on page 442.
442 IBM Workplace Services Express
Figure 8-7 Process Definition
7. Click Java Virtual Machine.
8. View the value for the Maximum Heap Size, as shown in Figure 8-8 on
page 443. By default, it will be set to 512 MB. You can set this value
appropriately for the amount of physical memory your server has installed.
Chapter 8. Troubleshooting, tips, and techniques for IBM Workplace Services Express 443
Figure 8-8 JVM settings
9. If you change the value, you must click Apply, and then OK to save the
changes. You also need to save the master configuration.
10.Check the heap size for the Lotus Workplace Server by clicking Servers
Workplace Servers LotusWorkplace_Servers, and then repeat from
step 6 on page 441.
11.Remember to click OK and Save after you make your changes.
12.Save your changes to the master configuration.
13.The heap size for the Cloudscape JVM is specified in the startNetworkServer
file (.bat or .sh) located in the <wse_root>/subtasks directory.
14.Edit the file with a suitable editor, such as Notepad on Windows or kate on
Linux.
15.Locate the line that begins START /MIN "Cloudscape". This contains two
arguments, -Xms512M and -Xmx1024M. These two arguments set the minimum
and maximum heap sizes, respectively, for the Cloudscape Network Server
JVM.
16.Stop and start all servers for the changes to take effect.

Get IBM Workplace Services Express now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.