Hi all,

I have problems with the performance of our installation here I seek your 
advice because I don't know whether this is because of our architecture, 
or miss configuration of aolserver or database or small hardware.

What basically happens is that once I have more than 150 users logged in 
the response time for a page takes a minute or more which is very 
frustrating for users. Today we received an email saying that the system 
is simply "shit". I don't know what to do next. All I know is that from 
semester to semester the load is getting higher but the frustration as 
well.

Here our system details.

We have three linux boxes. One for an aolserver with database connection, 
one for a static aolserver and one for the database.

The database box never goes above 5-10%. The static server is also not 
very busy but the dynamic server can go upt to 99% and a load of 10 and 
more.

Currently:
%MEM %CPU  SHR   PID USER      PR  NI  VIRT  RES S    TIME+  COMMAND
41.1  0.0 7448 27147 unima2    25   0 1770m 1.6g S   
0:36.66 /opt/aolserver4/bin/nsd -u unima2 -t /www/unima2/etc/config.tcl 
with 44 users logged into the system.

Any help or comment is appreciated.

Greetings,
Nima

---------------------------------
dotlrn (dynamic server)
---------------------------------

AOLServer 4.0.10 (connected to the database)
Pound 1.8.2 (as reverse proxy for ssl and load balancing)
Apache 2.0.53 (only redirect from 80 to 443 where pound is)

SuSE 9.2
Linux Linux version 2.6.8-24.18-smp (gcc version 3.3.4 (pre 3.3.5 
20040809)) #1 SMP Fri Aug 19 11:56:28 UTC 2005
4 CPU Intel(R) Xeon(TM) CPU 3.06GHz , L2 cache: 512K
4 GByte RAM - Memory: 4070968k/4111296k available (2339k kernel code, 
39528k reserved, 824k data, 252k init, 3193792k highmem)
2 Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet Cards

AOLServer config.tcl
...

ns_section ns/server/${server}/modules
ns_param libthread ${homedir}/lib/thread2.6.2/libthread2.6.2.so
ns_param nssock ${bindir}/nssock.so
ns_param nslog ${bindir}/nslog.so
ns_param nssha1 ${bindir}/nssha1.so
ns_param nscache ${bindir}/nscache.so
ns_param php ${bindir}/libphp4.so
ns_param nsrewrite ${bindir}/nsrewrite.so
ns_param nscgi ${bindir}/nscgi.so


ns_section ns/parameters
ns_param serverlog ${serverroot}/log/error.log
ns_param home $homedir
ns_param maxkeepalive 100
ns_param logroll on
ns_param maxbackup 5
ns_param debug $debug
ns_param mailhost localhost
ns_param proxy cache.uni-mannheim.de
ns_param proxy_port 3128
ns_param ReverseProxyMode true

ns_section ns/threads
ns_param mutexmeter true
ns_param stacksize [expr 256*1024]

ns_section ns/server/${server}
ns_param directoryfile $directoryfile
ns_param pageroot $pageroot
ns_param maxconnections 100
ns_param keepalivetimeout 15
ns_param maxdropped 0
ns_param maxthreads 65
ns_param minthreads 65
ns_param threadtimeout 3600
ns_param globalstats true
ns_param urlstats true
ns_param maxurlstats 1000

ns_section ns/server/${server}/module/nssock
ns_param timeout 120
ns_param address $address
ns_param hostname $hostname
ns_param port $httpport
ns_param maxinput 20971520

ns_section ns/db/pool/pool1
ns_param maxidle 1000000000
ns_param maxopen 1000000000
ns_param connections 100
...

ns_section ns/db/pool/pool2
ns_param maxidle 1000000000
ns_param maxopen 1000000000
ns_param connections 60
...

ns_section ns/db/pool/pool3
ns_param maxidle 1000000000
ns_param maxopen 1000000000
ns_param connections 30
...


ns_section ns/server/${server}/module/nslog
ns_param debug false
ns_param dev false
ns_param enablehostnamelookup true
ns_param file ${serverroot}/log/${server}.log
ns_param logcombined true
#ns_param extendedheaders COOKIE
#ns_param logrefer false
#ns_param loguseragent false
ns_param maxbackup 1000
ns_param rollday *
ns_param rollfmt %Y-%m-%d-%H:%M
ns_param rollhour 0
ns_param rollonsignal true
ns_param rolllog true

---------------------------------
dotlrn5 (static server)
---------------------------------
AOLServer 4.0.10 (static)

SuSE 9.2
Linux version 2.6.8-24.18-smp ([EMAIL PROTECTED]) (gcc version 3.3.4 (pre 
3.3.5 20040809)) #1 SMP Fri Aug 19 11:56:28 UTC 2005
2 CPU Intel Pentium III (Katmai) 500 MHz
512 MB RAM - Memory: 512744k/524288k available (2339k kernel code, 11100k 
reserved, 824k data, 252k init, 0k highmem)
2 3Com Corporation 3c905B 100BaseTX [Cyclone] Cards

---------------------------------
dotlrn2 (database server)
---------------------------------
PostgreSQL 7.4.8

SuSE 9.2
Linux version 2.6.8-24.18-smp ([EMAIL PROTECTED]) (gcc version 3.3.4 (pre 
3.3.5 20040809)) #1 SMP Fri Aug 19 11:56:28 UTC 2005
4 CPU Intel(R) Xeon(TM) CPU 3.06GHz
4 GB RAM - Memory: 4071012k/4111296k available (2339k kernel code, 39484k 
reserved, 824k data, 252k init, 3193792k highmem)
2 Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet Cards


Postgresql configuration:

tcpip_socket = true
max_connections 200
shared_buffers = 15384
sort_mem = 16384
vacuum_mem = 131072
max_fsm_pages = 100000
max_fsm_relations = 1000
effective_cache_size = 786432
random_page_cost = 2.5
cpu_tuple_cost = 0.01
log_timestamp = true
lc_messages = 'de_DE.UTF-8' # locale for system error message strings
lc_monetary = 'de_DE.UTF-8' # locale for monetary formatting
lc_numeric = 'de_DE.UTF-8' # locale for number formatting
lc_time = 'de_DE.UTF-8' # locale for time formatting


--
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