Jodconverter in batch mode - openoffice temp files keep accumulating

251 views
Skip to first unread message

Asiri Rathnayake

unread,
Dec 31, 2009, 6:44:54 AM12/31/09
to JODConverter
Hi,

We're using jodconverter-3.0-beta-2-distribution. While trying to use
it in batch mode we've realized that openoffice temporary files
(placed under /tmp dir) keep on growing. As we observed, this happens
when some conversions fail here and there which causes openoffice not
to release the temporary files.

Any ideas on how we can fix this? Or does it look like an openoffice
bug instead?

- Asiri

Mirko Nasato

unread,
Jan 1, 2010, 7:27:58 AM1/1/10
to JODConverter
What are those files named? A ".~lock*#" file may be leaked if OOo
crashes, but it shouldn't happen frequently.

Kind regards

Mirko

On Dec 31 2009, 11:44 am, Asiri Rathnayake

Asiri Rathnayake

unread,
Jan 2, 2010, 12:45:30 AM1/2/10
to jodcon...@googlegroups.com
Hi,

On Fri, Jan 1, 2010 at 5:57 PM, Mirko Nasato <mirko....@gmail.com> wrote:
What are those files named? A ".~lock*#" file may be leaked if OOo
crashes, but it shouldn't happen frequently.

Temporary directories like sv**.tmp (e.g. sv23.tmp) are created, and inside those directories a couple of more sv**.tmp files are created.

I still couldn't figure out why these temp files are not deleted. OOo doesn't seem to crash though, jodconverter keeps on working until disk space runs out.

Thanks.

- Asiri

Mirko Nasato

unread,
Jan 2, 2010, 10:04:05 AM1/2/10
to JODConverter
On Jan 2, 5:45 am, Asiri Rathnayake <asiri.rathnay...@gmail.com>
wrote:
>

> Temporary directories like sv**.tmp (e.g. sv23.tmp) are created, and inside
> those directories a couple of more sv**.tmp files are created.
>
Oh, you're right, I can see quite a few of them on my servers too. My
Java app server uses its own private tmp dir, but those sv*.tmp files
are in the global /tmp dir instead.

I'll try to find out why OOo creates them, but in the meantime a cron
job to prune old "/tmp/sv*.tmp" files will do.

Kind regards

Mirko

Asiri Rathnayake

unread,
Jan 3, 2010, 11:37:30 AM1/3/10
to jodcon...@googlegroups.com
Hi Mirko,


Many thanks for looking into this :)

For now we are using a small groovy script to get rid of these temporary files.

- Asiri
Reply all
Reply to author
Forward
0 new messages