After approx 1 day running, here are some notes about the ORxPi 2 system status based on the diags log:
Platform
Name: orxpi
Arch: armv6l
Version: 2.0.002
08:28:05 up 1 day, 1:33, load average: 1.20, 1.33, 1.22
In the process list there are many postgres idle processes:
================================================================================
Processes
307 root {librarian} /usr/bin/python /usr/bin/librarian --conf /etc/librarian.ini
337 root {fsal-daemon} /usr/bin/python /usr/bin/fsal-daemon --pid-file /var/run/fsal.pid --conf /etc/fsal.ini
265 root /usr/sbin/ondd -d --pid-file /var/run/ondd.pid -o /mnt/data/downloads
253 root /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
262 postgres /usr/bin/postgres -D /mnt/data/pgsql
274 postgres postgres: checkpointer process
275 postgres postgres: writer process
276 postgres postgres: wal writer process
277 postgres postgres: autovacuum launcher process
278 postgres postgres: stats collector process
339 postgres postgres: postgres fs 127.0.0.1(33962) idle
359 postgres postgres: postgres files 127.0.0.1(33969) idle
360 postgres postgres: postgres sessions 127.0.0.1(33970) idle
361 postgres postgres: postgres twitter 127.0.0.1(33971) idle
362 postgres postgres: postgres auth 127.0.0.1(33972) idle
363 postgres postgres: postgres content 127.0.0.1(33973) idle
364 postgres postgres: postgres notifications 127.0.0.1(33974) idle
374 postgres postgres: postgres fs 127.0.0.1(33975) idle
375 postgres postgres: postgres fs 127.0.0.1(33976) idle
376 postgres postgres: postgres content 127.0.0.1(33977) idle
395 postgres postgres: postgres fs 127.0.0.1(33978) idle
433 postgres postgres: postgres fs 127.0.0.1(33984) idle
448 postgres postgres: postgres sessions 127.0.0.1(34007) idle
449 postgres postgres: postgres sessions 127.0.0.1(34008) idle
450 postgres postgres: postgres sessions 127.0.0.1(34009) idle
451 postgres postgres: postgres sessions 127.0.0.1(34010) idle
452 postgres postgres: postgres notifications 127.0.0.1(34011) idle
2991 postgres postgres: postgres auth 127.0.0.1(39289) idle
2992 postgres postgres: postgres auth 127.0.0.1(39290) idle
2993 postgres postgres: postgres auth 127.0.0.1(39291) idle
2994 postgres postgres: postgres auth 127.0.0.1(39292) idle
2995 postgres postgres: postgres notifications 127.0.0.1(39293) idle
2996 postgres postgres: postgres notifications 127.0.0.1(39294) idle
The log file sizes:
ORxPi v2.0.002 | outernet@orxpi:/var/log> ls -l
total 13999
-rw-rw-rw- 1 root root 767841 Dec 12 09:01 fsal.log
-rw-r–r-- 1 root root 113141 Dec 12 09:01 librarian.log
-rw-r–r-- 1 root root 10485499 Dec 12 08:59 librarian.log.1
-rw------- 1 root root 2596794 Dec 12 09:01 lighttpd-access.log
drwx------ 2 root root 12288 Jan 1 1970 lost+found
-rw-r–r-- 1 root root 145320 Dec 12 09:00 messages
-rw-r–r-- 1 root root 204861 Dec 12 05:20 messages.0
-rw-r–r-- 1 root root 1887 Jan 1 1970 setup
The status of the “log partition”, used 46%:
ORxPi v2.0.002 | outernet@orxpi:/var/log> df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 175888 0 175888 0% /dev
tmpfs 204440 4 204436 0% /dev/shm
tmpfs 204440 296 204144 0% /tmp
tmpfs 204440 52 204388 0% /run
/dev/mmcblk0p1 76907 54566 22342 71% /boot
/dev/mmcblk0p2 14455 162 13175 1% /mnt/persist
/dev/mmcblk0p3 34533 14479 17263 46% /var/log
/dev/mmcblk0p4 7181144 507944 6285368 7% /mnt/data
The size of the downloaded diag file is near 10 M:
9978822 Dec 12 09:29 diags_ORxPi_2015-12-12_08-28-05.log.txt
================
I browsed the diag file searching for Error messages. Here is the result (part):
1 —
[2015-12-11 07:15:05 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>World Possible: RACHEL/Infonet Biovision/export/res/files/1308.400x400.jpeg
[2015-12-11 07:15:05 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
Traceback (most recent call last):
File “/usr/bin/bottle.py”, line 862, in _handle
return route.call(**args)
File “/usr/lib/python2.7/site-packages/librarian_core/contrib/databases/plugins.py”, line 11, in wrapper
return callback(*args, **kwargs)
File “/usr/lib/python2.7/site-packages/bottle_utils/i18n.py”, line 387, in wrapper
return callback(*args, **kwargs)
File “/usr/bin/bottle.py”, line 1729, in wrapper
rv = callback(*a, **ka)
File “/usr/lib/python2.7/site-packages/librarian_captive/plugins.py”, line 26, in wrapper
return callback(*args, **kwargs)
File “/usr/lib/python2.7/site-packages/librarian_library/plugins.py”, line 39, in wrapper
return callback(*args, **kwargs)
File “/usr/bin/bottle.py”, line 3612, in wrapper
result = func(*args, **kwargs)
File “/usr/lib/python2.7/site-packages/librarian_ondd/routes.py”, line 20, in get_signal_status
return dict(status=ipc.get_status())
File “/usr/lib/python2.7/site-packages/ondd_ipc/ipc.py”, line 170, in get_status
’has_lock’: tuner.find(‘lock’).text == ‘yes’,
AttributeError: ‘NoneType’ object has no attribute ‘find’
2 —
[2015-12-11 07:16:35 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>News/Malawi/Capital Radio Malawi/Parliament under pressure to explain expenditure/image0064.png
[2015-12-11 07:16:35 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
((The Traceback text is the same as inn the previous example))
3 —
[2015-12-11 07:36:45 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>News/Malawi/Capital Radio Malawi/Lilongwe by pass to be opened on Tuesday/image0023.jpg
[2015-12-11 07:36:46 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
((The Traceback text is the same))
4 —
[2015-12-11 07:44:49 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>World Possible: RACHEL/Infonet Biovision/export/res/files/3574.400x400.jpeg
[2015-12-11 07:44:49 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
5 —
((In the “application log” part))
[2015-12-11 07:58:22 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>World Possible: RACHEL/Infonet Biovision/export/res/files/3643.400x300.png
[2015-12-11 07:58:22 (+0000)] ERROR Unhandled error ‘‘NoneType’ object is not iterable’ at GET /ondd/files/:
6 —
[2015-12-11 07:58:43 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>65<carousel_id>1</carousel_id>News/Malawi/Capital Radio Malawi/Opposition for extended debate on termination of JCE increase of school fees/image0052.jpg498e00364e396b56c0379d6233e8f80cbf13314b536f02ec6124323c9a457111<block_count>36</block_count><block_received>12</block_received>no<carousel_id>2</carousel_id>World Possible: RACHEL/Infonet Biovision/export/res/files/3444.400x300.jpege69f477d675b19b83acdc2882b6e6b83e7653e2f1513e2445a2bc660cea581a7<block_count>14</block_count><block_received>6</block_received>no<carousel_id>3</carousel_id>updates/wt200/outernet-rx-2.0.000.pkgfaacf280b6449063c3371e7548d0573420fb647e18aa7d9289519ea737bdfaae<block_count>46140</block_count><block_received>2450</block_received>yes<carousel_id>4</carousel_id>.appdata/unicef-tweets/unicef_nepal/img/674900881016508416.jpg9d9900f22ca4392cc81c8dff8ab511c1f7647a0a0d2f371c18768934c77d4b06<block_count>76</block_count><block_received>49</block_received>yes\00<?xml version="1.0" encoding="UTF-8"?>World Possible: RACHEL/Infonet Biovision/export/res/files/3444.400x300.jpeg
[2015-12-11 07:58:43 (+0000)] ERROR ONDD: Could not parse XML data
7 —
[2015-12-11 09:24:13 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>World Possible: RACHEL/Infonet Biovision/export/res/files/2154.280x185.clip.jpeg
[2015-12-11 09:24:13 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
8 —
[2015-12-11 09:27:27 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>News/Malawi/Capital Radio Malawi/Minister maintains stance of school fees hike/image0066.png
[2015-12-11 09:27:27 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
9 —
[2015-12-11 09:30:34 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>News/Malawi/Capital Radio Malawi/Minister maintains stance of school fees hike/image0002.jpg
[2015-12-11 09:30:34 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
10 —
[2015-12-11 09:39:57 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>World Possible: RACHEL/Infonet Biovision/export/res/files/2130.300x200.jpeg
[2015-12-11 09:39:57 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
11 ----
[2015-12-11 09:40:45 (+0000)] DEBUG ONDD: received data: <?xml version="1.0" encoding="UTF-8"?>World Possible: RACHEL/Infonet Biovision/export/res/files/3409.400x400.jpeg
[2015-12-11 09:40:45 (+0000)] ERROR Unhandled error ‘‘NoneType’ object has no attribute ‘find’’ at GET /ondd/status/:
and so…
t.janos