min-users NcFTPd general.cf file configuration
Don't forget to restart NcFTPd after modifying the general.cf file.

Set the min-users variable to be an estimate of the minimum number of users you expect to be logged on at all times.  This number corresponds to the number of ncftpd child processes that persist (don't die).  When the server has min-users or less child processes, the server doesn't need to spawn a new child. Sites with heavy volume should set the minimum closer to the user limit for best performance.

Setting min-users too low causes the server to have to create and destroy processes too frequently, which is a system-intensive operation.  Setting it too high may leave ncftpd processes sitting around that never activate, but it is better to overestimate rather than underestimate because those idle processes are just that -- idle.  They don't consume CPU time or resources when they aren't active.  The memory the idle children use will be reclaimed when the processes are swapped out by your OS.

Examples:

See Also:
Up
Previous: memory-mapped-io NcFTPd Home Next: ncftpd_authd