Hey all!

We're having an issue under high loads that's causing AOLserver to stop taking new connections and I wanted to see if anyone could point me in the right direction for diagnosing the problem.

We're running AOLserver 4.5 on CentOS 5.2 with the following connection config:

ns_section "ns/server/main"
ns_param   connsperthread  0
ns_param   maxthreads      500
ns_param   minthreads      10
ns_param   threadtimeout   120
ns_param   maxconnections  100
ns_param   spread          20

The DB pool is set up as follows:

ns_section "ns/db/pool/main"
ns_param Connections 500
ns_param Datasource "$databaselocation:$databasename"
ns_param Driver postgres
ns_param LogSQLErrors Off
ns_param MaxIdle 600
ns_param MaxOpen 3600

Watching the system stats under load, the web server is only hitting about 5% CPU usage and has ample free RAM. The DB server is only at about 3% capacity.

The problem we're seeing is that the web servers are maxing out at about 200-250 simultaneous connections, and all additional connections are being rejected.

Any guesses on why we don't have 500 connections available, even though that's what's indicated in ns/server/main? Under 3.x, I remember that there was an option to have queued pending connections. I don't see that option in the docs for 4.5. Does that functionality still exist?

Any suggestions would be greatly appreciated!

-William


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<[email protected]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to