Ok so its pretty much been 2days since the restart and I’ve noticed that the RAM usage is steadily increasing. Its roughly 4% per day.
On the initial restart it was 40% and now its 48%. CPU usage seems about the same, anywhere from 10-15%.
I can only assume that cgminer is restarting in the background and increasing the ram usage each time. As for the cause….I don’t know, maybe one of my Compac-Fs is slowly giving up.
EDIT, So today I've noticed RAM usage has increased to 52% as I type this. But in cgminer, no sticks have restarted and cgminer is still on the same instance (number 767 when I entered the screen list in putty). So not sure why the ram usage is increasing. Anyone have any ideas?
So there is a script running on the SmartHub (BTC Price Updater) - that pulls the BTC price and sticks it in memory (RAM Disk) until it's needed (60 second intervals). I did this to reduce unnecessary writing to the SD card.
Kill this and see if that makes. difference to the RAM usage. It shouldbt do I as wrote the script to overwrite every previous intry and flush the buffer to prevent this exact issue.
As far as the smarthub software implemention goes, I believe this is the only thing I can controbute to RAM usage.
As others have said, use HTOP to get an idea of where any memory use is coming from. It sound like something has a memory leak.
Cheers
IamGPIO