huge hda-updates.log file

mciv
Posts: 70
Joined: Mon Feb 02, 2009 9:52 am
Location: Augusta, ME

huge hda-updates.log file

Postby mciv » Mon Jan 17, 2011 8:30 pm

I manage an HDA for a small school and found out tonight that things weren't working correctly. I connected remotely and eventually realized that the hda-update.log file was over 20GB and as such had filled up the root partition so nothing was working. I cleared it and all is well but I'm left with a big question. How did the file get so large so quick? The server has only been running for a few months and isn't doing very much yet.

User avatar
bigfoot65
Project Manager
Posts: 11679
Joined: Mon May 25, 2009 4:31 pm

Re: huge hda-updates.log file

Postby bigfoot65 » Thu Jan 20, 2011 1:27 pm

That is interesting. I will check mine when I get home and see if I have the same problem. If so, might be a bug.
ßîgƒσστ65
Applications Manager

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: huge hda-updates.log file

Postby rgmhtt » Thu Jan 20, 2011 2:38 pm

Oh, it can happen we have a real problem with logrotate.

See bug 644.

rhubarb
Posts: 54
Joined: Wed May 05, 2010 1:59 pm

Re: huge hda-updates.log file

Postby rhubarb » Sat Feb 11, 2012 9:25 am

It seems that Amahi checks for updates every hour.

cat /etc/cron.hourly/hda_update

reducing this to once a day would be enough dont you think?

My hda-updates.log is huge and starts Dec 7

[root@fedora-arm log]# ls -al hda-updates.log
-rw-r--r-- 1 root root 459472134 Feb 11 17:02 hda-updates.log

It looks like its these kind of lines that has caused the log file to grow so large

find: File system loop detected; `./sys/devices/platform/rtc-mv/subsystem/devices/mv_xor.0/dma/dma0chan0/subsystem/dma1chan0/device/dma/dma1chan0' is part of the same file system loop as `./sys/devices/platform/rtc-mv/subsystem/devices/mv_xor.0/dma/dma0chan0/subsystem/dma1chan0'.

This might be indicative of a corrupt SD card (not an expert). It seems to have cleared itself up though since the end of the log file is loads of hourly "Nothing to do"

starting hda update - sleeping 46 seconds
hda update attempt #1 @ Sat Feb 11 17:01:47 CET 2012
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
http://f12.amahi.org/repodata/repomd.xml: [Errno 14] HTTP Error 503 : http://f12.amahi.org/repodata/repomd.xml
Trying other mirror.
Setting up Install Process
Package hdactl-3.5.1-1.armv5tel already installed and latest version
Package hda-platform-5.6.11-1.noarch already installed and latest version
Package hda-suite-0.15-1.noarch already installed and latest version
Package hdapsd-20090401-4.fc12.armv5tel already installed and latest version
Package matching hda-greyhole-0.7.5-1.armv5tel already installed. Checking for update.
Package hda-release-1.0-1.noarch already installed and latest version
Nothing to do

Peter

User avatar
bigfoot65
Project Manager
Posts: 11679
Joined: Mon May 25, 2009 4:31 pm

Re: huge hda-updates.log file

Postby bigfoot65 » Sat Feb 11, 2012 10:25 am

Recommend you submit a bug/feature request at bugs <dot> amahi <dot> org. You can also change it manually yourself as well.
ßîgƒσστ65
Applications Manager

Who is online

Users browsing this forum: No registered users and 2 guests