Hi members,
I've installed ALARM to this box booting directly from SATA drive but can reproduce hang ups after utilizing about 87% of memory according to top, though having 512MB swap partition in use (which gets also allocated a few MB's).
$this->bbcode_second_pass_code('', '
root@alarm tools# uname -a
Linux alarm 3.1.10 #4 SMP Wed Mar 21 18:34:51 CET 2012 armv6l ARMv6-compatible processor rev 5 (v6l) Oxsemi NAS GNU/Linux
')
The system simply stops when trying to do a somewhat memory hogging perl CPAN.pm ugrade via below command with no messages in any usual /var/log/* files plus is completely unreachable both from ssh/network and serial console:
$this->bbcode_second_pass_code('', '
[root@alarm ~]# perl -mCPAN -e 'install CPAN'
Fetching with HTTP::Tiny:
http://www.planet-elektronik.de/CPAN/authors/01mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with HTTP::Tiny:
http://www.planet-elektronik.de/CPAN/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 05 Apr 2012 23:43:04 GMT
HTTP::Date not available
..............
New CPAN.pm version (v1.9800) available.
[Currently running version is v1.960001]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................
')
I tried to set up watchdog but after starting it with watchdog -v it will reboot a few seconds later. I guess I need to have the proper watchdog module loaded before, probably I mixed them up. In powertop I can see there seems to be already some support of that functionality:
$this->bbcode_second_pass_code('', '
Top causes for wakeups:
37.0% ( 2.0) [kernel core] watchdog_timer_action (watchdog_timer_action)
25.9% ( 1.4) [oxnassata] <interrupt>
18.5% ( 1.0) minidlna
3.7% ( 0.2) [eth0] <interrupt>
3.7% ( 0.2) ntpd
3.7% ( 0.2) init
3.7% ( 0.2) [kernel core] bdi_arm_supers_timer (sync_supers_timer_fn)
3.7% ( 0.2) [kernel core] cfq_completed_request (cfq_idle_slice_timer)
')
but lsmod doesn't show any modules of such kind:
$this->bbcode_second_pass_code('', '
[root@alarm tools]# lsmod
Module Size Used by
nfsd 101827 11
exportfs 4111 1 nfsd
nfs 328170 0
nfs_acl 2807 2 nfs,nfsd
auth_rpcgss 40999 1 nfs
lockd 82121 2 nfs,nfsd
sunrpc 226431 18 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
ipv6 293395 38
')
Having the system running only a few daemons/programs like NFS and minidlna the system feels fine and doesn't hang.
Any idea's how to debug that issue?
Many thanks in advance
FileDescriptor