Re: [Geoserver-users] High CPU & memory on Windows
Dear all, just wanted to add that we will be adding the option to disable the OSHI statics gathering by the end of the week (they will be disabled by default), this will allow us to: - Unblock the situation, once the issue is clearly identified we may think about a fix for the environments where the high CU usage is identified. - Disable and enable OSHI at runtime. Kind regards, Nuno Oliveira On Sun, Dec 19, 2021 at 8:46 PM Russell Grew < russell.g...@douglaspartners.com.au> wrote: > Hi Niklas, > > > > Jody talks about this here > > > > https://sourceforge.net/p/geoserver/mailman/message/37328870/ > > > > Now that I think about it I did have a windows situation when GeoServer > consumed resources, become unresponsive and never came back, possibly > following a silly SQL query. Installing the Control Flow Module fixed this, > at least so that the service would reliably stay running after dropping > long queries. > > > > Running fine here on Windows Server 2019, AdoptOpenJDK: 11.0.6 (OpenJDK > 64-Bit Server VM) and Tomcat 8.5. With 2 CPUs and 12 GB RAM. > > > > When I do things in the Web UI the CPU spikes briefly but goes back down. > I also have your noted steady 2.5 GB RAM usage by Tomcat. I assumed this > was fine. > > > > Server Status screenshot in case it helps (note early morning here and not > much usage presently): > > > > > > Good luck! > > > -- > > If you are not the intended recipient of this email, please notify us > immediately and be aware that any disclosure, copying, distribution or use > of the contents of this information is prohibited. > > *From:* Niklas Elelid > *Sent:* Monday, 20 December 2021 5:37 AM > *To:* geoserver-users > *Subject:* [Geoserver-users] High CPU & memory on Windows > > > > Hi list members! > > I started with Geoserver on a Windows 2016 server some time ago. Since I > had problems with high CPU & memory usage I tried a Linux installation > which seemed much better. For various reasons I now went back to Windows > on a more capable server (4 CPU / 8 GB RAM) which I thought would be > able to run Geoserver better than the first installation. > > But unfortunately the same issue on Windows again. On startup the > service goes up to approx 70%, idles around 1-2 % CPU but still hogs > about 600MB of RAM. Logging into the web admin brings the CPU up to 50%. > The main issue is that a layer request makes it spike at around 90% and > 2.5GB RAM and then it just stays there without me making any more > requests. Now it's game over until after the service is restarted which > by the way is not possible. I have to kill the process and start the > service. > > The layer in question is loading an ImageMosaic layer with images on > disk and the time/elevation data in PostgreSQL. A windbarb SLD is > applied to the layer. > > Any ideas on where to start troubleshooting this? > > Thanks in advance! > > Niklas > > > > ___ > 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 > > > *Disclaimer* > > The information contained in this communication from the sender is > confidential. It is intended solely for use by the recipient and others > authorized to receive it. If you are not the recipient, you are hereby > notified that any disclosure, copying, distribution or taking action in > relation of the contents of this information is strictly prohibited and may > be unlawful. > > This email has been scanned for viruses and malware, and may have been > automatically archived by *Mimecast Ltd*, an innovator in Software as a > Service (SaaS) for business. Providing a *safer* and *more useful* place > for your human generated data. Specializing in; Security, archiving and > compliance. To find out more Click Here > <http://www.mimecast.com/products/>. > ___ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your su
Re: [Geoserver-users] High CPU & memory on Windows
Hi Niklas, Jody talks about this here https://sourceforge.net/p/geoserver/mailman/message/37328870/ Now that I think about it I did have a windows situation when GeoServer consumed resources, become unresponsive and never came back, possibly following a silly SQL query. Installing the Control Flow Module fixed this, at least so that the service would reliably stay running after dropping long queries. Running fine here on Windows Server 2019, AdoptOpenJDK: 11.0.6 (OpenJDK 64-Bit Server VM) and Tomcat 8.5. With 2 CPUs and 12 GB RAM. When I do things in the Web UI the CPU spikes briefly but goes back down. I also have your noted steady 2.5 GB RAM usage by Tomcat. I assumed this was fine. Server Status screenshot in case it helps (note early morning here and not much usage presently): [cid:image005.png@01D7F574.CA3680E0] Good luck! If you are not the intended recipient of this email, please notify us immediately and be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. From: Niklas Elelid Sent: Monday, 20 December 2021 5:37 AM To: geoserver-users Subject: [Geoserver-users] High CPU & memory on Windows Hi list members! I started with Geoserver on a Windows 2016 server some time ago. Since I had problems with high CPU & memory usage I tried a Linux installation which seemed much better. For various reasons I now went back to Windows on a more capable server (4 CPU / 8 GB RAM) which I thought would be able to run Geoserver better than the first installation. But unfortunately the same issue on Windows again. On startup the service goes up to approx 70%, idles around 1-2 % CPU but still hogs about 600MB of RAM. Logging into the web admin brings the CPU up to 50%. The main issue is that a layer request makes it spike at around 90% and 2.5GB RAM and then it just stays there without me making any more requests. Now it's game over until after the service is restarted which by the way is not possible. I have to kill the process and start the service. The layer in question is loading an ImageMosaic layer with images on disk and the time/elevation data in PostgreSQL. A windbarb SLD is applied to the layer. Any ideas on where to start troubleshooting this? Thanks in advance! Niklas ___ 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#/<http://www.ianturton.com/talks/foss4g.html#> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html<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<https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users<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
Re: [Geoserver-users] High CPU & memory on Windows
Hi, Find a mail thread with title "Geoserver 2.20.RC generating high CPU load" from the geoserver-devel mailing list from mid-September 2021, and see the ticket https://osgeo-org.atlassian.net/browse/GEOS-10243 I believe that you have met by the same issue. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Niklas Elelid Lähetetty: sunnuntai 19. joulukuuta 2021 20.37 Vastaanottaja: geoserver-users Aihe: [Geoserver-users] High CPU & memory on Windows Hi list members! I started with Geoserver on a Windows 2016 server some time ago. Since I had problems with high CPU & memory usage I tried a Linux installation which seemed much better. For various reasons I now went back to Windows on a more capable server (4 CPU / 8 GB RAM) which I thought would be able to run Geoserver better than the first installation. But unfortunately the same issue on Windows again. On startup the service goes up to approx 70%, idles around 1-2 % CPU but still hogs about 600MB of RAM. Logging into the web admin brings the CPU up to 50%. The main issue is that a layer request makes it spike at around 90% and 2.5GB RAM and then it just stays there without me making any more requests. Now it's game over until after the service is restarted which by the way is not possible. I have to kill the process and start the service. The layer in question is loading an ImageMosaic layer with images on disk and the time/elevation data in PostgreSQL. A windbarb SLD is applied to the layer. Any ideas on where to start troubleshooting this? Thanks in advance! Niklas ___ 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
[Geoserver-users] High CPU & memory on Windows
Hi list members! I started with Geoserver on a Windows 2016 server some time ago. Since I had problems with high CPU & memory usage I tried a Linux installation which seemed much better. For various reasons I now went back to Windows on a more capable server (4 CPU / 8 GB RAM) which I thought would be able to run Geoserver better than the first installation. But unfortunately the same issue on Windows again. On startup the service goes up to approx 70%, idles around 1-2 % CPU but still hogs about 600MB of RAM. Logging into the web admin brings the CPU up to 50%. The main issue is that a layer request makes it spike at around 90% and 2.5GB RAM and then it just stays there without me making any more requests. Now it's game over until after the service is restarted which by the way is not possible. I have to kill the process and start the service. The layer in question is loading an ImageMosaic layer with images on disk and the time/elevation data in PostgreSQL. A windbarb SLD is applied to the layer. Any ideas on where to start troubleshooting this? Thanks in advance! Niklas ___ 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