Hi,
Environment:
SMA Multigate + 12 inverters
MySQL 5.5 on Synology NAS
SBFspot v 3.2 on Raspberry Pi
When I started above configuration all was fine. But after few cycles stopped to work. I checked logs and found that MySQL started refused connection because "aborted_clients" was set to 10. It means that after 10 connection that wasn't closed properly host who did that is added to blocked hosts. I changed to 1000 and started look what is wrong with closing connection is SBFspot.
It looks that program stop to work between
line 573 db.spot_data(Inverters, spottime);
line 736 db.close();
I guess that is somewhere in db.day_data as all day data for inverters are printed correctly when verbose is high. But here I stopped as I'm not sure what is going on in this function. I always had a empty table for Day_data (month data too) and thought that is a normal.
There is also other thing when you start program as normal user there is segmentation fault at this moment but when use sudo there is no. Anyway program is not finishing normally and ther is nor release of db connection.
Is there a way how I could help to find a root cause? I attached debug 5 and verbose 5
Regards
Environment:
SMA Multigate + 12 inverters
MySQL 5.5 on Synology NAS
SBFspot v 3.2 on Raspberry Pi
When I started above configuration all was fine. But after few cycles stopped to work. I checked logs and found that MySQL started refused connection because "aborted_clients" was set to 10. It means that after 10 connection that wasn't closed properly host who did that is added to blocked hosts. I changed to 1000 and started look what is wrong with closing connection is SBFspot.
It looks that program stop to work between
line 573 db.spot_data(Inverters, spottime);
line 736 db.close();
I guess that is somewhere in db.day_data as all day data for inverters are printed correctly when verbose is high. But here I stopped as I'm not sure what is going on in this function. I always had a empty table for Day_data (month data too) and thought that is a normal.
There is also other thing when you start program as normal user there is segmentation fault at this moment but when use sudo there is no. Anyway program is not finishing normally and ther is nor release of db connection.
Is there a way how I could help to find a root cause? I attached debug 5 and verbose 5
Regards