Customers using Linux, need to have/create the setenv.sh file.
It should be located under the quilliup installation folder: "..\quilliup\bin".
Pay attention:
- The file content should be in the following format:
export JAVA_OPTS="$JAVA_OPTS -server -Xms3072m -Xmx3072m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled"Note: Please define a memory value suitable for your environment!
- Make sure to surround the JAVA_OPTS parameter's value with double quotes. Without quotes, it won't work properly.
- You can define the min and the max capacity (it’s preferable to use the same value for both parameters).
In order to change the memory values, please follow the next steps:
1. Go to the bin folder:
cd /opt/tomcat/bin
2. Check quilliup's service status:
ps -ef | grep tomcatNote: you must be inside the bin folder.
3. Stop quilliup's service:
sudo kill -9 XXXXFor example, XXXX= 785 (near the tomcat):
Note: when quilliup's service is down, you will get the next output:
Make sure that the service is down:
ps -ef | grep tomcat
4. Delete log files:
Go to the logs folder:
cd /opt/tomcat/logs/Delete the contents of the folder:
Note: make sure that you are inside the logs folder!
rm -rf *Note: run the 'ls' command to verify the deletion.
5. Delete the Catalina folder (under the work folder):
Go to the work folder:
cd /opt/tomcat/work/ Delete the contents of the work folder:
Note: make sure that you are inside the work folder!
rm -rf *Note: run the 'ls' command to verify the deletion.
6. Go to the "..\quilliup\bin" folder and change the parameters in the setenv.sh file.
Note: all parameter's values must match the server RAM memory value(s)!
7. Start quilliup's service:
Go to the bin folder:
cd /opt/tomcat/binStart quilliup's service:
sudo ./catalina.sh startCheck that the service is up (run the command inside the bin folder):
ps -ef | grep tomcat
Comments
0 comments
Please sign in to leave a comment.