I have problems running Jenkins on my Ubuntu VPS/VServer. It seems to be obvious that the problem results from my low RAM setting (256 MB). However I'm not sure what to do next. Maybe someone can help me figuring out how to proceed best.
Here is what happens:
After installing Jenkins, either the Jenkins Dashboard becomes availabe at IP-ADDRESS:8080 or the Jenkins Server crashes ($ sudo service jenkins status
--> "Jenkins Continuous Integration Server is not running").
When I'm lucky and the dashboard becomes available, all links seem to work at first, but when I click on the "Manage"-link, the Jenkins server crashes again.
When checking the Jenkins log in /var/log/jenkins/jenkins.log, not much can be found about the reasons for the crash. I only find the following line I don't understand really as I'm not using Apache, but nginx:
Sep 08, 2015 10:12:51 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Now to my question:
Do I just need to add RAM or can I maybe just add swap memory or reconfigure the Jenkins startup file? And if I should add RAM, would 1 GB be enough for the beginning as stated here: Jenkins / Hudson CI Minimum Requirements for a linux RH installation?
I'm just using the VPS to try out Jenkins as part of the book Test-Driven Web Development with Python.