You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Thomas Wenk <Th...@uni-dortmund.de> on 2005/07/28 15:50:41 UTC

quick help? / OutOfMemory Error?

Hi,

could anyone help? I am looking for the reason of the out of memory 
problem, may be it is tomcat, may be slide, or, of cause, our application.

We try to use slide as a component for our learning management system 
(lms). For every user we want to create a home diretory and every user 
is added to the group-member-set of /roles/user. The communication 
between slide and our application is done with HTTP-Client (we don't use 
the slide api).

As server we use a tomcat 5.0.28 on a Suse Linux, hardware: four Xeon 3 
GHz, 2GB memory.

After importing around 1800 users (of 19000) from the old lms we got 
(repeatedly) the following errors in our tomcat log (the import runs 
with six users per second, there should be 1800 times n http actions 
(MKCOL, ACL, PROPPATCH) during this time, may be it is like BUG 34753???)

.....
28 Jul 2005 15:12:32 - org.apache.slide.webdav.WebdavServlet - ERROR - 
java.lang.OutOfMemoryError

.....
org.apache.slide.common.ServiceAccessException: Service 
TxContentFileStore at store/content  working on work/content access 
error : java.lang.OutOfMemoryError

	at org.apache.slide.store.AbstractStore.storeObject(AbstractStore.java:649)

.....
http-ewstw%2F10.0.0.11-8080-Processor13, 28-Jul-2005 15:14:20, root, 
ACL, 404 "Not Found", 2088 ms, /lecture/RoentgenAnalytik
28 Jul 2005 15:14:27 - org.apache.slide.webdav.WebdavServlet - ERROR - 
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
http-ewstw%2F10.0.0.11-8080-Processor67, 28-Jul-2005 15:14:24, root, 
ACL, 500 "Internal Server Error", 3019 ms, 
/lecture/RoentgenAnalytik/cooperation
28 Jul 2005 15:14:29 - org.apache.slide.webdav.WebdavServlet - ERROR - 
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
http-ewstw%2F10.0.0.11-8080-Processor13, 28-Jul-2005 15:14:27, root, 
MKCOL, 500 "Internal Server Error", 2021 ms, /lecture/Signale
http-ewstw%2F10.0.0.11-8080-Processor67, 28-Jul-2005 15:14:29, root, 
MKCOL, 409 "Conflict", 997 ms, /lecture/Signale/public
28.07.2005 15:14:31 org.apache.coyote.tomcat5.CoyoteAdapter service
SCHWERWIEGEND: An exception or error occurred in the container during 
the request processing
java.lang.OutOfMemoryError

....


regards
Thomas Wenk

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: quick help? / OutOfMemory Error?

Posted by Paul Hussein <pa...@terma.it>.
Hav you tried upping the stack size in catalina.sh
try

JAVA_OPTS="-server -Xms256m -Xmx1024m"

and read the tomcat performance articles, they may explain some more.

 From what I have seen also, its that tomcat/slide seems to eat memory. 
SO with a large number of transactions, the stack size of the app 
gradually increases until it hots the default max stack.

Increase your stack enough, and it should never get there.

Can anyone shed more light?

Cheers

Paul.

Thomas Wenk wrote:

> Hi,
>
> could anyone help? I am looking for the reason of the out of memory 
> problem, may be it is tomcat, may be slide, or, of cause, our 
> application.
>
> We try to use slide as a component for our learning management system 
> (lms). For every user we want to create a home diretory and every user 
> is added to the group-member-set of /roles/user. The communication 
> between slide and our application is done with HTTP-Client (we don't 
> use the slide api).
>
> As server we use a tomcat 5.0.28 on a Suse Linux, hardware: four Xeon 
> 3 GHz, 2GB memory.
>
> After importing around 1800 users (of 19000) from the old lms we got 
> (repeatedly) the following errors in our tomcat log (the import runs 
> with six users per second, there should be 1800 times n http actions 
> (MKCOL, ACL, PROPPATCH) during this time, may be it is like BUG 34753???)
>
> .....
> 28 Jul 2005 15:12:32 - org.apache.slide.webdav.WebdavServlet - ERROR - 
> java.lang.OutOfMemoryError
>
> .....
> org.apache.slide.common.ServiceAccessException: Service 
> TxContentFileStore at store/content  working on work/content access 
> error : java.lang.OutOfMemoryError
>
>     at 
> org.apache.slide.store.AbstractStore.storeObject(AbstractStore.java:649)
>
> .....
> http-ewstw%2F10.0.0.11-8080-Processor13, 28-Jul-2005 15:14:20, root, 
> ACL, 404 "Not Found", 2088 ms, /lecture/RoentgenAnalytik
> 28 Jul 2005 15:14:27 - org.apache.slide.webdav.WebdavServlet - ERROR - 
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> http-ewstw%2F10.0.0.11-8080-Processor67, 28-Jul-2005 15:14:24, root, 
> ACL, 500 "Internal Server Error", 3019 ms, 
> /lecture/RoentgenAnalytik/cooperation
> 28 Jul 2005 15:14:29 - org.apache.slide.webdav.WebdavServlet - ERROR - 
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> http-ewstw%2F10.0.0.11-8080-Processor13, 28-Jul-2005 15:14:27, root, 
> MKCOL, 500 "Internal Server Error", 2021 ms, /lecture/Signale
> http-ewstw%2F10.0.0.11-8080-Processor67, 28-Jul-2005 15:14:29, root, 
> MKCOL, 409 "Conflict", 997 ms, /lecture/Signale/public
> 28.07.2005 15:14:31 org.apache.coyote.tomcat5.CoyoteAdapter service
> SCHWERWIEGEND: An exception or error occurred in the container during 
> the request processing
> java.lang.OutOfMemoryError
>
> ....
>
>
> regards
> Thomas Wenk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org