Hi Frans, There are several problem sources you will need to check to identify the crash root issue.
First, do we have an unrecoverable Error throwable on logs? You need to check the logs last lines before the JVM process crash, if you have an Error output probably you'll have lights on what's happening (out of memory? disk space? etc). Activate the JVM memory dump on out of memory if you find this is the issue (-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/path/to/dump/folder"). Too many concurrent requests? Try to install and configure Control Flow module: https://docs.geoserver.org/main/en/user/extensions/controlflow/index.html To perform a performance test I would recommend to check the http logs to identify the most used service/layers/filters and use JMeter to launch the same concurrent requests to your GeoServer instance. Start with 10 concurrent requests and make it go up to the same estimated ammount of concurrent requests from your metrics. Also, check your http logs in order to identify attack vectors, like DOS. Update tomcat version could be a wise move since several vulnerabilities are being detected for your current version: https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.71 I hope this helps you to start :) Regards, Fernando Mino == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us for more information. == Fernando Mino Software Engineer @fmy2kec GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. On Fri, Sep 15, 2023 at 5:46 AM Frans Fierens <fier...@irceline.be> wrote: > Hello, > > we are using a geoserver version 2.23.0 on a linux server (rocky linux > 8.8, 12 CPU, 64 Gb ram) using Apache Tomcat/9.0.60 > > Tomcat parameters JAVA_OPTS="-Xms49152m -Xmx49152m" > > An example of the load on a regular day (using goaccess) can be found > here: https://geo.irceline.be/www/report_04092023.html > > The server (crashed) when the load increased substantially, see > https://geo.irceline.be/www/report_11092023.html. A tomcat restart a few > times that day was needed to bring the geoserver up and running again. > > It's not clear for me why the server crashed. Although the number of > peak requests increased with a factor of 80, this server should be > powerful enough (in my opinion) to handle that. > > So some questions: > > - should our server be capable to handle that number of requests? > - if so, which configuration parameters (tomcat / geoserver) do I have > to check and adapt ? > - whats the best (and easiest ;-)) way to perform a crash test. > > best regards, > > Frans Fierens > > -- > Frans Fierens <fier...@irceline.be> > Medewerker van de Vlaamse Milieumaatschappij (VMM, http://www.vmm.be) > aangesteld bij de Intergewestelijke Cel voor het Leefmilieu (IRCEL). > -- > Intergewestelijke Cel voor het Leefmilieu (IRCEL) > Gaucheretstraat 92-94 > 1030 Brussel > http://www.irceline.be > http://twitter.com/SMOG_BE > https://www.facebook.com/ircel.celine > Tel 00 32(0)2 227 56 71 > GSM 00 32(0)494 62 91 40 > Skype Frans_JMC.Fierens > > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users