Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35
  1. #21
    Master Untangler
    Join Date
    Oct 2008
    Posts
    144

    Default

    Something is wrong with my ut box after re-instal.

    I got full hardisk again today

    and I find this bis files :

    r-------- 1 root root 5.8G 2010-11-15 15:55 /proc/kcore
    -rw-r--r-- 1 root root 29G 2010-11-15 01:36 /var/log/untangle-shield/debug.log.1
    -rw-r--r-- 1 root root 39G 2010-11-15 11:55 /var/log/untangle-shield/debug.log


    Whoa ... what that /var/log/untangle-shield/debug.log ? is all about?

    it cost me 69 GB of files ...

    Here is the debug.log files containt :
    Code:
    11-15 16:10:13.063650| Reputation[AC14C802,4, 1]: r      10003.7 a 00000000 r       1429.1 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063717| Reputation[00000000,0,92]: r     0.878934 a 00000000 r      3.90336 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063738| Reputation[AC14179F,1,81]: r      0.08718 a 00000000 r      4.40557 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063754| Reputation[AC14179F,2,81]: r      1.18021 a 00000000 r      4.40557 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063770| Reputation[AC14C801,3, 2]: r   0.00262089 a 00000000 r      21.7664 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063800| Reputation[AC14C802,4, 1]: r      10004.9 a 00000000 r      1429.26 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063937| Reputation[00000000,0,92]: r     0.878934 a 00000000 r      3.90336 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063956| Reputation[AC14179F,1,81]: r      0.08718 a 00000000 r      4.40557 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.063990| Reputation[AC14179F,2,81]: r      1.18021 a 00000000 r      4.40557 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.064008| Reputation[AC14C801,3, 2]: r   0.00262089 a 00000000 r      21.7664 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.064026| Reputation[AC14C802,4, 1]: r      10005.8 a 00000000 r       1429.4 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.064089| Reputation[00000000,0,92]: r     0.878934 a 00000000 r      3.90336 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.064108| Reputation[AC14179F,1,81]: r      0.08718 a 00000000 r      4.40557 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13.064123| Reputation[AC14179F,2,81]: r      1.18021 a 00000000 r      4.40557 s            0 t            0 u 000000000000 e            0
    11-15 16:10:13

    What does it means?


    YY

  2. #22
    Untangle Ninja jcoehoorn's Avatar
    Join Date
    Mar 2010
    Location
    York, NE
    Posts
    1,943

    Default

    Note that this command is kind a hard to run on a production server, and can cause load spikes. I found the following command to be a little friendlier to run on loaded systems:

    find / -size +10000k -print0 | xargs -0 ls -l

    And even here, you still might want to restrict it to a sub folder, but this on my system at least was a lot easier on the RAM.
    Five time Microsoft ASP.Net MVP managing a Lenovo RD330 / E5-2420 / 16GB with Untangle 16.5 to protect a 1Gbps fiber link for ~450 residential college students and associated staff and faculty

  3. #23
    Untangle Ninja jcoehoorn's Avatar
    Join Date
    Mar 2010
    Location
    York, NE
    Posts
    1,943

    Default

    Wouldn't ya know it, I try the command again a few minutes later and it doesn't work the same any more. Weird.
    Five time Microsoft ASP.Net MVP managing a Lenovo RD330 / E5-2420 / 16GB with Untangle 16.5 to protect a 1Gbps fiber link for ~450 residential college students and associated staff and faculty

  4. #24
    Untangle Ninja jcoehoorn's Avatar
    Join Date
    Mar 2010
    Location
    York, NE
    Posts
    1,943

    Default

    What did end up working for me was the du command:
    Code:
    du -h --exclude=/proc --max-depth=2 /
    Five time Microsoft ASP.Net MVP managing a Lenovo RD330 / E5-2420 / 16GB with Untangle 16.5 to protect a 1Gbps fiber link for ~450 residential college students and associated staff and faculty

  5. #25
    Untanglit
    Join Date
    Sep 2010
    Location
    Ukraine
    Posts
    15

    Default

    Good day!

    Subscribe to the issue.

    How to reclaim disk space and where it (free space) disappears?

    How to reclaim disk space and where it (free space) propodaet?

    HDD 80 GB


    System information








    Where are all the remaining space?

    Thank you.
    Last edited by dr.gopher; 12-17-2010 at 01:45 AM.

  6. #26
    Untangle Ninja hescominsoon's Avatar
    Join Date
    Sep 2007
    Posts
    1,704

    Default

    NOt to reduce the problems but I ahve several UT and the only time they ever did this is when i was either logging too much..or had a misconfiguration that was causing this. My boxes typcially have 40 gig drives in them...i'm relaly curious to see the outcome of these issues.

  7. #27
    Untangle Ninja mrunkel's Avatar
    Join Date
    Jul 2008
    Posts
    3,022

    Default

    grrr.

    Sometimes I really wonder about the advice on this forum.

    this command;

    Code:
    du -h --exclude=/proc --max-depth=2 /
    is useless.

    just do a

    Code:
    du -sh * 2>/dev/null
    When it's done, look at the directories with the high disk usage.

    cd into that directory, re-run
    Code:
    du -sh * 2>/dev/null
    .

    Continue until you find the large files.

    If you're database is large, run this command:

    psql -U postgres uvm -c "SELECT relname, reltuples, relpages FROM pg_class ORDER BY relpages DESC LIMIT 20 ;"

    That will tell you your 20 largest tables.

    psql -U postgres uvm -q -t -c "SELECT time_stamp from pl_endp order by time_stamp limit 1;"

    Will tell you the oldest record in the database.

    You can also run

    Code:
    curl http://www.untangle.com/download/patches/6.0/diskuse.sh | dash
    for a complete report.
    Last edited by mrunkel; 12-17-2010 at 02:52 PM. Reason: fixed command
    m.
    <BR>
    Big Frickin Disclaimer:
    While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.
    <BR>It often helps troubleshooting if you have a good network map. Look <A HREF="http://forums.untangle.com/tip-day/5407-how-draw-network-diagram.html">here</A> if you want my advice on how to draw one. <BR> <B>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<B>

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

    Default

    Quote Originally Posted by mrunkel View Post
    Code:
    curl http://www.untangle.com/download/patches/6.0/diskuse.sh | dash


    use it!
    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. #29
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,498

    Default

    mrunkel I think your command is off...

    du -sh on my box gives me

    Code:
    du: cannot access `./proc/6846/task/19031/fd/1105': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1106': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1107': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1108': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1109': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1110': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1111': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1112': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1113': No such file or directory
    du: cannot access `./proc/6846/task/19031/fd/1114': No such file or directory
    du: cannot access `./proc/6846/task/11775': No such file or directory
    du: cannot access `./proc/6846/task/11778': No such file or directory
    du: cannot access `./proc/6846/task/11779': No such file or directory
    du: cannot access `./proc/6846/task/11780': No such file or directory
    du: cannot access `./proc/6846/task/11781': No such file or directory
    du: cannot access `./proc/6846/task/11782': No such file or directory
    du: cannot access `./proc/6846/task/11783': No such file or directory
    du: cannot access `./proc/6846/task/11784': No such file or directory
    du: cannot access `./proc/6846/task/11785': No such file or directory
    du: cannot access `./proc/6846/task/11786': No such file or directory
    du: cannot access `./proc/6846/task/11787': No such file or directory
    du: cannot access `./proc/6846/task/11788': No such file or directory
    du: cannot access `./proc/6846/task/11789': No such file or directory
    du: cannot access `./proc/6846/task/11790': No such file or directory
    du: cannot access `./proc/6846/task/11791': No such file or directory
    du: cannot access `./proc/11923/task/11923/fd/4': No such file or directory
    du: cannot access `./proc/11923/task/11923/fdinfo/4': No such file or directory
    du: cannot access `./proc/11923/fd/4': No such file or directory
    du: cannot access `./proc/11923/fdinfo/4': No such file or directory
    9.0G    .
    root@untangle#                                                                               / #                                                                        [root @ untangle]
    Not a whole lot of useful information there either.

    Now...
    du -h --exclude=/proc --max-depth=1 /

    That gives you a nice report of space by folder off root. And you can drill from there just by yanking the / off the end of the command.

    Code:
    root@untangle#                                                                               / # du -h --exclude=/proc --max-depth=1 /                                  [root @ untangle]
    16K     /lost+found
    6.1M    /bin
    45M     /boot
    4.0K    /cdrom
    640K    /dev
    20M     /etc
    4.0K    /floppy
    1.7G    /home
    4.0K    /selinux
    138M    /lib
    36K     /mnt
    4.0M    /root
    3.5M    /sbin
    0       /sys
    19M     /tmp
    1.7G    /usr
    5.4G    /var
    4.0K    /dvd
    4.0K    /none
    5.7M    /opt
    9.0G    /
    root@untangle#                                                                               / #                                                                        [root @ untangle]
    Last edited by sky-knight; 12-17-2010 at 02:39 PM.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  10. #30
    Untangle Ninja mrunkel's Avatar
    Join Date
    Jul 2008
    Posts
    3,022

    Default

    Quote Originally Posted by sky-knight View Post
    mrunkel I think your command is off...

    du -sh on my box gives me
    Correct, I fixed it.


    Now...
    du -h --exclude=/proc --max-depth=1 /

    That gives you a nice report of space by folder off root. And you can drill from there just by yanking the / off the end of the command.
    That doesn't tell you what's in each subfolder, only what is in the folder directly under root. Not helpful if the files are in /var/lib/postgresql.
    m.
    <BR>
    Big Frickin Disclaimer:
    While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.
    <BR>It often helps troubleshooting if you have a good network map. Look <A HREF="http://forums.untangle.com/tip-day/5407-how-draw-network-diagram.html">here</A> if you want my advice on how to draw one. <BR> <B>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<B>

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

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