I have problems with system resources usage keeping increasing, seemingly due to FF and related software
- the server TMP directly fille up withdrupal_bitcache_* and frupal_file_convert_* files
- Openoffice takes 80% of the CPU usage
/usr/lib/openoffice/program/soffice.bin -headless -accept=socket,port=8100;urp -nofirststartwizard -display 0.0 -splash-pipe=5
- Many processes related to FF (Jod converter and other converter) are listed and allocate memory even when no conversion activity is going on
The server is quite powerful (12 GB memory, 8*2,8GHz cores) but after a few days, and keep increasing day after day.
It only hosts Drupal - about 10 sites on a multi-site installation - low traffic.
After reboot,
- the number of processes is down from 429 to 280
- CPU usage is down from 12% to 2%
- Ram usage is down from 30% to 8%
- system partition usage is down from 72 to 53% (5GB partition)
You can see the change graphically at the extreme right of the digram
Thanks for help
| Comment | File | Size | Author |
|---|---|---|---|
| DrupalServerProcesses.xls | 677.5 KB | jvieille | |
| Serverusage.png | 15.21 KB | jvieille |
Comments
Comment #1
jvieille commentedUpdate:
I ran OpenOffice 2.4, which seems quite buggy.
Installing the latest version 3.2.1 seems to have solved most of the issues: after one day, the CPU activity is still 0% and RAM slightly progressed at 10%
By the way, the upgrade was very simple and worked on the spot (just need to change the initialization script as the files where in totally different location (not installable with apt-get )
In Debian/Ubuntu (French)
wget http://download.services.openoffice.org/files/localized/fr/3.2.1/OOo_3.2...
tar xzvf OOo_3.2.1_Linux_x86-64_install-deb_fr.tar.gz
cd OOO320_m18_native_packed-1_fr.9502/
sudo dpkg -iR DEBS/
then change the program location in the init script:
/opt/openoffice.org3/program/soffice instead of /usr/lib/openoffice/program/soffice
Still pending:
Make sure resource leak is definitely solved by OO 3.2.1.
Looking for:
- the many convert zombie processes reappearing or not
- uncleaned tmp files piling up
Comment #2
jvieille commentedConfirmed: RAM and CPU issue solved by OO upgrade
However, FF related files keep piling up in TMP:
drupal_bitcache_xxx
drupal_file_convert_xxx
drupal_file_messaging_xxx
Comment #3
jvieille commentedUpdate: OO still leaking, this is a known bug which lasts forever.
Still concerned about many conversion zombie processes and tmp files not cleaned up automatically
My current fix is to reboot the server every day or so...
Comment #4
jvieille commentedFound the core problem: there are many corrupted files that fail to convert, apparently clogging Openoffice and other converters
http://drupal.org/node/894528
I also scheduled a daily cron task that restarts openoffice, keeping memory clean.