Running CLM server 6.0.2 (RTC only) on Amazon Cloud linux
![]()
I've installed RTC 6.0.2 on an Amazon Cloud instance. I downloaded the plain zip with the entire RTC server. Just unzipped and executed server/server.startup.
Before starting i needed to set hard/soft nofile to 65536 and do an "unset JAVA_HOME" to remove references to the OS java installatio (which is incompatible).
It seems to be running fine, but after around 3 days of running, the server suddenly stop. Usually with an error like this in ccm.log:
2016-07-30 01:10:13,405 [ccm: AsynchronousTaskRunner-2 @@ 01:04] WARN .ibm.team.jfs.app.discovery.utils.RootServicesUtil - CRJZS0434W The root services document could not be fetched after 3 attempts.
Then i start the server again and it runs fine again for at few days. I'm thinking this might be because I started the server as a normal user and not root? And the job is ended by the OS or something?
I'm now testing starting the job with "sudo" but I don't have really high hopes for this working.
Any thoughts?
|
Accepted answer
2 other answers
![]()
The server has run for 4 days without incident now. It seems like it was some kind of memory error, but probably the OS maxing out on memory, because I set java to grap all 2GB.
With a setting in server.xml of 1600MB it seems to work. Thanks for all the sparring guys.
## EDIT ##
For documentation purposes I will post my findings:
I ended up running with a memory setting of 1024 MB for the RTC application. It seems like the most important thing is that the operating system has enough memory, or it will kill the rtc java process. RTC has been running with 1024MB and avg. 36% free for 2 weeks now.
I know this configuration is not supported, but Amazon cloud gets SO much more expensive, if you want to have 4GB of memory on your box, and my solution seems to work fine. Also we are uploading big files (200MB+) to the SCM because we're doing game development with Unreal engine and have very big assets. RTC seems to handle all this perfectly :). I really don't know why anyone in the game industry would select Perforce instead of RTC, which seems to be a case of legacy, and the main choice for game dev.
|