News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16398
Latest: rafelog927
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 132038
Total Topics: 16365
Most Online Today: 103
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 47
Total: 49

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

Support FPP

+- Recent Topics

Unsurpassed –°asual Dating Real Women by saturn320
Today at 06:13:27 AM

FPP After Hours Music Plugin has been updated by breese
Today at 04:21:18 AM

Finest –°asual Dating Authentic Ladies by john2571
Today at 03:25:31 AM

Kiosk mode touchscreen by Poporacer
February 19, 2024, 08:57:25 AM

reviving a bbb on an octoscroller by Poporacer
February 18, 2024, 11:25:33 AM

External WiFi Adapter and Antenna by JonB256
February 16, 2024, 08:25:13 AM

troubles getting UCS2904/TM1814 to work properly by ocupmoc
February 12, 2024, 11:15:53 AM

F16v4s keep freezing up by Zcarpenter
February 12, 2024, 08:02:46 AM

xLights in Ubuntu 22.04 by LedMutt
February 07, 2024, 08:48:43 PM

FPP 8 early alpha pre-release feedback by LedMutt
February 07, 2024, 08:39:23 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod