+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
Internet Related/Filtering/Firewall Thread, SchoolGuardian - High Resource Usage in Technical; running this on a dc5800 with 4Gig RAM, and C2D CPU But as the pic shows - my load avg ...
  1. #1

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499

    SchoolGuardian - High Resource Usage

    running this on a dc5800 with 4Gig RAM, and C2D CPU
    But as the pic shows - my load avg is constantly max'd out!!
    sg_usage.PNG

    Anyone got any ideas why?

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    login as root (ssh, port 222, or system> shell ) and then run
    Code:
    top
    to see what process is maxing out

  3. #3

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    Hope this makes sense to someone..
    Code:
    [root@proxy root]# top
    top - 14:51:11 up  2:09,  1 user,  load average: 21.23, 22.24, 24.85
    Tasks: 427 total,   5 running, 421 sleeping,   0 stopped,   1 zombie
    Cpu(s): 19.5%us,  4.3%sy,  0.0%ni,  0.0%id, 51.7%wa, 12.3%hi, 12.2%si,  0.0%st
    Mem:   3615832k total,  3500540k used,   115292k free,    95984k buffers
    Swap:  3622648k total,     2996k used,  3619652k free,  2593636k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    19947 postgres  16   0  394m  46m  44m D   16  1.3   0:01.33 postgres
     3313 squid     15   0 50308  44m 1724 R    8  1.3  17:09.89 squid
     7709 postgres  18   0  394m 362m 360m D    6 10.3   2:45.98 postgres
     6891 postgres  18   0  394m 362m 360m D    6 10.3   5:16.74 postgres
    10794 postgres  16   0  395m 361m 359m D    3 10.2   1:47.89 postgres
    20129 postgres  18   0  393m  25m  24m D    3  0.7   0:00.65 postgres
     3595 guardian  16   0  176m 163m 1136 S    3  4.6   2:15.82 dansguardian
    15465 guardian  16   0  176m 164m 1704 S    3  4.6   0:00.57 dansguardian
    19556 guardian  16   0  176m 164m 1796 R    2  4.7   0:02.64 dansguardian
    17048 guardian  15   0  176m 164m 1812 S    2  4.7   0:03.41 dansguardian
    17831 auth      15   0 14944 5140 2704 S    2  0.1   0:00.06 smoothauthd
    17047 guardian  15   0  176m 164m 1856 S    1  4.7   0:03.35 dansguardian
    19482 guardian  15   0  176m 164m 1812 S    1  4.7   0:04.12 dansguardian
    19396 guardian  16   0  176m 164m 1808 S    1  4.7   0:00.92 dansguardian
    19483 guardian  15   0  176m 164m 1820 S    1  4.7   0:02.90 dansguardian
    19552 guardian  16   0  176m 164m 1808 S    1  4.7   0:05.15 dansguardian
    19687 guardian  15   0  176m 164m 1752 S    1  4.6   0:00.42 dansguardian
     2503 root      16   0  6088 4236 1048 S    1  0.1   1:22.52 trafficlogger
     3596 guardian  16   0  176m 163m  880 S    1  4.6   0:16.95 dansguardian
    12994 guardian  16   0  176m 164m 1812 S    1  4.7   0:02.82 dansguardian
    13004 guardian  16   0  176m 164m 1852 S    1  4.7   0:03.77 dansguardian
    13005 guardian  16   0  176m 164m 1856 S    1  4.7   0:01.64 dansguardian
    15470 guardian  16   0  176m 164m 1736 S    1  4.6   0:00.56 dansguardian
    19530 root      16   0  6160 1860 1540 S    1  0.1   0:00.33 sshd
    19551 guardian  16   0  176m 164m 1780 S    1  4.6   0:01.03 dansguardian
    19553 guardian  16   0  176m 164m 1812 S    1  4.6   0:01.60 dansguardian
    19555 guardian  15   0  176m 164m 1816 S    1  4.7   0:02.30 dansguardian
    19689 guardian  16   0  176m 164m 1812 S    1  4.6   0:01.71 dansguardian
    19886 guardian  16   0  176m 163m 1704 S    1  4.6   0:00.17 dansguardian
        6 root      10  -5     0    0    0 S    0  0.0   0:35.90 events/0
       87 root      15   0     0    0    0 D    0  0.0   0:17.54 kswapd0
     3319 squid     15   0  2048  776  464 S    0  0.0   0:00.80 fakeauth_auth
     3320 squid     15   0  2012  736  464 S    0  0.0   0:00.26 fakeauth_auth
     3365 squid     15   0  104m 1500 1104 S    0  0.0   0:16.44 iwf-squid-threa
     3452 auth      16   0  9652 1816 1324 S    0  0.1   0:21.49 smoothauthd
    14900 nobody    16   0  4760 2368 1436 S    0  0.1   0:02.19 httpd
    15273 postgres  17   0  395m 280m 277m D    0  7.9   0:30.11 postgres
    15458 guardian  16   0  176m 164m 1828 S    0  4.6   0:02.53 dansguardian
    15463 guardian  15   0  176m 164m 1780 S    0  4.6   0:00.24 dansguardian
    15468 guardian  15   0  176m 164m 1752 S    0  4.6   0:00.30 dansguardian
    19398 guardian  15   0  176m 164m 1824 S    0  4.6   0:02.17 dansguardian
    19480 guardian  15   0  176m 164m 1828 S    0  4.7   0:02.99 dansguardian
    19485 guardian  15   0  176m 164m 1752 S    0  4.6   0:01.01 dansguardian
    19688 guardian  16   0  176m 164m 1744 R    0  4.6   0:01.41 dansguardian
    [root@proxy root]#
    Just before I stopped it, squid was at the top of that list with %CPU at 45...

  4. #4


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,475
    Thank Post
    866
    Thanked 850 Times in 672 Posts
    Rep Power
    196
    That is pretty huge. You got yesterday's updates on?

    I will take a guess it is something database vs. disk to get LA that high. Might be worth poking support with something sharp.

    Edit: guess was right - hadn't seen your latest post. Postgres is having your disk for dinner. Support will definitely be able to help on that score.

  5. #5

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    @tom - yep installed them over lunch but its not had any effect...

  6. #6


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,475
    Thank Post
    866
    Thanked 850 Times in 672 Posts
    Rep Power
    196
    Has it settled down yet? If not please raise a ticket, and we'll get it looked into.

  7. #7

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    Looks like it is..

    sg_LA2.PNG

    I know its only 4 something but theres no one in school!

  8. #8


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,692
    Thank Post
    352
    Thanked 797 Times in 716 Posts
    Rep Power
    347
    Got yourself a zombie process there too.

    What happened before 12:44 today, looks around system boot time, was this after installing the updates?

    Looks like something (probably postgres) is battering your disks + CPU as Tom said there, sure support will nip it (with a kick) in the bud.

  9. #9

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    The reboot at 12:44 was just after the installation of the updates..
    Will call support tomorrow then

  10. #10

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    Ok raised a support ticket this mornign as I came in at 7am to find it complaining and no users on the system
    Now its spewing out IP LIMIT EXCEEDED errors, yet when I check we have only used 219 out of our alloted 320 licences!
    Still waiting on it rebooting - been stuck at "System going down for Reboot NOW!" for past five minutes

  11. #11


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,475
    Thank Post
    866
    Thanked 850 Times in 672 Posts
    Rep Power
    196
    Urk. I wonder if someone's DOSing the box by mistake?
    Have asked for your ticket to be actioned ASAP.

  12. #12

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    No, becuase at the time it wasn't really affecting QoS - just slow on the Web UI and slower browsing
    But if its gonna keep doing this then I'm gonna be getting turned very slowly over hot coals!!

    How do i get the priority changed?

  13. #13

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    Also, can I check to see if there are any DoS attempts?

  14. #14
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,464
    Thank Post
    10
    Thanked 496 Times in 436 Posts
    Rep Power
    113
    How long is your database set to keep it's records?

  15. #15

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    Just off the phone after speaking a very nice chap by the name of Lyndon
    Looks like our DB was corrupted (@DMcCoy - they are kept for 6 months..)
    He's cleared it and waiting on it to rebuild, he's also advised to reduce out web cache down to minimum as it appears the SATA drive in the server is being referenced as a legacy IDE!!

    Fingers crossed this sorts it!!

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [Ubuntu] obsenely high bandwidth usage
    By RabbieBurns in forum *nix
    Replies: 3
    Last Post: 29th June 2009, 05:12 AM
  2. SchoolGuardian Error??
    By Gatt in forum *nix
    Replies: 3
    Last Post: 18th January 2008, 11:47 AM
  3. SW SchoolGuardian
    By Gatt in forum *nix
    Replies: 17
    Last Post: 20th April 2007, 07:11 AM
  4. SchoolGuardian
    By Simcfc73 in forum Wireless Networks
    Replies: 23
    Last Post: 22nd September 2006, 03:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •