Dear Andrew. I faced similar problems when we deployed our first instance of DSpace and I was also quite confused so as to what is wrong.
Perhaps most important question is, if you are using pm2 with several nodes. When I was deploying it, performance did mention it, but we weren't using it at first. You certainly need it (pm2 starts several nodes, so frontend is served from multiple threads, not just one). Also having anonymousCache set to 0 is probably the issue. I tuned it for some time, but certainly use at least 10, so that some requests are much faster and your server does not get clogged up, therefore slowing every load. If you needed to set it to 0 in order for everything to work, there must be some other, worse problem. Perhaps insufficient memory? Also, your server spec seem to be too low. It seems SSR requires much "bigger" server. We are using 15 cores, 32GB RAM and it is about fine (10 cores were ok, but not when there were long imports of many items running etc.) Yes, it requires much more resources than previous versions, but that simply seems to be the case... I am no expert, so far I only deployed one instance, but I learned a lot with it, at least compared to what I knew before. (If I wrote anything inaccurate I am sorry, anybody that knows better, please correct me.) But I know I was quite desperate and I hope this can help you a bit. To reiterate, most important things (in my opinion) are: 1. Make sure you are using pm2, without it it will hardly ever work well (and fast enough) 2. I suppose your server specs are insufficient. Best regards, Majo On Mon, Nov 13, 2023 at 9:43 PM Andrew K <pkm...@gmail.com> wrote: > OK, I suddenly realized that DSpace log works only when I run scripts like > index-discovery, filter-media etc. Nothing on the web activity > > So, the latest description of the problem: > Any page loads for a very long time, like 30s. But when it's loaded, the > navigation works pretty fast within the browser tab: search, collections, > statistics. > Reloading or opening a link in a new tab causes very slow loading again. > Please help me figure it out > > -- > 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 dspace-tech+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/a72cafa0-be53-42a0-adf1-7bcc3eb204d6n%40googlegroups.com > <https://groups.google.com/d/msgid/dspace-tech/a72cafa0-be53-42a0-adf1-7bcc3eb204d6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAJ98do7eD33fDkRd%3DCC1zoSB29sA7RLM3ok8qkeC5zfem%3D-e0Q%40mail.gmail.com.