Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Sep 2008
    Posts
    13

    Windows memory usage

    Logitech Media Server quickly uses over 300 MB of memory on my PC and makes it very sluggish. After a restart it "only" uses around 150 MB. Is it just built to be leaky or is there anything to do? I was trying to schedule a nightly restart of the service, but I can't find it in the Services list. What's it called?

  2. #2
    Member
    Join Date
    Dec 2008
    Location
    Scotland
    Posts
    38

    LMS Service Name

    It calls itself squeezesvc in the task manager services tab, but Logitech Media Server in services.
    LMS 7.7.2
    Acer Revo 3700, Win7
    Touch, Duet and 3 Radios

  3. #3
    Junior Member
    Join Date
    Sep 2008
    Posts
    13
    Quote Originally Posted by GreyBeard View Post
    It calls itself squeezesvc in the task manager services tab, but Logitech Media Server in services.
    I have neither. All I have is SQUEEZ~3.EXE in Taskmanager, but I need the service name. Doesn't it run as a Windows service??

  4. #4
    Junior Member
    Join Date
    Sep 2008
    Posts
    13
    Quote Originally Posted by djon View Post
    I have neither. All I have is SQUEEZ~3.EXE in Taskmanager, but I need the service name. Doesn't it run as a Windows service??
    My bad, I hadn't changed it to run at system login...

  5. #5
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    11,673
    The total memory used also depends on the amount of plugins running, and yes it is growing after initial start and some searching and browsing , but 150-300mb is not that much and i consider that normal by today's standard . Do you have any swap at all ?

    A minimal install with very little plugin use is closer to 150mb ime add more plugins and it uses more.
    Also in the performance settings you can enable a high memory mode for systems >1000mb memory to speed things up, you obviously don't want that if you use some old hardware with very little ram .
    I uses that mode with a box at exactly 1000mb ram, but I'm on a very light server Linux OS so the OS itself don't grab much it basically never swaps .

    Have in mind that LMS can use almost all aviable resources during scanning on slower hardware , so if that's the case wait until the scan is finished before use .

    And yes there is circumstantial evidence that LMS is somewhat leaky ,but it usually take weeks and it's a lot more memory than this ?

    I disabled the video and picture things and the dlna/upnp plugin as this is not a core feature for a squeezebox user and was conceived to aid the Logitech revue ( who is now discontinued ) and never worked quite right neither in scanning or use .
    I've also disabled the slimp3 and sb1 support as I don't have those really old players, this may save some memory too .

    What the CPU use ? It migth be another reason but memory that makes everything grind to a halt ?
    Are you perhaps using a file format that needs server transcoding before it's sent to the player ? This uses CPU .
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (in storage SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  6. #6
    Senior Member
    Join Date
    Dec 2007
    Location
    Boston area (NE USA)
    Posts
    647
    I shut the service down every night using psservice, do a robocopy daily mirror of the cache as it's on a ramdisk, then restart.
    If you're concerned about a long-term memory leak you could just do a restart every night.
    Download psservice.exe from microsoft
    create a cmd file containing the line psservice restart squeezesvc
    schedule the cmd to be run.

    Actually, you could just schedule psservice to run with the parameters "restart squeezesv"

  7. #7
    Senior Member
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    10,073
    The server tends to grow, but in my experience it tends to plateau at some level of memory usage. Far more likely is that one or more of the plugins that you're running is misbehaving. You should disable any third party _and_ built in plugins that you don't actually use.

  8. #8
    Junior Member
    Join Date
    Sep 2008
    Posts
    13
    Quote Originally Posted by bobkoure View Post
    I shut the service down every night using psservice, do a robocopy daily mirror of the cache as it's on a ramdisk, then restart.
    If you're concerned about a long-term memory leak you could just do a restart every night.
    Download psservice.exe from microsoft
    create a cmd file containing the line psservice restart squeezesvc
    schedule the cmd to be run.

    Actually, you could just schedule psservice to run with the parameters "restart squeezesv"
    Thanks for that. I struggled with a bat file containing net stop and net start logitech media server, because it didn't start up properly. Psservice works like a charm, so I've scheduled this to run once a week now.

    The leak I can see is a slow rise from 150 MB to 500 MB within a few weeks, making my poor old server more and more slow, probably because it doesn't have too much RAM and needs to swap a lot more as LMS eats away it's ressources.

Posting Permissions

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