I installed emonhub and emoncms using the scripts found here.
After having everything running smoothly and reliably for a few months, I began noticing I was no longer getting data into Home Assistant from my linux container running emonhub and emoncms. I discovered that the container machine was using all resources and froze.
I gave it more memory and started it up again and watched it. A PHP process running as root (not under user pi) was swelling to use all available memory.
pi@emon-cms:~$ php -v
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2-1ubuntu2.14, Copyright (c), by Zend Technologies
Hi... I posted in the Ubuntu PHP forums and it was suggested this could be an issue with 6.5 linux kernel Proxmox just updated to. Likely not an issue of your software stack. Thanks.
Hello:
I installed emonhub and emoncms using the scripts found here.
After having everything running smoothly and reliably for a few months, I began noticing I was no longer getting data into Home Assistant from my linux container running emonhub and emoncms. I discovered that the container machine was using all resources and froze.
I gave it more memory and started it up again and watched it. A PHP process running as root (not under user pi) was swelling to use all available memory.
428 root 20 0 4842580 3.8g 13312 S 0.0 96.1 6:09.83 php
The OS is up-to-date and then today I ran the updater in EmonScripts which didn't seem to change anything.
Known php issue? Something with emonhub?