RE: Debug apache-tomcat-8.5.59 open sockets on Linux 8

2021-08-31 Thread Jalaj Asher
Have you tried 2 things 1. in context.xml set reloadable ="false" 2. in server.xml if you have the tomcat-users.xml tag being used add the watchSource="false" tag. There is a known bug which causes open files issues with this. Regards Jalaj P Asher -Original Message- From:

Re: Debug apache-tomcat-8.5.59 open sockets on Linux 8

2021-08-31 Thread Christopher Schultz
Yeggy, On 8/31/21 11:59, Yeggy Javadi wrote: I am trying to troubleshoot a 'too many open files' issue. In our web application there are connections to Postgres database and I see the number of open sockets keep increasing. Try using 'lsof' on the process to see what those open files are

RE: Debug apache-tomcat-8.5.59 open sockets on Linux 8

2021-08-31 Thread Yeggy Javadi
Hi, I am trying to troubleshoot a 'too many open files' issue. In our web application there are connections to Postgres database and I see the number of open sockets keep increasing. Thanks -Original Message- From: Christopher Schultz Sent: Tuesday, August 31, 2021 11:50 AM To:

Re: Debug apache-tomcat-8.5.59 open sockets on Linux 8

2021-08-31 Thread Christopher Schultz
Yeggy, On 8/31/21 11:22, Yeggy Javadi wrote: Please indicate if there is any debug option and log that can trace sockets open by tomcat to identify when and by which application function a socket is open. Do you mean a web application? Tomcat manages incoming HTTP/2/Websocket/APR connections

Re: HttpNIO error

2021-08-31 Thread Christopher Schultz
Rinilnath, On 8/31/21 09:54, rinilnath r wrote: Hi Chris, Java : 1.8.0_45 OS : Windows 7 Also, can you please post the full stack trace of the UnsupportedOperationException? -chris - To unsubscribe, e-mail:

Re: HttpNIO error

2021-08-31 Thread Christopher Schultz
Rinilnath, On 8/31/21 09:54, rinilnath r wrote: On 8/31/21 09:23, rinilnath r wrote: I am using tomcat Http11nio2protocol. I configured it in server XML. When I start the server it failed to start UnsupportedOperationException. SO_LINGER not supported Any help please? Please post: 1.

Debug apache-tomcat-8.5.59 open sockets on Linux 8

2021-08-31 Thread Yeggy Javadi
Hi, Please indicate if there is any debug option and log that can trace sockets open by tomcat to identify when and by which application function a socket is open. Thanks

Re: HttpNIO error

2021-08-31 Thread rinilnath r
@chris, Tomcat 9.0.50 Thanks and Regards, Rinilnath Mobile#9786285451 On Tue, 31 Aug, 2021, 19:24 rinilnath r, wrote: > Hi Chris, > > Java : 1.8.0_45 > OS : Windows 7 > > protocol="org.apache.coyote.http11.Http11Nio2Protocol" > connectionTimeout="6" maxConnections "1" redirect

Re: HttpNIO error

2021-08-31 Thread rinilnath r
Hi Chris, Java : 1.8.0_45 OS : Windows 7 Thanks and Regards, Rinilnath Mobile#9786285451 On Tue, 31 Aug, 2021, 19:16 Christopher Schultz, < ch...@christopherschultz.net> wrote: > Rinilnath, > > On 8/31/21 09:23, rinilnath r wrote: > > I am using tomcat Http11nio2protocol. I configured it

Re: HttpNIO error

2021-08-31 Thread Christopher Schultz
Rinilnath, On 8/31/21 09:23, rinilnath r wrote: I am using tomcat Http11nio2protocol. I configured it in server XML. When I start the server it failed to start UnsupportedOperationException. SO_LINGER not supported Any help please? Please post: 1. Your Java version 2. Your OS and version

HttpNIO error

2021-08-31 Thread rinilnath r
Hi, I am using tomcat Http11nio2protocol. I configured it in server XML. When I start the server it failed to start UnsupportedOperationException. SO_LINGER not supported Any help please? Thanks and Regards, Rinilnath Mobile#9786285451