Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Jetty memory limits configurable #759

Open
EdNett opened this issue Jul 27, 2015 · 1 comment
Open

Make Jetty memory limits configurable #759

EdNett opened this issue Jul 27, 2015 · 1 comment

Comments

@EdNett
Copy link

EdNett commented Jul 27, 2015

Hello,

We are running latest boa stable on wheezy with PHP 5.6 and Solr 4 / Jetty 9.

On our test vps, we keep on running out of memory (1 GB RAM) and I notice that java 7 / jetty 9 is using 38% of our RAM on average. I can not find the SOLR ARGS or Jetty Options to modify this start command that is being used:
'/usr/bin/java7 -Xms8m -Xmx256m'
I assume this means start with a min of 8 MB ram and use a max of 256 MB?
I would like to modify it to use a maximum of 64 MB of ram - can I do this, and how, please?
And will java really restrict itself to only using 64 MB of ram. It seems odd that it is using 380 - 390 MB or ram when the jetty start command, if I understand it correctly, limits ram usage to 256 MB?

I looked at the jetty-lowresources file but that doesn't allow me to modify the ram used. By the way in this file, does the 0 used in connections mean zero or does it mean unlimited. 0, I guess, and "-1" is used for unlimited?

Thanks for your advice.

Best,

Ed

@omega8cc
Copy link
Owner

You should not attempt to run Solr on system with only 1 GB of RAM. It was listed as a requirement in a previous docs/SOLR.txt how-to I think, but it is missing now, so we need to fix this, but it is not possible to configure this currently. We could make it configurable in the future, though.

For reference: https://omega8.cc/remote

Installation of Solr/Jetty is optional and requires 2 GB RAM at minimum.

@omega8cc omega8cc changed the title Request for Jetty9 memory modification help Make Jetty memory limits configurable Jul 28, 2015
@omega8cc omega8cc added this to the 2.x.0 milestone Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants