Administration Guide
Overview Guide
Installation Guide
Previous Next Contents



Adjusting the Number of Request Threads
Netscape Application Server request threads are used to handle users' requests for applications. A thread is a system entity owned by the process that executes the instructions of the lines of code that are currently assigned to the thread.

When the Netscape Application Server receives a request, the server assigns the request to a free thread. The thread manages the system needs of the request. For example, if the request needs to use a system resource that is currently busy, the thread waits until that resource is free. When the resource is free, the thread allows the request to use that resource.

You can specify the minimum and maximum number of threads that are reserved for requests from applications. The thread pool is dynamically adjusted between those two values. The minimum thread value you specify, holds at least that many threads in reserve for application requests. That number is increased up to the maximum thread value you specify on an as needed basis.

Threads are issued and can be configured for each process. This allows you to adjust the minimum and maximum values for the processes that are used the most.

You can adjust the number of available threads for all processes in a Netscape Application Server at once, or you can adjust that number for each individual process.

To adjust the number of Netscape Application Server request threads

  1. Open the Configuration tool of the Netscape Application Server Administrator.
  2. To adjust the number of threads available for all processes of a Netscape Application Server, select that server from the Enterprise window.
  3. In Default Minimum Threads, enter the minimum number of threads to be available for the Java Server/C++ Server processes of the selected Netscape Application Server.
  4. In Default Maximum Threads, enter the maximum number of threads to be available for the Java Server/C++ Server processes of the selected Netscape Application Server.
  5. Click Apply Changes to save your changes to the Netscape Application Server.
  6. To adjust the number of threads available for individual processes, select that process from the Enterprise window.
  7. In Minimum Threads, enter the minimum number of threads to be available for that Netscape Application Server process.
  8. These settings override the default settings set at the server level.

  9. In Maximum Threads, enter the maximum number of threads to be available for that Netscape Application Server process.
  10. Click Apply Changes to save your changes to the Netscape Application Server.

 

© Copyright 1998 Netscape Communications Corporation