Re: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response
Hi Andrew. Glad I could help. Certainly heed advice from Michael and don't overdo it with the instances. Your issue was that there was a single one.. that will never be enough. But 5 might be, or 7.. Impossible to say. 11 appears to be too much. Now that you know how to set it, perhaps try experimenting a bit, so that you can find the correct number for you. Too many instances will drain your memory, cause swapping and definitely slow things down. Best regards, Majo On Thu, Nov 16, 2023 at 6:07 PM Plate, Michael < pl...@bibliothek.uni-kassel.de> wrote: > Hi Andrew, > > be careful on the number of CPUs (Cores) you assign to the VM - this may > be a boomerang if the host can't get enough free Cores in one piece and > your VM has to wait until the amount of configured Cores is free. > At least in former times this was limitation, I'am not sure if this still > is that way. > > CU > > Michael > > > Von: dspace-tech@googlegroups.com im > Auftrag von Andrew K > Gesendet: Donnerstag, 16. November 2023 17:29 > An: DSpace Technical Support > Betreff: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response > > […] > > -- > 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/a70d1abf85394d9f856ebd3e4f99a389%40bibliothek.uni-kassel.de > . > -- 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/CAJ98do7NU4CCSo9chwLD8BGBxPeeJt%2Bkp3yAMEmad%3DoDxOSRTg%40mail.gmail.com.
Re: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response
Hi Majo! Thanks again for your help. Actually right now the server works with 3 pm2 instances on 4 CPU cores and 6GB RAM. Not too fast, but still not choking. I also blocked Amazonbot (10-20K connections a day) and a couple of less active bots. It helped a lot. Looks like 5-7 instances is pretty much enough for a modest repository like ours (13K items). Thus 8-10 CPU cores should do the job. As for RAM amount, it's never too much, but 10-12GB should be OK (on our VDS hosting RAM is a lot more expensive, 1GB RAM equals 10 CPU cores). Best regards, Andrew понеділок, 20 листопада 2023 р. о 08:59:24 UTC+2 dataquest пише: > Hi Andrew. > > Glad I could help. > Certainly heed advice from Michael and don't overdo it with the instances. > Your issue was that there was a single one.. that will never be enough. > But 5 might be, or 7.. Impossible to say. 11 appears to be too much. > Now that you know how to set it, perhaps try experimenting a bit, > so that you can find the correct number for you. Too many instances > will drain your memory, cause swapping and definitely slow things down. > > Best regards, > Majo > > On Thu, Nov 16, 2023 at 6:07 PM Plate, Michael < > pl...@bibliothek.uni-kassel.de> wrote: > >> Hi Andrew, >> >> be careful on the number of CPUs (Cores) you assign to the VM - this may >> be a boomerang if the host can't get enough free Cores in one piece and >> your VM has to wait until the amount of configured Cores is free. >> At least in former times this was limitation, I'am not sure if this still >> is that way. >> >> CU >> >> Michael >> >> >> Von: dspac...@googlegroups.com im Auftrag >> von Andrew K >> Gesendet: Donnerstag, 16. November 2023 17:29 >> An: DSpace Technical Support >> Betreff: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response >> >> […] >> >> -- >> 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...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/dspace-tech/a70d1abf85394d9f856ebd3e4f99a389%40bibliothek.uni-kassel.de >> . >> > -- 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/07dda01a-7166-49bf-811b-beff0f02e891n%40googlegroups.com.
Re: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response
Hi Michael! Thanks for the warning! I'm not sure what kind of virtualization we're on. But probably it also has this problem, as they say that the usual amount is 4 cores per server. I guess the performance suffers more with full load (which is rare in this case). Still, even it it doesn't scale linear, 8 cores should overperform 4 cores, right? Best regards, Andrew четвер, 16 листопада 2023 р. о 19:07:18 UTC+2 Plate, Michael пише: > Hi Andrew, > > be careful on the number of CPUs (Cores) you assign to the VM - this may > be a boomerang if the host can't get enough free Cores in one piece and > your VM has to wait until the amount of configured Cores is free. > At least in former times this was limitation, I'am not sure if this still > is that way. > > CU > > Michael > > > Von: dspac...@googlegroups.com im Auftrag von > Andrew K > Gesendet: Donnerstag, 16. November 2023 17:29 > An: DSpace Technical Support > Betreff: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response > > […] -- 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/77e3f7b6-36da-4eb7-a51b-6636d42e1f60n%40googlegroups.com.
Re: [Extern] Re: [dspace-tech] Re: DSpace 7.6 slow server response
Hi Andrew, Am 20.11.23 um 08:39 schrieb Andrew K: […] Still, even it it doesn't scale linear, 8 cores should overperform 4 cores, right? […] depends on the number of cores of the host. I've running a private DSpace 7.6 on raw iron (i7-3770, 8 Cores) with 4 cores for pm2, 16GBs RAM, HW RAID5 and it is the most responsive DSpace I've seen so far (does mot mean much) compared to those VMs I've seen here at work :) . -- 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/0a1e44f0-0e0c-42af-ab1a-8f5acd423366%40bibliothek.uni-kassel.de. smime.p7s Description: Kryptografische S/MIME-Signatur