Resource Menu


posted by Sebastien Jourdain at Jan 11, 2006 12:22 PM
Quote
No it's not a local problem. It's a Jonas problem.

In fact you need to execute quite often (in a cron) the command line:

jonas admin -passivate

When you do so, you don't need to restart your server… And this will remove your exception.

To optimise your server, you should optimise your database. For that just execute the command line: vaccumdb -f databaseName

In order to allow Jonas to use more memory than only 128Mb you should set the system variable JAVA_OPTS="-server -Xms768m -Xmx768" depending the amount of memory you have on the computer. You should set 2/3 of the physical memory.

Artenum Team

posted by Rüdiger Lincke at Jan 11, 2006 12:22 PM
Quote
What do you mean by died ? Was it the ls:preffered skin error ?

With died I mean, that the platform web page was not reachable any more. I got an exception displayed, with the ls:preffered skin error.

javax.servlet.ServletException: javax.servlet.jsp.el.ELException: An error occurred while evaluating function "ls:prefferedSkin"
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:842)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)

Do you often do jonas admin -passivate in a cron ?

No, not that we know of.

Do you vaccum your DB ?

No, not that we know of.

What did you set in the memory param for Jonas ?

I don't know, where can I look it up?

It happend in the last 3 weeks about every 5-7 days that we experienced this problem. Since nobody else reported similar problems, I assume it is local to us. I will try to provide more detailed information about our configuration.

What version of LibreSource are currently in use. We are still on the first version, as released in June/July. We did not install any updates/bugfixes. Maybe its because of this.

We tried some time ago to replace the ls://localhost:9000/… on the web pages with the real address, changing some configuration files. Maybe that has something to do with it?

Thank you for your help!

posted by Sebastien Jourdain at Jan 11, 2006 12:22 PM
Quote
What do you mean by died ?

Was it the ls:preffered skin error ?

Do you often do jonas admin -passivate in a cron ?

Do you vaccum your DB ?

What did you set in the memory param for Jonas ?

Regards

Artenum Team

posted by Rüdiger Lincke at Jan 11, 2006 12:22 PM
Quote
Hello,

I have some questions about the stability of LibreSource and Jonas.

We are using here LibreSource for some student projects and courses. We got about 30 users, having 1 active forum, and a upload area, so nothing big.

It happend now the second time (first the 21/9, now the 27/9), that the LibreSource platform was not reachable. We had to stop and start Jonas.

Is this a normal availability behavior, or should it run much longer without problems? Maybe we got something wrong in the installation or configuration.

We use LibreSource 1.0, downloaded 11/7/2005 as LSC-1.0.zip. Jonas version is 4.3.4.

After starting Jonas we got: 109 Java processes 1469MB of (VIRT) virtual memory usage 155 MB of (RES) physical memory usage 1314 MB in (SWAP) the swap file

When LibreSource crashed it was: 253 java processes 1598 MB of (VIRT) virtual memory usage 203 MB of (RES) physical memory usage 1395 MB of (SWAP) swap file usage

Are these typical values?

We are thinking now about restarting Jonas every few days using a cron job, in the hope that it does not die uncontrolled.

Any ideas? How stable is LibreSource running for the rest of you?

We are running it on a Dell PowerEdge SC 1425.
Java 1.4.2-02 (64-bit, Server VM)
Linux cs 2.6.12
Gentoo Base System version 1.6.13

Thank you!

posted by Sebastien Jourdain at Jan 11, 2006 12:22 PM
Quote
You're welcome…

Artenum Team

posted by Rüdiger Lincke at Jan 11, 2006 12:22 PM
Quote
Hello, thank you for the information.

LibreSource runs now since quite a while without problems, so I guess your suggestions solved the problem.

Thank you very much