Siebel Performance Tuning Guide > Tuning Operating Systems for Performance >

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 (SWSE) 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, or 524288 bytes, for the Siebel threads in all UNIX and Linux platforms supported for the Web server computer on which you install the SWSE.

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 that you require, in bytes. Some Siebel CRM applications might require only the minimum thread stack size, while others might require a size larger than this. Setting SIEBEL_OSD_PTHREAD_STACK_SIZE is at the customer's discretion, based on the nature of the Siebel applications running on each Web server.

NOTE:  The minimum Siebel thread stack size is 16 KB, or 16384 bytes. If you set SIEBEL_OSD_PTHREAD_STACK_SIZE to a value lower than 16384, then the effective value is 16384.

Configuring the Siebel Thread Stack Size on the Web Server Computer, for All Web Servers 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 Siebel thread stack size on the Web server computer, for all Web servers except Oracle HTTP Server

  1. 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

  2. Stop the Web server.
  3. Start the Web server.

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

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

To configure the Siebel 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. Stop the Web server.
  7. Start the Web server.
Siebel Performance Tuning Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.