R1Soft : GC overhead limit exceeded
I encountered this issue on the R1Soft Web Interface last week, which I had to open a support ticket for with R1Soft’s brilliant support.
When trying to run tasks like a backup, run, or restore I would encounter the error messages as seen above.
The error was down to the maximum amount of memory which was assigned to the Java Heap and PermGen. After contacting R1Soft’s support, I was pointed to a config file where you can adjust the java heap and permgen values.
To increase the java heap:
# Edit /usr/sbin/r1soft/conf/server.conf
- Locate the following line at the top: “compute.maxmemory=true” and change it to… “compute.maxmemory=false”
- Locate the following line: “#maxmemory=” and remove the hash symbol. Set it to use 8192 (in MB). It should now read… “maxmemory=8192”
- Save the server.conf file.
# Now restart the CDP Server Service.
- /etc/init.d/cdp-server stop
- /etc/init.d/cdp-server restart
To increase the PermGen Space:
# Edit /usr/sbin/r1soft/conf/server.conf
- Locate the following line “additional.10=-XX:MaxPermSize=256m” and change it to… “additional.10=-XX:MaxPermSize=1024m”
- Save the server.conf file.
# Now restart the CDP Server Service
- /etc/init.d/cdp-server stop
- /etc/init.d/cdp-server restart