Hi! 

 

In tomcat 6.0 configure, I have java options 

 

(1) 

-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 
6.0\common\endorsed

-Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 6.0\temp

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

-Djava.util.logging.config.file=C:\Program Files\Apache Software 
Foundation\Tomcat 6.0\conf\logging.properties

 

The interface also has options for 

(2)     Internal Memory pool

(3)     Maximum Memory pool

(4)     Thread stack size 

 

Would it be better to give memory value at (2) ....(4) or in java options given 
in (1).

 

Thanks,

Jayan

________________________________

From: Tellier, Stephane [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 20, 2007 11:31 PM
To: Jayan Chirayath Kurian
Subject: RE : [Dspace-tech] DSpace concurrent user access

 

Please, send your errors to all DSpace since others will probably be able to 
help you too.

 

For tomcat, that depends on the version you got. I have 5.5 which posess 
something useful in Windows called "Configure Tomcat" (available in the "start" 
folder of tomcat). If you start this, you'll have an interface with a couple of 
tags.  In the Java tag, you have a "Java Options" section where you can add the 
-Xmx parameter. Example of setting is : 

-Xms256m (256 meg)

 

If you don't find this interface tool, or if you don't user the windows 
services, you should find some batch files in the tomcat/bin directory. You 
will have to modify the catalina.bat or startup.bat and add the -Xmx parameter 
in the $options variable. Since I've got the 5.5 version, I have no more thoses 
files so it's difficult for me to remember exactly where to put the parameter...

 

 

 

________________________________

De: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED]
Date: lun. 2007-08-20 10:45
À: Tellier, Stephane
Objet : RE: [Dspace-tech] DSpace concurrent user access

hi! 

 

i will get detailed error list tomorrow. can you please suggest how to boost 
memeory using Xmx parameter in the tomcat files. I am running dpsace 1.4.1 on 
windows 2003.

 

thanks,

jayan

 

________________________________

From: Tellier, Stephane [mailto:[EMAIL PROTECTED]
Sent: Mon 8/20/2007 10:24 PM
To: Jayan Chirayath Kurian; [email protected]
Subject: RE : [Dspace-tech] DSpace concurrent user access

Hi,

 

can you be more specific about the kind of errors you've got from your 
different tests (what was the output in the log files?)

 

Here are some suggestions of mine : 

 

1) put more ram on your server and boost the max memory used by tomcat with the 
-Xmx parameter. The more concurrent user you want to support, the more ram 
you'll need. This is essential for http sessions, although I have no idea for 
now if DSpace sessions are using lot of memory or not.

 

2) raise your bandwidth, this is very important for upload/download features.

 

Hope it helps, maybe others have some suggestions to.

 

________________________________

De: [EMAIL PROTECTED] de la part de Jayan Chirayath Kurian
Date: lun. 2007-08-20 10:00
À: [email protected]
Objet : [Dspace-tech] DSpace concurrent user access

Hi! 
Using Compuware QAload testing tool, our dspace instance (1.4.1 on windows 
2003) was tested on our test server ( 1GB ram, 300 GB HD, with around 100,000 
items)
Tests were performed to see the support for concurrent access to the dspace 
instance. It appears like like for 100 current users, 21 users failed. Is there 
any way to support concurrent access and 
what could be the hardware requirements for the same. 
thanks,
Jayan
 
Test 1 (All pass (100 users): combination of submit, first page and search)
------
Submit: 10 users
First page : 50 users 
Search : 40 users
 
Test 2 (50 users total - 26 fail, 24 pass) - CPU 100%
------
Submit: 50 users
Error Uploading File - Internal System Error
For Test 3, 4, 5 steps followed by concurrent users are 
----------------
accessing http://dspace.ntu.edu.sg/ <http://dspace.ntu.edu.sg/sleep> 
sleep <http://dspace.ntu.edu.sg/sleep>  180s
accessing Communities\r\n& Collections
sleep 240s
accessing "Fifth Collection"
sleep 240s
accessing "Click on Titles for search"
sleep 240s
click on doc "Access to Information and Participant in"
sleep 60s
click on doc "Open/View"
 
Test 3 (30 users all pass)
-----
Whole search process
(Timing in attached file DSpace-test1_08202007_121051.bmp)
 
 
Test 4 (60 users : 4 errors)
------
whole search process
- Internal System Error" was received
- Link option LINK, value "Fifth Collection" not found. The anchor tag was not 
found in the HTML document
 
 
Test 5 (100 users: 21 errors)
------
whole search process
- Internal System Error" was received
- Link option LINK, value "Fifth Collection" not found. The anchor tag was not 
found in the HTML document
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to