[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Usage questions (TOP) (Raq4)



Here's the details.
I've got a RaQ4i with 256MB of RAM.

Normally the load is barely registering (see bottom of post) - about 0.04,
0.11 and the like.
I am allowing one client to *test* a chat program called WebChatter.
Normally I don't allow chat scripts; but decided I would allow a testing of
this one, since some of my clients have been asking for a chat solution that
allows for private rooms. He's agreed to pull it immediately if it puts too
much of a drain on things.

I've been referring clients to www.webmaster.com to get a Backpack chat
room, but those are wide open and frankly - the people that come wandering
into your room, you wouldn't want them chatting with your kids. So we're
trying this one as a possible solution. (If anyone has any better ideas I'm
wide open!)

I've included the top part of TOP while he was chatting, and then what my
TOP normally looks like (taken a few minutes after he stopped testing the
chat script).  Even while he was chatting, the usage went way up but the
load average was still pretty minimal - (2.07, 1.97, 1.58). (His username
has been changed here in the display.)

1. So to you linux gurus, does this look like enough of a load to nix it and
look elsewhere, or should I not even worry about it at this point?
2. And I've been looking all through the archive as to what that mdrecoveryd
line might mean, but haven't been enlightened as of yet, so any comments on
that would be welcome.
3. Does anyone know of a little script, php code snippet, or SSI call that
will take that first line of TOP and put it on a webpage for me?  I'd like
to have this handy for my clients' area so they can see it as well.

Carrie
(TOP reports below)

------------------------------
TOP REPORT WHILE RUNNING CHAT
------------------------------
  6:45pm  up 9 days, 18:43,  1 user,  load average: 2.07, 1.97, 1.58
77 processes: 71 sleeping, 6 running, 0 zombie, 0 stopped
CPU states: 53.2% user, 46.7% system,  0.0% nice,  0.0% idle
Mem:   257816K av,  248740K used,    9076K free,  409164K shrd,   77032K
buff
Swap:  131532K av,     156K used,  131376K free                   75720K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
15737 rboop    17   0  3072 3072   968 R       0 46.8  1.1  12:07 chat.cgi
15714 rboop    14   0  3072 3072   968 R       0 46.2  1.1  12:14 chat.cgi


-------------------------
NORMAL TOP REPORT:
-------------------------
  7:16pm  up 9 days, 19:14,  1 user,  load average: 0.03, 0.05, 0.34
73 processes: 69 sleeping, 4 running, 0 zombie, 0 stopped
CPU states:  3.1% user,  7.2% system,  0.0% nice, 89.6% idle
Mem:   257816K av,  245188K used,   12628K free,  405824K shrd,   77032K
buff
Swap:  131532K av,     156K used,  131376K free                   75720K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
26788 admin      2   0   888  888   668 R       0  2.1  0.3   8:58 top
    1 root       0   0   160  116    92 S       0  0.0  0.0   0:05 init
    2 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kflushd
    3 root       0   0     0    0     0 SW      0  0.0  0.0   0:01 kupdate
    4 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kpiod
    5 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kswapd
    6 root     -20 -20     0    0     0 SW<     0  0.0  0.0   0:00
mdrecoveryd
  780 root       0   0   476  476   376 S       0  0.0  0.1   2:07 syslogd
  789 root       0   0   684  684   304 S       0  0.0  0.2   0:00 klogd
  819 root       0   0   572  572   460 S       0  0.0  0.2   0:00 crond
  848 root       0   0   840  840   500 S       0  0.0  0.3   0:13 snmpd
  860 root       0   0   444  444   372 S       0  0.0  0.1   0:09 inetd
  889 root       0   0  2016 2016   640 S       0  0.0  0.7   1:03 named
  900 root       0   0  9048 9048  7024 S       0  0.0  3.5   0:20 httpd
 1011 postgres   5   5  1684 1684   952 S N     0  0.0  0.6   0:13
postmaster
 1076 root       0   0   820  820   600 S       0  0.0  0.3   0:00 caspd
 1077 root       0   0   820  820   600 S       0  0.0  0.3   0:00 caspd