Set the number of sockets

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To set the number of sockets

  1. Open Command Prompt.

  2. Type:

    winpop set socketmin number_of_sockets

    or

    winpop set socketmaxnumber_of_sockets

    or

    winpop set socketthresholdnumber_of_sockets

    or

    winpop set socketbacklognumber_of_sockets

    or

    winpop set socketsocketbacklog socketmax socketmin socketthreshold

Variable Description Numeric value for number_of_sockets

winpop set socketmin

Sets the minimum number of sockets that the POP3 service can create (socketmin). The default setting is 10.

The value of number_of_sockets for this parameter must be from 1 to 32,000 and less than socketmax.

winpop set socketmax

Sets the maximum number of sockets the service can create (socketmax). Once socketmax has been reached, any new connection attempts are held in a queue (determined by socketbacklog) until an existing connection is disconnected. The default value is 50.

The value of number_of_sockets for this parameter must be from 1 to 32,000 and greater than socketmin + socketthreshold.

winpop set socketthreshold

Sets the number of new sockets that the POP3 service can create at a time. Once socketmin is reached, n number of new sockets are created (if there are still remaining sockets available), where n is the value of socketthreshold.

The value of number_of_sockets for this parameter must be from 1 to 99, or 0 if socketmin = socketmax.

winpop set socketbacklog

Sets the number of connections that are held in a queue once socketmax has been reached (determined by socket backlog). Connection requests that occur after socketmax has been reached, and are less than socketmax+socketbacklog, are accepted, but do not receive any response until a new socket becomes available. Once socketbacklog is filled, new connection attempts are denied.

The value of number_of_sockets for this parameter must be from 0 to 100.

winpop set socket

Sets all the socket values. You must provide a numeric value for each of the four four variables.

Each numeric value should follow the specifications for each variable, as described previously in this table; for example, winpop set socket 5 40 10 5.

Important

  • Do not change these parameters unless it is necessary to do so. Changing these parameters can adversely affect the performance of the POP3 service.

  • If you change these parameters, you must stop and restart the POP3 service. For more information on changing the POP3 service state, see Related Topics.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To view the complete syntax for this command, at a command prompt, type:

    winpop set help

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

POP3 service administration tools
Change Service Settings
Change the POP3 service state