Hello!

similar issue with 2.22.0 in prod here.



Geoserver process stopped/gone for any reason, but left pidfile in place and 
socket on port 8080 still open.

Unfortunately we don't have additional information yet, but will monitor this.



Possible solution for manual restart:



1. kill geoserver java process

2. remove pidfile /var/run/geoserver.pid

3. check for open socket on Port 8080 with lsof -i :8080 and kill process for 
this socket

4. start geoserver /etc/init.d/geoserver start



best regards

Phil







> Jody Garnett <jody.garn...@gmail.com> hat am 15. Dezember 2022 16:49 
> geschrieben:
> 
> 
> Your log seems to be from quite a complicated environment, the final 
> exception is:
> 
> 2022-11-30 17:02:42.260:DBUG:oeji.ChannelEndPoint:qtp1698097425-21: Ignoring 
> key update for cancelled key 
> SocketChannelEndPoint@791070cd{l=/[0:0:0:0:0:0:0:1]:8080,r=/[0:0:0:0:0:0:0:1]:42834,CLOSED,fill=-,flush=-,to=3004/30000}{io=0/0,kio=-1,kro=-1}->HttpConnection@6dadfdd[p=HttpParser{s=CLOSED,0
>  of 
> -1},g=HttpGenerator@42878828{s=START}]=>HttpChannelOverHttp@38eb1ead{s=HttpChannelState@7cb7d432{s=IDLE
>  rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true 
> al=0},r=1,c=false/false,a=IDLE,uri=null,age=0}
> java.nio.channels.CancelledKeyException
> at java.base/sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:75)
> at 
> java.base/sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:104)
> at org.eclipse.jetty.io.ChannelEndPoint.updateKey(ChannelEndPoint.java:379)
> at 
> org.eclipse.jetty.io.ManagedSelector$SelectorProducer.updateKeys(ManagedSelector.java:714)
> at 
> org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:541)
> at 
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:362)
> at 
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:186)
> at 
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
> at 
> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
> at 
> org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
> at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
> at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
> at java.base/java.lang.Thread.run(Thread.java:833)
> 
> Looks to be something in jetty?! Can it actually open the port 8080 in your 
> environment?
> --
> Jody Garnett
> 
> 
> 
> On Thu, Dec 1, 2022 at 7:27 AM Branislav Gacesa 
> <branislav.gac...@htecgroup.com> wrote:
> > Dear users,
> > I am experiencing an issue while trying to put new geoserver version in to 
> > productions.
> > 
> > 
> > I have tried both java 8 and 17 running on EC2, rocky enterprise linux 9.1 
> > and ubuntu linux 22.04 environments.
> > 
> > 
> > Please find attached error message.
> > Thanks for your time,
> > With all the best!
> > 
> > 
> > 
> > https://www.facebook.com/htecgroup/ https://twitter.com/HTECgroup 
> > https://www.linkedin.com/company/htecgroup 
> > https://www.instagram.com/htecgroup/ Branislav Gaćeša
> > DevOps Engineer
> > Engenering&Delivery | HTEC Group Inc
> > 
> > branislav.gac...@htecgroup.com
> > htecgroup.com (https://htecgroup.com/)
> > +387 66 808 348
> > Mladena Stojanovića 30, Banja Luka, BiH
> > 
> > 
> > _______________________________________________
> > 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 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

Reply via email to