News:

LATEST RELEASE:  FPP 8.4 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.4

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16762
Latest: asutcliffe25@outlook.com
New This Month: 25
New This Week: 25
New Today: 3
Stats
Total Posts: 134761
Total Topics: 16850
Most Online Today: 169
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 6
Guests: 89
Total: 95

BRP Voting Plugin - Allow others to vote for your songs!

Started by Barkers Random Projects, January 05, 2020, 04:25:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DinoCut


plaberge

Hi there, I've got a new issue this year. :) Here are the details:

When the service is running, ~/media/config/backups fills up with backup files created every second or so, as shown below.

-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170749.json
-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170751.json
-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170753.json
-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170754.json

Over the last couple of days, 25,710+ files were created, consuming 14,492,360 bytes. I can delete them, but I have to keep an eye on this before the 32G SD card fills up. This is a bare install using 7.0, which I then upgraded to the latest version. I installed the plug-in fresh, and everything is running fine except for this issue.

Hopefully, you are still maintaining this, as it gets a lot of use over here. Please let me know if not, and I'll look for an alternative.

Paul.
Halfmoon Bay, BC

Barkers Random Projects

Quote from: DinoCut on November 02, 2023, 10:17:52 PMWill there be an option to self host ever?
Yes I hope so. I made some poor decisions when I created the server/client and tied them together with the rest of my website - but I hope to decouple that, sanitize it, and open source the client/server under a license (like mit or apache) that'll allow people to do self hosting.
Quote from: plaberge on December 03, 2023, 08:44:59 PMHi there, I've got a new issue this year. :) Here are the details:

When the service is running, ~/media/config/backups fills up with backup files created every second or so, as shown below.

-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170749.json
-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170751.json
-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170753.json
-rw-r--r-- 1 fpp fpp 575772 Dec 3 17:07 MasterFPP_all-backup_v7_20231203170754.json

Over the last couple of days, 25,710+ files were created, consuming 14,492,360 bytes. I can delete them, but I have to keep an eye on this before the 32G SD card fills up. This is a bare install using 7.0, which I then upgraded to the latest version. I installed the plug-in fresh, and everything is running fine except for this issue.

Hopefully, you are still maintaining this, as it gets a lot of use over here. Please let me know if not, and I'll look for an alternative.


Thanks for reporting this, I have a fix for this but I'm going to do a little more testing on it before I release it. The changes are in this branch: https://github.com/bbarke/brp-fpp-voting/pull/14
Checkout what else we are working on at https://barkersrandomprojects.com

plaberge

Quote from: Barkers Random Projects on December 07, 2023, 10:32:59 PM
Quote from: plaberge on December 03, 2023, 08:44:59 PMThanks for reporting this, I have a fix for this but I'm going to do a little more testing on it before I release it. The changes are in this branch: https://github.com/bbarke/brp-fpp-voting/pull/14

Great to hear that this is still an active project! I'll try to give the new version a try today. Here's some additional info that may shed more light on this. With the plug-in working, there seems to be a memory leak. I currently have to reboot the system regularly to clean this up. I've got the same FPP/OS version on another Pi as a back-up w/o the plug-in, and here's the memory usage a couple of hours after rebooting.

fpp@MasterFPP:~ $ ps -o pid,user,%mem,command ax | sort -b -k3 -rh | head -n 10
11367 fpp      17.0 php-fpm: pool www
11247 fpp      16.5 php-fpm: pool www
1164 fpp        15.7 php-fpm: pool www
1857 fpp        8.7 php-fpm: pool www
6783 fpp        8.1 php-fpm: pool www
11356 fpp      4.5 php-fpm: pool www
1696 root      1.3 /opt/fpp/src/fppd -f
939 root        0.5 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)
1858 fpp        0.5 php-fpm: pool www
12349 fpp      0.5 php-fpm: pool www

For comparison, here's the system w/o the plug-in.
fpp@YardMaster:~ $ ps -o pid,user,%mem,command ax | sort -b -k3 -rh | head -n 10
9312 root      4.5 /opt/fpp/src/fppd -f
3914 fpp        1.6 php-fpm: pool www
31516 fpp      1.3 php-fpm: pool www
1457 fpp        1.2 php-fpm: pool www
10022 fpp      1.2 php-fpm: pool www
5636 fpp        1.1 php-fpm: pool www
3891 fpp        1.1 php-fpm: pool www
15041 fpp      1.1 php-fpm: pool www
1458 fpp        1.1 php-fpm: pool www
6278 fpp        1.0 php-fpm: pool www
Paul.
Halfmoon Bay, BC

Barkers Random Projects

Thanks for that input! I noticed that too - my "production" pi was lagging and had some high load on it tonight, as it was running the older v15 plugin while I was testing out the v16 on a different rpi. I think it was due to saving the config settings so frequently, triggering the backup. I've published a new version of the plugin, please use the plugin manager to update and let me know if that resolves it for you!
Checkout what else we are working on at https://barkersrandomprojects.com

Barkers Random Projects

This is what it looks like now with running the v16 plugin

fpp@FPP-3b:~/media/plugins $ ps -o pid,user,%mem,command ax | sort -b -k3 -rh | head -n 10
25847 fpp       7.6 php-fpm: pool www
 8148 root      7.0 /opt/fpp/src/fppd -f
 2337 fpp       2.1 /usr/bin/python3 /home/fpp/media/plugins/brp-fpp-voting/scripts/vote-service.py
 8070 fpp       2.0 php-fpm: pool www
16919 fpp       1.9 php-fpm: pool www
22636 fpp       1.8 php-fpm: pool www
15075 fpp       1.8 php-fpm: pool www
30404 fpp       1.6 php-fpm: pool www
30106 fpp       1.6 php-fpm: pool www
29376 fpp       1.6 php-fpm: pool www
Checkout what else we are working on at https://barkersrandomprojects.com

plaberge

Quote from: Barkers Random Projects on December 08, 2023, 11:46:01 PMI've published a new version of the plugin, please use the plugin manager to update and let me know if that resolves it for you!
I've installed it. Memory utilization is way down. And I'm not seeing log files either! *Much* appreciated! I'll keep an eye on it tonight when my show is running.

If you are ever interested in taking this plug-in a little further, please PM me. I've got a couple of ideas :)
Paul.
Halfmoon Bay, BC

CaptainMurdoch

The new FPP v7.4 release also includes some changes to help prevent this backups-related runaway disk usage in the future and also to make sure that automated backups such as this don't force user-initiated backups to expire.
-
Chris

stealth95l

We've had a couple of issues with this plugin this year, it's cleared it's api key and the settings, and I couldn't find there place to restore our api key? We like this plugin so what I've done to remedy this till this is hopefully fixed int he future is I setup a qr code with a link to my domain that forwards it to the brp voting page, that way if our link changes I can update my domain and not have to make another qr code. We also have problems with some of the songs not finishing all the way (it's toward the very end) and it will switch to the next voted song.

Support FPP

+- Recent Topics

FPP 8.3 released by JonD
Today at 07:16:29 PM

Reconfigure pixel counts post installation by dport113
Today at 06:12:12 PM

Can't find IP address and have bad OLED Screen. HELP by djmc2002
Today at 04:36:12 PM

Remote Player with two players the same network by SCUBA
Today at 03:07:50 PM

Direct writing on the "LED Panels" peripheral by mattjcurry
Today at 02:31:49 PM

DHCP wont connect by djmc2002
Today at 02:31:24 PM

Falcon F16V5 WIFI Button question by JonD
Today at 02:15:42 PM

Image overlay Rest API by mattjcurry
Today at 01:44:30 PM

Overlay Image by mattjcurry
Today at 01:42:56 PM

FPP 8.4 released! by dkulp
Today at 01:08:22 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod