Im stuck with an issue where some of my feeds are not graphing in EmonCMS. I have EmonCMS installed on a local ubuntu VM has been running through many updates of EmonCMS. I have recently cleaned out a lot of my feeds by deleting some unused and re-setting up all my inputs.
Issue seems isolated to some but not all PHPFNIA feeds. The latest value shows up in the feeds page but when graphed they are not visible.
Below is a quick dump of my administration\server information.
Emoncms Version 9.8.10 | 2017.08.17
Modules Administration | EventProcesses | Feed | Input | CoreProcess | Schedule | Time | User | Visualisation
Server OS Linux 4.4.0-38-generic
Host UbuntuServer UbuntuServer (127.0.1.1)
Date 2017-11-23 10:43:05 NZDT
Uptime 10:43:05 up 3 days, 17:19, 0 users, load average: 2.18, 1.78, 1.70
HTTP Server Apache/2.4.7 (Ubuntu) HTTP/1.1 CGI/1.1 80
Database Version MySQL 5.5.58-0ubuntu0.14.04.1
Host localhost (127.0.0.1)
Date 2017-11-23 10:43:05 (UTC 13:00)
Stats Uptime: 321571 Threads: 18 Questions: 11551303 Slow queries: 0 Opens: 131 Flush tables: 1 Open tables: 124 Queries per second avg: 35.921
Total: 5.93 GB Used: 883.68 MB Free: 5.06 GB
Total: 510 MB Used: 3.95 MB Free: 506.04 MB
Disk Mount Stats
Total: 15.25 GB Used: 9.85 GB Free: 4.61 GB
PHP Version 5.5.9-1ubuntu4.22 (Zend Version 2.5.0)
Modules apache2handler | bcmath | bz2 | calendar | Core v5.5.9-1ubuntu4.22 | ctype | curl | date v5.5.9-1ubuntu4.22 | dba | dom v20031129 | ereg | exif v1.4 | fileinfo v1.0.5-dev | filter v0.11.0 | ftp | gd | gettext | hash v1.0 | iconv | json v1.3.2 | libxml | mbstring | mcrypt | mhash | mysql v1.0 | mysqli v0.1 | openssl | pcre | PDO v1.0.4dev | pdo_mysql v1.0.2 | Phar v2.0.2 | posix | readline v5.5.9-1ubuntu4.22 | redis v3.1.4 | Reflection | session | shmop | SimpleXML v0.1 | soap | sockets | SPL v0.2 | standard v5.5.9-1ubuntu4.22 | sysvmsg | sysvsem | sysvshm | tokenizer v0.1 | wddx | xml | xmlreader v0.1 | xmlwriter v0.1 | Zend OPcache v7.0.3FE | zip v1.11.0 | zlib v2.0 |
I’m struggling to get my head around what the issue could be
Tells us the feeds have not been written too for a significant period of time and the error is being thrown rather than having a huge empty file with data at the beginning and the end. phpfina feeds use space as time tick by whether there is data saved or not.So not using a feed for a year (for example) will only remain smaller than one that is used every day, until, you try and write to that unused feed, at which time it will try and place the latest data one year later in the files structure and backfill with null data points, it the position within the file that gives the data it’s timestamp.
I imagine the feeds were not used for a long time and now you are trying to use them again, the feed looks like it is updating on the feeds page, but the data isn’t actually being saved because you’ve reached the “padding max block size” threshold above, that why the graphs show nothing.
Do you really want to revive these long time dormant feeds that will jump in size as soon as you do write any data to them?
I think your choices are to start a fresh new feed, or you may be able to extend the threshold by editing this line