I have just installed 3Stable with openoffice3. I have noticed, even with no activity that the soffice.bin process continues to use 50-60% of the CPU resources.
RES SHR S %CPU %MEM TIME+ COMMAND 22m 16m S 58 2.2 31:31.48 soffice.bin
This process stops when I stop Alfresco. Is this something normal? This process doesn't seem to be using up more memory.
Hi, Killing everytime soffice process is somewhat annoying task. I observed something that using older version of openOffice configuring with linux works well instead 3.x versions. Because killing soffice bin job inbetween may crashing something inbetween or hang alfresco sometimes.
I've noticed the same problem. If, however, I run <em>soffice.bin</em> from the command line, CPU usage doesn't go up. So I've concluded that maybe it doesn't like standard output being redirected. Indeed, if in <em>openoffice_ctl.sh</em> I change <blockquote>$SOFFICE >/dev/null 2>&1 &</blockquote> to <blockquote>$SOFFICE</blockquote>, CPU usage remains low.
As for automatically killing / restarting processes using high CPU, look into "Monit" (http://mmonit.com/monit/). It will do just that.
start your openoffice with this command: soffice -accept="socket,host=localhost,port=8100;urp" -headless -nologo -nofirststartwizard >/var/run/soffice.bin.pid &>/dev/null &
I don't have the issue with high CPU when redirecting stdout. I have the issue when trying to convert certain specific files that soffice doesn't understand. Instead of giving up, it goes into an infinite loop (well, same effect as an infinite loop anyway).