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: 16765
Latest: rthom24
New This Month: 28
New This Week: 2
New Today: 2
Stats
Total Posts: 134802
Total Topics: 16856
Most Online Today: 118
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 8
Guests: 81
Total: 89

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

Wrong protocol??? by Poporacer
Today at 10:27:32 AM

Remote Player with two players the same network by Poporacer
Today at 08:52:44 AM

Upload directory problem? by Poporacer
Today at 08:35:55 AM

LEDs Partially Lighting Up with ESPixelStick and FPP 8.3 by JonD
Today at 07:07:20 AM

Plugin Licensing / GPL Concerns by nmbgeek
Today at 05:50:36 AM

Dante audio protcol over IP by rthom24
Today at 12:51:06 AM

falcon smart receiver firmware updates by JonD
December 07, 2024, 09:12:47 PM

Extra VLC Options by jasonshearer
December 07, 2024, 08:55:50 PM

F48v5 On-board pixel outputs by PBXTech
December 07, 2024, 08:41:08 PM

DDP or E1.31 by bowhunter3125
December 07, 2024, 08:25:08 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod