# derby.drda.maxThreads

Use the derby.drda.maxThreads property to set a maximum number of connection threads that Network Server will allocate. If all of the connection threads are currently being used and the Network Server has already allocated the maximum number of threads, the threads will be shared by using the derby.drda.timeSlice property to determine when sessions will be swapped.

#### Syntax

    derby.drda.maxThreads=numthreads

#### Default

0

#### Example

    derby.drda.maxThreads=50

#### Static or dynamic

Static. You must restart the Network Server for changes to take effect.

Parent topic: Setting Network Server properties
Related reference
derby.drda.host
derby.drda.keepAlive
derby.drda.logConnections
derby.drda.minThreads
derby.drda.portNumber
derby.drda.securityMechanism
derby.drda.startNetworkServer
derby.drda.streamOutBufferSize
derby.drda.timeSlice
derby.drda.traceAll
derby.drda.traceDirectory