After 45 days running in a raspberry pi my weewx suddenly stopped. I found
on the logs a *"**Out of memory: Kill process 472 (python) score 814 or
sacrifice child"* error. I restarted the weewx service and everything came
back. Anyone has an idea whats triggered the out of memory? I'm attaching
the logs for reference.
root@weather_bridge:~# sudo tail -f /var/log/syslog
Feb 27 06:45:26 weather_bridge kernel: [1878102.860076] [26269] 0
26269 475 18 5 0 0 0 man-db
Feb 27 06:45:26 weather_bridge kernel: [1878102.860100] [26272] 6 26272
3606 2582 10 0 0 0 mandb
Feb 27 06:45:26 weather_bridge kernel: [1878102.860119] Out of memory: Kill
process 472 (python) score 814 or sacrifice child
Feb 27 06:45:26 weather_bridge kernel: [1878102.860239] Killed process 472
(python) total-vm:556264kB, anon-rss:363116kB, file-rss:0kB
Feb 27 06:45:27 weather_bridge apache2[26194]: Reloading web server:
apache2.
Feb 27 06:45:27 weather_bridge CRON[26096]: (CRON) info (No MTA installed,
discarding output)
Feb 27 07:17:01 weather_bridge CRON[26350]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
Feb 27 08:17:01 weather_bridge CRON[26366]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
Feb 27 09:17:01 weather_bridge CRON[26382]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
Feb 27 10:17:01 weather_bridge CRON[26398]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
root@weather_bridge:~# sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
root@weather_bridge:~# sudo /etc/init.d/weewx start
[ ok ] Starting weewx (via systemctl): weewx.service.
root@weather_bridge:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 14859920 1038008 13188412 8% /
devtmpfs 218256 0 218256 0% /dev
tmpfs 222544 0 222544 0% /dev/shm
tmpfs 222544 24948 197596 12% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 222544 0 222544 0% /sys/fs/cgroup
/dev/mmcblk0p1 63503 20593 42910 33% /boot
root@weather_bridge:~#
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.