Hi Henry,

We have recommendations for better performance available in the 
documentation at: 
https://wiki.lyrasis.org/display/DSDOC7x/Performance+Tuning+DSpace

Specifically, you may want to look at the Frontend performance suggestions, 
as it looks like you may *not* be using "cluster mode" for PM2.  That, in 
itself, might provide a good performance boost to the User Interface.

If these suggestions don't help, you might want to see if you can narrow 
down whether the backend is performing slowly or the frontend is performing 
slowly.   Sometimes the easiest way to determine that is to use your 
browser's DevTools to watch the requests that the frontend (running in your 
browser) is sending to the backend, and see if any specific request to the 
backend is really slow. 

You also should verify there are no errors being thrown in your browser's 
DevTools or in the backend logs. See our Troubleshooting guide for help on 
finding errors: 
https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
  
 If there are errors being thrown behind the scenes, they can result in 
slow behavior as well.

Finally, you may consider upgrading to 7.6.2 (which is a minor upgrade from 
7.6.1) as it provides some performance improvements to the user interface 
that were discovered in some ongoing investigations about how to provide 
even better performance for the User Interface (see 
https://github.com/DSpace/dspace-angular/issues/3110 for these ongoing 
investigations)

Tim

On Wednesday, July 17, 2024 at 8:39:13 AM UTC-5 [email protected] wrote:

> Dear all,
> my DSpace 7.6.1 is very slow. I want advice on the best settings to 
> improve performance.
>
>
> i have 14GB of memory on my DSpace 7.6.1 Server (Front-end and back-end).
>
> I have this setting in my /etc/environment/ :
> *JAVA_OPTS="-Djava.awt.headless=true -Xmx10283m -Xms4024m 
> -XX:MaxPermSize=4024m -XX:+UseParallelGC -Dfile.encoding=UTF-8"*
>
> My Database is on a different server while the assetstore is also on a 
> different server.
>
> My *dspace-ui.json *has the following setting
> {
>     "apps": [
>         {
>            "name": "dspace-ui",
>            "cwd": "/home/dspace/dspace-angular-dspace-7.6.1/",
>            "script": "dist/server/main.js",
>            "env": {
>               "NODE_ENV": "production",
>    "DSPACE_REST_SSL": "true",
>    "DSPACE_REST_HOST": "X.X.X.X",
>    "DSPACE_REST_PORT": "443",
>    "DSPACE_REST_NAMESPACE": "/server"
>            }
>         }
>     ]
> }  
>
>
> Please advise on tomcat, node.js, Cache settings, Java Heap Memory,  Java 
> PermGen Memory settings using 14GB of memory will be much appreciated.
>
> Should i place the tomcat setting in */etc/environment* or in 
> */etc/default/tomcat9 *
> Thank you. 
>
> -- 
> *Psalm 119:28 My Soul is weary with sorrow ; strengthen me according to 
> your Word.*
> *Sincerely Yours,*
>
> *Henry Atsu Agbodza*
> *Commonwealth Fellow*
> *Library Systems and Research Support, *
> *Academic Computing Unit,*
> *University of Ghana Computing Systems (UGCS)*
> *Room G3, Ground Floor - East Wing, *
> *Balme Library*
> *Legon*
> *Tel.: +233 (0) 207 027360*
> *IP Phone: 2442*
>
> *UG Repository <http://ugspace.ug.edu.gh>*
> *UG Library <http://balme.ug.edu.gh>*
>
>
> *UG Online Catalogue (UGCat) <http://library.ug.edu.gh/>UG Research Portal 
> <http://libguides.ug.edu.gh>UG Off - Campus Access to E - Resources 
> <http://ezproxy.ug.edu.gh/>*
> *UG Chat with A Librarian Service <http://balme.ug.edu.gh/chat/client.php>*
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9ca15b0e-5d92-40b7-9ede-58bb8147fa03n%40googlegroups.com.

Reply via email to