Bad performance

"Kees Hoekzema" <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
Hello list,

I'm running a Tux 2.0 server, under a high load. The server is a dual Athlon
1400MP w/ 1G ram and serving the files from NFS. The loadaverages are around
4.

When I benchmark this server it is able to almost 3.24 [requests/sec].
On the server Tux is eating up almost all the CPU:
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
#-1        754 93.3  0.0  1612  700 ?        R    Oct04 1308:59 [TUX worker
0]

My startup script configures tux:

    echo "Starting tux:"
    ## tux configuratie:
    echo "1" > /proc/sys/net/tux/threads
    echo "0" > /proc/sys/net/tux/compression
    echo "/mnt/web/tux" > /proc/sys/net/tux/documentroot
    echo "nobody" > /proc/sys/net/tux/cgi_uid
    echo "nobody" > /proc/sys/net/tux/cgi_gid
    echo "1" > /proc/sys/net/tux/virtual_server
    echo "10" > /proc/sys/net/tux/keepalive_timeout
    echo "0" > /proc/sys/net/tux/logging
    echo "1" > /proc/sys/net/tux/generate_cache_control
    echo "/www/logs/tux" > /proc/sys/net/tux/logfile
    echo "tweakers.net" > /proc/sys/net/tux/default_vhost
    echo "http://0.0.0.0:8080" > /proc/net/tux/0/listen/0
    echo "8080" > /proc/sys/net/tux/clientport
    echo "10" > /proc/sys/net/tux/keepalive_timeout
    echo "20000" > /proc/sys/net/tux/max_connect
    echo "10000" > /proc/sys/net/tux/max_keepalives

    ## tux starten:
    /usr/sbin/tux --daemon --threads 1 --docroot /www/tux

I can't figure out where the problem is, I hope someone can help me.

tia,
Kees Hoekzema
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.