7

Hello I have noticed that Deployer and Discovery Services consume a lot of memory,

There are any way to optimize these services?

In the next picture you can see a low consume of RAM only with Content Manager Service Host and SQL Server services started. After start Content Deployer and Content Discovery services, RAM comsuption soars.

enter image description here

Thanks in advance.

8

Are you using the default service configurations? Is this graph in-use or running idle?

You can try reducing the maximum memory used by the Discovery Service down to 128Mb (see the bin/install.ps1 or install.sh script for the -Xms and -Xmx settings). Try setting them to: "-Xms64m", "-Xmx128m"

The deployer can be adjusted dependent on the size of transport packages that you are typically sending. If they are small, the deployer service memory footprint could also be reduced.

  • See docs for additional reference: docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/… – Bengineer Mar 18 '16 at 10:59
  • 1
    This graph is running idle. I installed the default deployer(standalone). In others installations I noticed that tomcat running as service on windows spend a lot of Memory, I read in SDL documentation that this REST service create a Tomcat instance.... I will try to reduce the Java_opts. Thanks! – Jose Honorato Mar 18 '16 at 11:18
  • Do see you see any unusual logging in either the Discovery or Deployer service logs? – Bengineer Mar 18 '16 at 11:21
  • Yes indeed - the standalone services use individual instances of Tomcat under the covers to run each micro service. – Bengineer Mar 18 '16 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.