eXist database size

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

eXist database size

Tambet Matiisen
Hi everyone!

We are using Orbeon 3.8.0 PE in Weblogic 10.3.2.0. We use Orbeon only as
XForms engine, we do not use Form Builder/Form Runner. The problem is,
that eXist data directory size keeps increasing and it's already 2.2GB.
The site is a public website with ~40 000 visitors in a week.

bea@bea3a:/bea/user_projects/domains/avalik/servers/ORBEON1A/stage/orbeon-ear/orbeon-ear/orbeon/WEB-INF/exist-data>
du -h
2.2G .

-rw-r--r-- 1 bea users 19217105 2011-04-06 09:19 0000000022.log
-rw-r--r-- 1 bea users 3272704 2011-04-06 09:19 collections.dbx
-rw-r--r-- 1 bea users 16 2011-04-06 09:19 dbx_dir.lck
-rw-r--r-- 1 bea users 1420324864 2011-04-06 09:19 dom.dbx
-rw-r--r-- 1 bea users 3833856 2011-04-06 09:16 elements.dbx
-rw-r--r-- 1 bea users 16 2011-04-06 09:19 journal.lck
-rw-r--r-- 1 bea users 8192 2011-03-31 23:27 ngram.dbx
-rw-r--r-- 1 bea users 78 2011-03-31 23:27 README.txt
-rw-r--r-- 1 bea users 234 2011-04-01 06:20 symbols.dbx
-rw-r--r-- 1 bea users 8192 2011-03-31 23:27 values.dbx
-rw-r--r-- 1 bea users 819851264 2011-04-06 09:19 words.dbx

As I understand, the eXist database is also used for persisting session
data, when it doesn't fit into memory any more. But shouldn't the
expired sessions purged automatically? I saw a post in list archives
about expired sessions not being deleted in 3.7.1. But we are using
3.8.0, so this issue should be fixed long ago. What do you suggest?

   Tambet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: eXist database size

Erik Bruchez
Administrator
Tambet,

The entries are meant to be purged when sessions expire, but this
doesn't necessarily means that the eXist files on disk will shrink.

Also, when Orbeon Forms starts, it will clear all the entries in the store.

If you do restart Orbeon Forms on a regular basis, you can safely
remove all the eXist files in that directory.

This said, this has been recognized as a problem and that's why in 3.9
we now don't use eXist for that purpose anymore (we use Ehcache
instead).

Erik

On Wed, Apr 6, 2011 at 1:21 AM, Tambet Matiisen
<[hidden email]> wrote:

> Hi everyone!
>
> We are using Orbeon 3.8.0 PE in Weblogic 10.3.2.0. We use Orbeon only as
> XForms engine, we do not use Form Builder/Form Runner. The problem is, that
> eXist data directory size keeps increasing and it's already 2.2GB. The site
> is a public website with ~40 000 visitors in a week.
>
> bea@bea3a:/bea/user_projects/domains/avalik/servers/ORBEON1A/stage/orbeon-ear/orbeon-ear/orbeon/WEB-INF/exist-data>
> du -h
> 2.2G .
>
> -rw-r--r-- 1 bea users 19217105 2011-04-06 09:19 0000000022.log
> -rw-r--r-- 1 bea users 3272704 2011-04-06 09:19 collections.dbx
> -rw-r--r-- 1 bea users 16 2011-04-06 09:19 dbx_dir.lck
> -rw-r--r-- 1 bea users 1420324864 2011-04-06 09:19 dom.dbx
> -rw-r--r-- 1 bea users 3833856 2011-04-06 09:16 elements.dbx
> -rw-r--r-- 1 bea users 16 2011-04-06 09:19 journal.lck
> -rw-r--r-- 1 bea users 8192 2011-03-31 23:27 ngram.dbx
> -rw-r--r-- 1 bea users 78 2011-03-31 23:27 README.txt
> -rw-r--r-- 1 bea users 234 2011-04-01 06:20 symbols.dbx
> -rw-r--r-- 1 bea users 8192 2011-03-31 23:27 values.dbx
> -rw-r--r-- 1 bea users 819851264 2011-04-06 09:19 words.dbx
>
> As I understand, the eXist database is also used for persisting session
> data, when it doesn't fit into memory any more. But shouldn't the expired
> sessions purged automatically? I saw a post in list archives about expired
> sessions not being deleted in 3.7.1. But we are using 3.8.0, so this issue
> should be fixed long ago. What do you suggest?
>
>  Tambet
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: eXist database size

Ralf Jung
Hi Erik,

> This said, this has been recognized as a problem and that's why in 3.9
> we now don't use eXist for that purpose anymore (we use Ehcache
> instead).
Does that mean that, if one does not use Form Runner or Builder, Orbeon 3.9
can run without eXist? Is there a way to properly disable it?
I wondered the same for Form Runner and Form Builder, and tried to remove the
orbeon-form-*.jar files. My app still worked fine, but I eventually put them
back in for fear of weird issues showing up later on.

Kind regards,
Ralf


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws