News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 15225
Latest: robj2022
New This Month: 14
New This Week: 1
New Today: 1
Stats
Total Posts: 124444
Total Topics: 15136
Most Online Today: 51
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 4
Guests: 34
Total: 38

Audio Stops After 1st Run of Playlist, Error - Too many open files

Started by chillipepper, July 05, 2022, 09:47:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chillipepper

FPP stops playing audio after the 1st run of a playlist.  The playlist continues to play the sequences.  FPP becomes more sluggish.  Currently running 5.3.1 using a SB3 for audio on a Pi-Hat  The controller worked flawlessly during xmas season, now not so much.

Looking in logs, a log line stands out:
2022-07-05 07:41:12.580 (7076) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:668: Could not open audio device - ALSA: Couldn't open audio device: Too many open files

The playlist has 3 entries.  The 1st is a sequence only, entries 2 and 3 have audio.

Any ideas how to fix?  Or ways to work around the issue?  I'm running a show the next 1.5 weeks on an isolated show network and it would be nice to not have to perform any upgrades unless there is a known fix for this issue.

Poporacer

Quote from: chillipepper on July 05, 2022, 09:47:39 PMLooking in logs, a log line stands out:
2022-07-05 07:41:12.580 (7076) [MediaOut] /opt/fpp/src/mediaoutput/SDLOut.cpp:668: Could not open audio device - ALSA: Couldn't open audio device: Too many open files
There are quite a few more lines that stand out, do you know what these are?
2022-07-04 22:31:39.083 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 22:31:39.083 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-04 23:13:00.328 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 23:13:00.328 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-04 23:21:00.574 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 23:21:00.574 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-04 23:25:00.700 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 23:25:00.701 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-04 23:29:00.833 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 23:29:00.833 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-04 23:33:00.973 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 23:33:00.974 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-04 23:34:21.017 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 23:34:21.017 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-04 23:35:41.057 (1396) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 4th July Fireworks_b.fseq. FSEQFile::openFSEQFile returned NULL
2022-07-04 23:35:41.057 (1396) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 4th July Fireworks_b.fseq
2022-07-05 07:26:43.566 (1340) [Playlist] /opt/fpp/src/playlist/PlaylistEntrySequence.cpp:64: Error opening sequence 2022 Lakeside Xmas Bounce.fseq
2022-07-05 07:29:02.730 (1340) [Sequence] /opt/fpp/src/Sequence.cpp:290: Error opening sequence file: /home/fpp/media/sequences/2022 Lakeside Xmas Bounce.fseq. FSEQFile::openFSEQFile returned NULL
Are you using the TP Link Plugin? Is so, I would temporarily delete it.

Did you upgrade the OS when you upgraded to 5.3? Look at the Help>About page. Post a screenshot.
5.3 is a rather old version and I seriously doubt the developers are going to even try and chase down a bug in an older version since it has probably already been fixed in other updates. I would suggest updating to the most current version of FPP 5.5-24 and fix the problems identified in your log and then let us know if the problem still exists.
If to err is human, I am more human than most people.

darylc

yeah upgrade to the latest 5.5 verison, there was a problem with too many open files that was fixed earlier this year.  A reboot should also get you going temporarily again

chillipepper

I updated to v5.5 and the open file issue is resolved.  However now the remotes (BBB on 5.3.1) are not working with the 5.5 build in player mode.  The remotes when switched to player work independently so this appears to be a is multi-sync issue.   Is there a simple solution to this aside from upgrading the remotes too? 

I'm not against upgrading the BBBs but conscious of time as I'm trying to do nightly shows the next 1.5 weeks..so if there is something simple to adjust in the configuration to delay the upgrade a few days is greatly appreciated.   Thanks!

Poporacer

Quote from: chillipepper on July 06, 2022, 11:34:06 AMI updated to v5.5 and the open file issue is resolved. 
Awesome!

Quote from: chillipepper on July 06, 2022, 11:34:06 AMHowever now the remotes (BBB on 5.3.1) are not working with the 5.5 build in player mode.
Do you have Send MultiSync packets enabled?

Quote from: chillipepper on July 06, 2022, 11:34:06 AMIs there a simple solution to this aside from upgrading the remotes too? 
It would depend on the problem....Is there a reason for not updating the remotes?

Quote from: chillipepper on July 06, 2022, 11:34:06 AMbut conscious of time as I'm trying to do nightly shows the next 1.5 weeks..
The upgrade takes only about 15 minutes. LOL
If to err is human, I am more human than most people.

chillipepper

@Poporacer Thanks.  The multi-sync packet checkbox was the issue.  It appears all is good now with the configuration.  Thank you and @darylc 

I'm a bit more cautious with this July show setup as I'm running my show network standalone from the Internet.  I'm in a vacation rental for a couple weeks and bridging into that network is not an option.  But fingers crossed...all good now.  Tonight will be the test.

Support FPP

+- Recent Topics

Touchscreen by breese
Today at 05:14:16 AM

Powering Falcon PiCap for DMX use only by danielr
August 13, 2022, 11:24:40 PM

Tester or oscilloscope on the data line?? by johndobbs
August 13, 2022, 10:39:12 PM

F8-B Cap and GPIO Pins by dkulp
August 13, 2022, 11:47:45 AM

PiCap Slow DMX output? by robj2022
August 13, 2022, 11:42:27 AM

Historical knowledge needed - Falcon Differential Remotes by algerdes
August 12, 2022, 09:47:34 PM

Issues with e-mail by CaptainMurdoch
August 12, 2022, 09:42:57 PM

Programmatic interface to make interactive messages/signs on LED Panel with FPP? by CaptainMurdoch
August 12, 2022, 10:38:50 AM

FPP v6.0 on separate subnet by jnealand
August 12, 2022, 09:22:09 AM

BBB Display by TracyDockter
August 11, 2022, 05:18:12 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod