Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,510

    Default I have another fun one!

    Minimal network traffic is transiting Untangle, the Internal interface and external interface are responding but it takes minutes to load the UI. SSH takes a good three minutes to login.

    http://pastebin.com/jg2D3Ezn

    Turn off reports, WHAM box is back to life. Turn reports back on, and I'm good for another random length of time. This is the box that is here at Intouch, the hardware is aging, and old mini-PC that was built 5 years ago. I suspect the drive may be going.

    Anyone at Untangle got any bright ideas?

    Network session count shows between 12-20 sessions during this particular window. So we're not generating a ton of requests for the logging to be a real concern.

    Data Retention for Reports? 7 days.
    Reports Retention? 30 days.

    380 days of uptime, I don't want to reboot her! I don't want to take her down for a drive diagnostic. I know I should, but she's been so happy for so long!
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  2. #2
    Untangle Ninja dwasserman's Avatar
    Join Date
    Jun 2008
    Location
    Argentina
    Posts
    4,372

    Default

    du?
    Purge the postgres db?
    The world is divided into 10 kinds of people, who know binary and those not

  3. #3
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,510

    Default

    root@untangle# ~ # df -h [root @ untangle]
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 74G 4.1G 66G 6% /
    tmpfs 474M 0 474M 0% /lib/init/rw
    udev 10M 676K 9.4M 7% /dev
    tmpfs 474M 0 474M 0% /dev/shm
    shmfs 474M 12K 474M 1% /lib/init/rw/splashy
    /dev/sda5 71G 180M 68G 1% /data
    root@untangle# ~ # [root @ untangle]

    Storage isn't the problem.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  4. #4
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    Hard drive problems would make sense as the top output you posted doesn't seem to have anything hitting on the CPU very hard. Did you try an "iotop" by chance to see if there is any clues in there? Wait does "iotop" even exist in Untangle? I didn't check that...
    Last edited by dbunyard; 07-18-2012 at 04:50 PM. Reason: Hmmmm
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  5. #5
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    I use this alot to see what postgres is doing:

    Code:
    watch -n1 "/usr/bin/psql -U postgres uvm -c\"SELECT datname as db,usename as user,procpid as pid,waiting as wait,round(extract('epoch' from (now() - query_start))) as sec,current_query FROM pg_stat_activity WHERE current_query not like '%pg_stat_activity%'\""
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  6. #6
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    That picture nearly made me cover my laptop in water...I should know better than to click the links and pictures you post while drinking.
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  7. #7
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    Nevermind, I'm an idiot...
    Last edited by dbunyard; 07-18-2012 at 04:49 PM.
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  8. #8
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    Yeah, but you ran that on your fedora server
    which probably isn't running postgres.

    That command just shows you what postgres is currently doing. Useful for debugging 'what the hell is going on' if its disk/reports related.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  9. #9
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    Quote Originally Posted by dmorris View Post
    Yeah, but you ran that on your fedora server
    which probably isn't running postgres.
    I realized that...It's been a long week already. Just got back from a 2 week vacation and still trying to drag my mind out of vacation mode... You can just ignore me.
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  10. #10
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,510

    Default

    Next time I get a load spike I'll take a peek.

    Reports have always kicked this machine's butt, hit 2am and I loose internet for a good 30min while it sorts things out. The generation I'm ok with nuking the box, but having the thing just randomly load up in the middle of the day is frustrating.

    Still, it happens once, perhaps twice a month. I've been tracking it since 9.0, and it seems to have gotten better with each release. But with such an intermittent issue, troubleshooting it is a real PITA.

    I really should just get a better Untangle server, but this little guy has been running Untangle since I found Untangle. It has hit over a year in uptime three times in its life. In alot of ways, it deserves to be in some sort of Untangle museum. All this time and only had to pave it once, and that was just because I wanted some peace of mind. That 7.x to 8.x upgrade was a real whopper. Box just didn't quite make it.
    Last edited by sky-knight; 07-18-2012 at 06:41 PM.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

Page 1 of 2 12 LastLast

Posting Permissions

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

SEO by vBSEO 3.6.0 PL2