Siebel Performance Tuning Guide > Tuning the Web Server Computer for All UNIX and Linux Platforms >

Tuning the Web Server Computer for All Applicable UNIX and Linux Platforms


This topic describes how to configure the thread stack size for a Siebel thread on the Web server computer. The Siebel Web Server Extension or plug-in is responsible for Siebel thread creation in the Web server.

NOTE:  The topic describes only fine tuning the stack size of the Siebel thread. It is not applicable to Web server native threads.

The default thread stack size is 512 KB for the Siebel threads in all UNIX and Linux platforms supported for the Web server computer on which you install the Siebel Web Server Extension. (In previous Siebel CRM releases, the default stack size for Siebel threads was 1 MB on the Oracle Solaris and Linux platforms, and 512 KB on the HP-Itanium and AIX platforms.)

In many cases, the default thread stack size for Siebel thread might be larger than necessary. With a larger thread stack size, the httpd process consumes more resources, and thus fewer users can be supported for each httpd process than with smaller sizes.

If you determine that a smaller thread stack size for the Siebel thread in a Web server is more suitable for your Siebel applications, then you can set the SIEBEL_OSD_PTHREAD_STACK_SIZE environment variable at the operating system level to specify the size you require, in bytes.

Configuring the Thread Stack Size for Siebel Thread on the Web Server Computer (for All Web Server Platforms Except Oracle HTTP Server)

Use the following procedure to configure the thread stack size on the Web server computer (for all Web server platforms except Oracle HTTP Server.

To configure the thread stack size on the Web server computer (for all Web server platforms except Oracle HTTP Server)

  1. Stop the Web server.
  2. Open a new shell and execute a command similar to the following (this example sets the thread stack size to 64 KB):

    C Shell

    setenv SIEBEL_OSD_PTHREAD_STACK_SIZE 65536

    Korn or Bourne Shell

    export SIEBEL_OSD_PTHREAD_STACK_SIZE=65536

  3. Start the Web server.

Configuring the Thread Stack Size on the Web Server Computer for Oracle HTTP Server

Use the following procedure to configure the thread stack size on the Web server computer for Oracle HTTP Server.

To configure the thread stack size on the Web server computer (for Oracle HTTP Server)

  1. Navigate to the $ORACLE_HOME/opmn/conf directory.
  2. Open the opmn.xml file.
  3. Locate SIEBEL_CODEPAGE.
  4. Below the line containing SIEBEL_CODEPAGE, insert a line similar to the following (this example sets the thread stack size to 64 KB):

    <variable id="SIEBEL_OSD_PTHREAD_STACK_SIZE" value="65536"/>

  5. Save the opmn.xml file.
  6. Restart the Web server.
Siebel Performance Tuning Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.