Bug 106134 - headless mode does not allow concurrent jobs
Summary: headless mode does not allow concurrent jobs
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-22 06:33 UTC by s+cruft
Modified: 2017-02-22 19:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description s+cruft 2017-02-22 06:33:27 UTC
I was trying to batch convert XLSX files to CSV on a multi-CPU system.  However, libreoffice calc would only process one file at a time.

Steps to reproduce:

1. /usr/lib64/libreoffice/program/soffice.bin --headless --convert-to 'xls:MS Excel 97' --outdir . /tmp/SXW1E_IS_1.xlsx &
2. /usr/lib64/libreoffice/program/soffice.bin --headless --convert-to 'xls:MS Excel 97' --outdir . /tmp/SXW1E_IS_2.xlsx &
3. top

Expected results:

Both jobs should have run in parallel.  New systems will almost exclusively scale vertically (more CPUs, more cores, etc.), not allowing concurrent workloads is an obsolete paradigm.
Comment 2 How can I remove my account? 2017-02-22 19:44:15 UTC
In particular, what you want is the -env:UserInstallation option. Use a separate "user installation" (profile) directory for each instance and they should run in parallel.