Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Configuring Multi-threading


By default, the number of threads handled simultaneously by the Sun ONE ASP Server is 10 for Solaris, and 5 for Linux. If you have many ASP pages that include blocking operations (database access, for example) it is a good idea to increase this number. Keep in mind, however, that doing so creates more system overhead. A maximum number of up to 20 threads is recommended. DO NOT set this to a number greater than 20.

To configure multi-threading

  1. Open the Administration Console (see Accessing the Administration Console).

  2. On the ASP Server tab of the Server Management page, click Settings.

  3. The Server Settings page displays.

  4. In the Number of threads box, enter the maximum number of threads you want to have running at once. The default is 10 for Solaris, and 5 for Linux.

  5. Click Save, and then click Yes when the Server Management page displays to restart the Web server and ASP Server.

  6. Note icon Note Restarting the ASP Server resets all Session and Application variables.


ContentsPreviousNextIndex