LibreOffice 6 on Ubuntu Linux, soffice.bin 100% cpu load
Hi all,
I'm running LO 6.0.3.2 on Ubuntu Linux 18.04. As with previous versions, the process soffice.bin frequently shows a persistent 100% CPU load, heating up the CPU and draining my laptop battery.
I usually have several documents open in Writer and Calc at the same time, on of which is rather large (185+ pages with about two dozen images). That might be related to the problem, however if LO is starved for memory I'd expect that to take the form of slowed response, increased swapping and the like, not a maxed out CPU load.
Old (and now apparently obsolete) forum posts suggest tweaking memory settings, which as far as I understand no longer applies. I can't find any other "tuning" options in LO, unless there's something under 'advanced' that I'm unaware of.
Suggestions, anyone?
// FvW
Hi, Same issue here. The memory settings can be tweaked under 'advanced options', but apparently that's not recommended and probably unrelated to the issue (according to LO). Some posts said it's an issue with glib2, and deprecating solved the issue for some people.
Funny thing, I found out that the issue only happens when I open the odt version of my document, but not the docx.
same here but with 16.04.
Same issue with similar usage. Windows platform (Windows 7 x64). Libre Office version 6.0.6.2 (x64). I have also noticed that this happens more often when opening MS Office files.
I'm also finding libreoffice spreadsheets unusable due to this bug. It starts consuming 100% cpu and making certain actions take excruciating long. Last time this happened, it was when I tried to insert a column in a small spreadsheet. Also under Ubuntu 18.04 (mint mate 19.1).
CONFIRM OBSERVATION BY oamoti: I have a large document (114 pages, 33,000 words, 180,000 characters) with perhaps 80 images. When stored as an .odt file it opens slowly, saves very slowly, and consumes 100% of one of my eight cpu's (htop) when the document is open even if I am doing nothing. Following the observation above by uamoti, I saved it as a .docx file. It now opens very-quickly, saves quickly and no longer consumes much cpu. (UBUNTU 16.04; LO 6.0.6.2).
Opening basically any .odt, no matter the size, is going to produce 100% load on a single CPU thread in Ubuntu 18.04.
Similar problem when crashes, select restart use until next time :-( Observations suggest is too much CPU% - what can we do ?
top - 16:26:20 up 8:57, 2 users, load average: 0.39, 0.34, 0.51 Tasks: 193 total, 4 running, 189 sleeping, 0 stopped, 0 zombie %Cpu(s): 60.6 us, 3.0 sy, 0.0 ni, 36.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 14941.78+total, 9529.934 free, 2845.270 used, 2566.582 buff/cache MiB Swap: 32767.99+total, 32767.99+free, 0.000 used. 11425.96+avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15209 paulpar+ 20 0 763536 302252 143316 R 106.7 1.975 0:24.37 soffice.bin
2541 paulpar+ 20 0 342624 64828 45368 S 13.33 0.424 1:03.24 gnome-terminal-
Using LibreOffice since it became available, vague memory of similar eons back which recall was resolved fairly quickly.
Even observing CPU% on terminal and pausing when 50+%, it can still manages to crash before notice it rising.
On linux with RAM and Swap memory available, can we reduce or slow down soffice.bin 's usage of CPU% ?
Why is soffice.bin doing this, and can we track what is happening ?
,