E.3 Increasing Apache Threads

E.3.1 NetWare Servers

The default number of threads for Apache running on NetWare® is 150. The maximum number of threads is 2,048. Because no persistent connection is maintained, a socket is opened for each 32 KB of data. This means that you don't need a thread per user session; however, the iFolder Web access does use one thread per connection.

To increase your threads:

  1. Open the httpd.conf file that iFolder uses.

  2. Search for the ThreadsPerChild parameter and increase the number that is listed.

The threads directly correlate with the bandwidth of your network cards. If you have a 100 MB network card, you can set your threads to 312 and max out the network card. If you have a 1 GB card, then you can increase the threads to 2,048 to maximize the card.

E.3.2 Linux Servers

Linux can handle up to 20,000 threads.

To increase your threads:

  1. Open the httpd.conf file that iFolder uses.

  2. Increase the default number on the following parameters:

    • ThreadLimit
    • MaxClients
    • ThreadsPerChild