performance tuning issues

From: <jreed_at_wukon.appliedtheory.com>
Date: Wed, 16 Feb 2000 13:37:55 -0500

We have a GS140 running DU 4.0F. It has 4 EV6 cpus and 8GB of memory,
and it is suffering greatly. I'm wondering if anyone can make any
suggestions of:
        * tuning references?
        * ways to determine where the problem lies
I'd be particularly interested in others who are running similar hosts
as busy webservers with comparable traffic, and what metrics they see.

Here are some observations.
        - we receive over 2 million hits a day, last I heard
        - host is a proxy server, serving static web pages and offloading
        requests for non-static content to another gs140 similarly
        configured. Active connections to content host range from 10-20
        at any given time.
        - active processes range from 900-1400, of which most are httpd
          processes.
        - active threads are currently at 5400 - max-threads-per-user = 4096,
          machine sometimes complains about maxuthreads being
          exceeded - I recently raised it from the default of 256 -
          but it is not complaining right now, with the current # mentioned.
        - "top" shows load average btwn 25-50, 4GB memory free,
          system at 0% idle, "top" using most amount of CPU.
        - 75% plus of cpu time is in "system state"
        - i/o is minimal - 32-302 KB/second on one data disk, none on
          others.
        - "ESTABLISHED" network connections sit pretty close to 950 during
          most of the day. NIC is on 100baseT port.
        - The Performance Manager utility shows a few interesting things:
                - context switches/second average around 20,000.
                - system calls/second sit pretty tight at 20,000.

Can anyone give me some insights? I've been working thru the perf. tuning
guide in the online docs, recently upped some parameters based on
their advice for busy internet servers:

socket:
        somaxconn = 65535
        sominconn = 65535
inet:
        tcbhashnum = 16
        tcbhashsize = 16384
        ipqs = 16

Thanks in advance for any suggestions you may have!

Judith Reed
jreed_at_appliedtheory.com
Received on Wed Feb 16 2000 - 18:38:50 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT