[Xitami] Max Server connections

Pieter Hintjens ph at imatix.com
Wed Sep 26 09:43:20 CEST 2007


On 9/26/07, Russel Olinger <rolinger1 at hotmail.com> wrote:

> I am running windows 2003 server on a pretty loaded Pentium IV, dual core,
> 4Gb RAM server.  The documentation says that "max server connections"
> defaults to 20 for windows systems and that 0 means "no limit".  I have
> tried setting mine to 0 but when I save it its not setting.  If I set it to
> 0 it simply disappears after I save it and leaves the field blank...if I
> save it to any thing higher than 0 it will save properly.

Blank means '0', so should be fine.  Realistically your server can
handle 2k or more connections at once, but your network link will
probably saturate first, depending on what kind of pages you're
serving.

> In addition, what is a realisitic keep-alive number for my server and loads
> described above?

5 seconds will probably be fine.  The higher you set it, the more
connections will remain open at once, and anything above a few seconds
is probably not helpful.

The best answer to tuning issues is to run tests against the server
using a bunch of web stress clients.  Usually 2-3 PCs can bring down a
server (on a private LAN) and you can see exactly where things break.

-Pieter



More information about the Xitami mailing list