Home of the Squeezebox™ & Transporter® network music players.
Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 71
  1. #41
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,323

    LMS web interface keeps becomingunresponsive on Debian 10

    Please run the resizing test.

    > mherger wrote:
    >>> [19-08-03 10:42:22.3803] Page Build 30.11536 : Page:

    >> music/35b5770b/cover_240x240_m
    >>
    >> If you loaded one such image with slightly modified parameters (239x239
    >>
    >> - it's the resulting image size) to make sure it's not taken from the
    >> cache, would it really take that long to load? Where is the original
    >> artwork stored? In the music files or separate as a cover.jpg or
    >> similar?


    --

    Michael

  2. #42
    Senior Member
    Join Date
    Jan 2009
    Location
    Los Angeles & London
    Posts
    810
    What's the URL format to force a resize?

  3. #43
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,323

    LMS web interface keeps becomingunresponsive on Debian 10

    > What's the URL format to force a resize?

    http://yourserver:9000/music/35b5770b/cover_240x240_m

    Just vary the 240x240.

    --

    Michael

  4. #44
    Senior Member
    Join Date
    Jan 2009
    Location
    Los Angeles & London
    Posts
    810
    Quote Originally Posted by mherger View Post
    > What's the URL format to force a resize?

    http://yourserver:9000/music/35b5770b/cover_240x240_m

    Just vary the 240x240
    Tried a bunch of image IDs and sizes. Instant response to the browser with the resized images, and nothing logged in perfmon.log

  5. #45
    Same slowness here. I can confirm the unresponsiveness after upgrading to Debian 10.

  6. #46
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,323

    LMS web interface keeps becomingunresponsive on Debian 10

    > Same slowness here. I can confirm the unresponsiveness after upgrading
    > to Debian 10.


    I've installed Debian 10 in a VM with 2MB of RAM, and it's running as
    expected. I didn't have a large library though. Would you see the
    slowness with only a few hundred tracks, too?

    --

    Michael

  7. #47
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,323
    Quote Originally Posted by lemppari View Post
    Same slowness here. I can confirm the unresponsiveness after upgrading to Debian 10.
    Could you please run LMS with --perfwarn, too (as outlined up the thread)?
    Michael

    http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo

  8. #48
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,323
    Quote Originally Posted by paulster View Post
    Setting artwork.imageproxy to INFO or DEBUG didn't yield anything in the log. I did notice what when I set artwork to INFO that there is a 30 second gap between the two requests for image data when you start playing a new album, so it may be whatever is requesting the artwork that's causing the delay:
    Could you please add the following log-line in Graphics.pm, then re-run some tests with logging for artwork set to debug?

    Code:
    diff --git a/Slim/Web/Graphics.pm b/Slim/Web/Graphics.pm
    index 91e42f4821..1bf1773555 100644
    --- a/Slim/Web/Graphics.pm
    +++ b/Slim/Web/Graphics.pm
    @@ -409,6 +409,7 @@ sub artworkRequest {
     				$body = \'';
     			}
     		
    +			main::INFOLOG && $isInfo && $log->info("  Done Resizing: $fullpath using spec $spec");
     			$callback->( $client, $params, $body, @args );
     		};
    Michael

    http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo

  9. #49
    Senior Member
    Join Date
    Jan 2009
    Location
    Los Angeles & London
    Posts
    810
    Perfmon:
    Code:
    [19-08-12 09:40:15.6961] Page Build  30.02915 : Page: music/58797d6e/cover
    [19-08-12 09:40:15.6965] IO          30.03066 : Slim::Web::HTTP::processHTTP
    Server:
    Code:
    [19-08-12 09:39:39.5642] Slim::Web::Graphics::artworkRequest (80) Artwork request: music/0/cover_192x192_p.png
    [19-08-12 09:39:39.5647] Slim::Web::Graphics::artworkRequest (120)   Resize specification: 192x192_p.png
    [19-08-12 09:39:39.5652] Slim::Web::Graphics::artworkRequest (286)   No cover found, translated to html/images/cover_192x192_p.png
    [19-08-12 09:39:39.5660] Slim::Web::Graphics::_cached (65)   from cache: png (10029 bytes for html/images/cover_192x192_p.png)
    [19-08-12 09:39:39.5685] Slim::Web::Graphics::artworkRequest (80) Artwork request: music/0/cover
    [19-08-12 09:39:39.5690] Slim::Web::Graphics::artworkRequest (120)   Resize specification: 
    [19-08-12 09:39:39.5693] Slim::Web::Graphics::artworkRequest (286)   No cover found, translated to html/images/cover.png
    [19-08-12 09:39:39.5697] Slim::Web::Graphics::artworkRequest (354)   Using existing pre-cached file: /usr/share/squeezeboxserver/HTML/Default/html/images/cover.png
    [19-08-12 09:39:44.6769] Slim::Schema::Track::coverArt (372) Retrieving artwork for: file:///data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation%20Theory/01.%20Algorithm.flac
    [19-08-12 09:39:44.6772] Slim::Music::Artwork::_readCoverArtTags (436) Looking for a cover art image in the tags of: [/data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac]
    [19-08-12 09:39:44.7261] Slim::Music::Artwork::_readCoverArtTags (453) Found image of length [637602] bytes with type: [image/jpeg]
    [19-08-12 09:39:45.6671] Slim::Web::Graphics::artworkRequest (80) Artwork request: music/58797d6e/cover
    [19-08-12 09:39:45.6675] Slim::Web::Graphics::artworkRequest (120)   Resize specification: 
    [19-08-12 09:39:45.6681] Slim::Web::Graphics::artworkRequest (375)   Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec 
    [19-08-12 09:40:15.6942] Slim::Web::Graphics::artworkRequest (426)   No Resizing required - return raw image data
    [19-08-12 09:40:15.6950] Slim::Web::Graphics::__ANON__ (412)   Done Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec 
    [19-08-12 09:40:15.7312] Slim::Web::Graphics::artworkRequest (80) Artwork request: music/58797d6e/cover_192x192_p.png
    [19-08-12 09:40:15.7315] Slim::Web::Graphics::artworkRequest (120)   Resize specification: 192x192_p.png
    [19-08-12 09:40:15.7326] Slim::Web::Graphics::artworkRequest (375)   Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec 192x192_p.png
    [19-08-12 09:40:15.7378] Slim::Utils::Misc::msg (1252) Warning: [09:40:15.7375] Reading tags from audio file...
    [19-08-12 09:40:15.7407] Slim::Utils::Misc::msg (1252) Warning: [09:40:15.7404] Loading image from /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac
    [19-08-12 09:40:15.7428] Slim::Utils::Misc::msg (1252) Warning: [09:40:15.7425] Resizing from 600x600 jpg @ 448 to 192x192 png
    [19-08-12 09:40:15.8071] Slim::Utils::Misc::msg (1252) Warning: [09:40:15.8068] Cached music/58797d6e/cover_192x192_p.png (86784 bytes)
    [19-08-12 09:40:15.8074] Slim::Web::Graphics::__ANON__ (412)   Done Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec 192x192_p.png
    [19-08-12 09:40:16.7046] Slim::Web::Graphics::artworkRequest (80) Artwork request: music/58797d6e/cover_240x240_m
    [19-08-12 09:40:16.7052] Slim::Web::Graphics::artworkRequest (120)   Resize specification: 240x240_m
    [19-08-12 09:40:16.7127] Slim::Web::Graphics::artworkRequest (375)   Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec 240x240_m
    [19-08-12 09:40:16.7145] Slim::Utils::Misc::msg (1252) Warning: [09:40:16.7141] Reading tags from audio file...
    [19-08-12 09:40:16.7172] Slim::Utils::Misc::msg (1252) Warning: [09:40:16.7169] Loading image from /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac
    [19-08-12 09:40:16.7188] Slim::Utils::Misc::msg (1252) Warning: [09:40:16.7185] Resizing from 600x600 jpg @ 448 to 240x240 jpg
    [19-08-12 09:40:16.7603] Slim::Utils::Misc::msg (1252) Warning: [09:40:16.7600] Cached music/58797d6e/cover_240x240_m (25548 bytes)
    [19-08-12 09:40:16.7606] Slim::Web::Graphics::__ANON__ (412)   Done Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec 240x240_m
    [19-08-12 09:40:19.0370] Slim::Web::Graphics::artworkRequest (80) Artwork request: music/11026/cover.jpg
    [19-08-12 09:40:19.0375] Slim::Web::Graphics::artworkRequest (120)   Resize specification: .jpg
    [19-08-12 09:40:19.0447] Slim::Web::Graphics::artworkRequest (375)   Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec .jpg
    [19-08-12 09:40:19.0466] Slim::Utils::Misc::msg (1252) Warning: [09:40:19.0463] Reading tags from audio file...
    [19-08-12 09:40:19.0589] Slim::Utils::Misc::msg (1252) Warning: [09:40:19.0586] Cached music/11026/cover.jpg (637602 bytes)
    [19-08-12 09:40:19.0593] Slim::Web::Graphics::__ANON__ (412)   Done Resizing: /data/music/Library/Contemporary/FLAC/CDs/Muse/Simulation Theory/01. Algorithm.flac using spec .jpg

  10. #50
    Senior Member
    Join Date
    Jan 2009
    Location
    Los Angeles & London
    Posts
    810
    Quote Originally Posted by mherger View Post
    > Same slowness here. I can confirm the unresponsiveness after upgrading
    > to Debian 10.


    I've installed Debian 10 in a VM with 2MB of RAM, and it's running as
    expected. I didn't have a large library though. Would you see the
    slowness with only a few hundred tracks, too?
    Not sure if it's relevant, but it seems we've both upgraded to Debian 10 rather than done a clean install. Have you tested with embedded images rather than images in the folder?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •