Page 1 of 1

RPC Service & OpenKM

PostPosted:Fri Apr 15, 2011 12:09 pm
by dmoulton
We recently upgraded OpenKM from 4.1 to 5.0.3. 4.1 ran just fine. Now with 5.0.3 we get "Windows must now restart because the Remote Procedure Call (RPC) service terminated unexpectedly" errors randomly and the server locks up, and has to have a power cycle. I've made some changes to the OpenKM memory settings and to how Windows handles the RPC shutdown, the default is to reboot the server, but I changed it to restart the service. Has anyone else seen this, and what have you done to fix it? The server is a bit short on RAM (2Gb) so that may be an issue as well.

Re: RPC Service & OpenKM

PostPosted:Sat Apr 16, 2011 3:59 pm
by jllort
It's not normal. With 1GB of ram must running on windows without major problems. With windows version do you've got, and 32 or 64 bits architecture ?

Re: RPC Service & OpenKM

PostPosted:Mon Apr 18, 2011 12:37 pm
by dmoulton
I tweaked the memory configuration, changed

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m

to

set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m

in the RUN.BAT file, and it ran fine all weekend, so I think it's fixed. Time will tell.

Re: RPC Service & OpenKM

PostPosted:Mon Apr 18, 2011 5:56 pm
by jllort
If you must restarting server could be some hardware problem ( memory or similar ). That's not normal.