[GeoNode-users] Geoserver keeps CPU at 100%

Simone Giannecchini simone.giannecchini at geo-solutions.it
Thu Jul 12 05:22:24 PDT 2018


I am away these days so I’ll be short. You should check if your raster data
is optimized.

There are plenty of presentations and materials around (e.g. Our training
in geoserver).

Just search for geoserver in prosuction or on steroids.

Simine.

Il giorno gio 12 lug 2018 alle 10:49 <Stefano.LUONI at ext.ec.europa.eu> ha
scritto:

> Hi Simone,
>
> well, yes, we have large raster files, but never had this kind of issue
> for months; we have been experiencing this bad Java behaviour only for a
> few days, and it always comes in after a few hours after every restart of
> Tomcat.
> Of course it could just simply be that the average load is more than
> before; nevertheless, this is totally painful.
>
> I'm currently trying to apply some fixes to my application on top of
> Geonode and I'll see if it helps.
>
> Meanwhile, can you address me to any best practises about managing large
> raster files and to some Geoserver configurations that I may have skipped
> or don't know?
>
> Thanks a lot,
>
> Stefano
>
> ------------------------------
> *From:* Simone Giannecchini [simone.giannecchini at geo-solutions.it]
> *Sent:* 11 July 2018 16:07
> *To:* LUONI Stefano (JRC-ISPRA-EXT)
> *Cc:* geonode-users at lists.osgeo.org
> *Subject:* Re: [GeoNode-users] Geoserver keeps CPU at 100%
>
> Dear Stefano,
> something like that happens usually when you have large raster dataset
> that are not optimized and you put them under load.
> Does this ring a bell?
>
> Regards,
> Simone Giannecchini
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D%0A55054++Massarosa+(LU)+%0D%0AItaly&entry=gmail&source=g>
> 55054
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D%0A55054++Massarosa+(LU)+%0D%0AItaly&entry=gmail&source=g>
>  Massarosa (LU)
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D%0A55054++Massarosa+(LU)+%0D%0AItaly&entry=gmail&source=g>
> Italy
> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D%0A55054++Massarosa+(LU)+%0D%0AItaly&entry=gmail&source=g>
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39  333 8128928
>
> http://www.geo-solutions.it
> 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 Wed, Jul 11, 2018 at 9:10 AM <Stefano.LUONI at ext.ec.europa.eu> wrote:
>
>> Hi everyone,
>>
>> I've been experiencing a strange issue for a few days now and I didn't
>> manage to solve it yet. There is something wrong with Geoserver's Java
>> threads, as after some usage, the navigation on website suddenly becomes
>> slow and when executing a "top" on server, I find all CPU cores at 100% and
>> a long list of tomcat8 processes running, even if no one is accessing the
>> site.
>>
>> Unfortunately, checking the logs doesn't give me a clue of what's
>> happening, as warnings and errors are constantly changing and so far I was
>> not able to spot the exact moment when Java failures are triggered.
>>
>> I'm running Geonode 2.7.5, with Geoserver 2.12 snapshot on an Ubuntu
>> 16.04 Server. I already tried upgrading both tomcat8 and OpenJDK from apt,
>> but it didn't solve the issue.
>>
>> These are building infos on Geoserver:
>>
>> *Build Information*
>> *GeoServer Version*
>> *2.12-SNAPSHOT*
>> *Git Revision*
>> *ba5175e3bcc4a5d2bc472809eccad682cc180cd8*
>> *Build Date*
>> *29-Mar-2018 14:27*
>> *GeoTools Version*
>> *18-SNAPSHOT (rev c41e79c4aaa3ec2db3b0f1e1ed4a5d485fddb75a)*
>> *GeoWebCache Version*
>> *1.12-SNAPSHOT (rev
>> fd34a157375068f0a88f43f4abef154daaca7017/fd34a157375068f0a88f43f4abef154daaca7017)*
>>
>>
>> I also tried updating Geoserver version to 2.13, but some layers (defined
>> by SQL queries) stopped working, hence I had to rollback to 2.12.
>>
>> This machine has been running fine for months, and only a few days ago
>> started having this issue; we didn't install anything new, so I'm wondering
>> if any of the layers uploaded is somehow causing the problem.
>>
>> I attached an extraction of Geoserver log, hoping this can give you some
>> hints.
>>
>> Thanks,
>>
>> Stefano
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
> --
Regards,
Simone Giannecchini.
GeoSolutions Director

- sent from my mobile, apologies for brevity and typos-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180712/20f31094/attachment.html>


More information about the geonode-users mailing list