If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
You'd have to use something like Putty to connect over SSH to the
device. Then run the command on the shell there. I don't think there's a
way to run a command through the web UI.
I have a Pi4 which runs PCP 8.2 64bit as a player/server. The Pi is connected via ethernet to an internal Wifi mesh. For the last couple of days the LMS tab on the PCP web interface is essentially unobtainable (once the header is loaded it then spins for minutes at a time before loading almost each line).
I have swapped the ethernet cable and done a new install on a fresh SD card with no change in speed. All of the other tabs seem to work properly.
Any ideas what could be happening or what logs to check?
I have the same problem but mine is connected via WIFI, if that matters.
I had the 8.3 version installed and the same happened.
My library consists of 300000+ tracks and 28000 albums if that matters.
SSH into the RPi and take a look at the LMS logs and also use "top" to see if something is using all CPU.
LMS logs can be seen via /var/log/slimserver/server.log
Paul Webster Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Just to be 100% clear ... is this discussion about the tab at the very top of the pCP screen that has a tab for each pCP player plus the LMS tab?
Not the pCP LMS settings page that is underneath the piCorePlayer banner.
If yes (the tab at the top) then do you also find the LMS web interface to be slow to load then you access it via your own new connection in your browser by opening a new tab and requesting the LMS default web interface directly?
Paul Webster Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Just to be 100% clear ... is this discussion about the tab at the very top of the pCP screen that has a tab for each pCP player plus the LMS tab?
Not the pCP LMS settings page that is underneath the piCorePlayer banner.
If yes (the tab at the top) then do you also find the LMS web interface to be slow to load then you access it via your own new connection in your browser by opening a new tab and requesting the LMS default web interface directly?
I don't use the LMS links in the pCP web GUI, for me it's the pCP LMS web page that's slow to load.
Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)
You could try using the browser developer tools to trace the network activity to see if there is a request that takes a very long time to be responded to etc etc.
On pCP 8 - the script that is being run is
/var/www/cgi-bin/lms.cgi
It does a bunch of things and then calls pcp_lms_status to see if LMS is running.
You could put something in there to see if that is taking for ever.
Otherwise you could put some diagnostics in various places in lms.cgi to see if you can work out where it is spending its time.
Paul Webster Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
I'm running PcP LMS 8.2 server and player on an Rpi 4B attached to router through ethernet. I access the PCP page using a 2017 macbook pro on 5G wifi and Chrome browser. The pcp page opens immediately. The LMS tab took 2 seconds upon 'waking', after that clicking that tab the response was immediate.
I have seen something like that before. Please go to tweaks page and untick the picore controls and the LMS panels.
Hit save.
RPI4 8Gb.
Picoreplayer 8.2.
350000 Tracks mostly Mp3 & Flac.
WIFI.
Server & Player installed.
Makes no difference...7 min for loading.
I had version 8.3 installed but had the same behavior.
Don't want to try with Ethernet, since I have to reinstall PCP again from scratch and wait one night for the music scan, but I will try on another card.
Skimming lms.cgi (takes 5s+ here) I'm seeing this candidate:
Code:
# logic to activate/inactivate buttons depending upon whether LMS cache is present or not
TMP=$(find /mnt -type d -maxdepth 3 | grep slimserver/Cache)
If you've mounted a (slow) external drive, or a share over a slow connection (wifi) this might take a while. Even more so if you have many folders at the top level of that mount. In my case find is listing all artist folders from /mnt/music. And it takes a few seconds on a "cold" system (quicker when repeated).
I have two systems with identical collection (541 folders in the top level), both connecting to a NAS using NFS:
Pi3B+, pCP, mounting a Synology DS218j: 2-3s.
Pi4/2GB, Raspbian, mounting a DS1517+: <1s.
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment