On 2005.10.20, Nima Mazloumi <[EMAIL PROTECTED]> wrote:
>
> we have problems with our aolserver installation and I was wondering if
> someone could give us some insight.
> Please find the details below.
Lets see what we see ...
[...]
> I have around 115 concurrent users and all CPUs are at 95%.
>
> A single page to return takes around 11sec, usually its 400ms and
> less.
>
> top says:
[...]
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> root 16 0 1452 620 1276 S 0.3 0.0 6:00.33 syslogd
What's being written to syslog that it's eating 0.3% of your CPU (and
seems to be the biggest user of CPU during this snapshot)?
> The nsd is somewhere at the bottom:
> unima2 24 0 769m 706m 7204 S 0.0 17.8 0:36.82 0:36 nsd
It's practically sleeping - 0.0% of CPU? Maybe you need to upgrade
"top" -- is it mis-reporting what's really going on?
> When I shutdown the nsd the cpus have no load.
>
> There are several waiting network connections at localhost:ndmp:
> netstat|grep ndmp|grep WAIT |wc
> 340 2040 27540
340 waiting connections? Hmm ...
> PS AUX on webserver box:
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
[...]
First, a few thoughts: this is the webserver box? It's running both
AOLserver and Apache 2. It's running both Sendmail and Postfix. It has
PostgreSQL running as well. It's also running Analog.
Everything is showing up as 0.0% CPU -- how can this be right? Perhaps
you need to upgrade your procps tools. Or, it's a bug -- sounds like
this one:
Bugzilla Bug 111300 -- proc's accounting of CPU and memory
utilization wrong under NPTL
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=111300
The fact that you say when you shut the nsd down, the CPUs go quiet
means that the nsd could be the culprit. Can you get onto the control
port (nscp) and capture the output of:
nscp> join [ns_info threads] \n
at the time the machine is in this state?
-- Dossy
--
Dossy Shiobara [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
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.