Skip to Content
0

BIPST 2.1: Tomcat maxThreads not detected correctly

Feb 06 at 09:59 AM

49

avatar image

Hello :)

We're runnign BIPST 2.1, SAP Host Agent 7.21 SP31 and BIP 4.2 SP05 with bundled Tomcat 8.5

Issue: BIPST Web Application Analysis Report does not detect the Tomcat maxThreads parameter correctly. It shows 200 threads instead of 1500 as defined in the ..\tomcat\conf\server.xml for the standard catalina service connector.

Steps to reproduce:

1. Stop Tomcat

2. Browse to and open the ..\tomcat\conf\server.xml

3. Uncomment the connector for the standard service/connector catalina and set maxThreads to 1500.

4. Save the file.

5. Start Tomcat

6. Run the BIPST Web Application Analysis Report and check the maxThreads entry. It still shows 200 instead of 1500.

Thanks & BR,

Michael

tomcat.png (5.3 kB)
threads.png (1.5 kB)
threads2.png (4.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Toby Johnston
Feb 06 at 04:54 PM
0

Hi Michael,

Thanks for reporting the issue. Let me test this out and come back to you.

Cheers
Toby

Share
10 |10000 characters needed characters left characters exceeded
James Zhang
Feb 07 at 12:48 AM
0

Hi Michael,

The reason you are not seeing that change in the Web Application Server analysis report is that we currently do not retrieve that information. As per your screenshot, we make the following change in server.xml file:

<Service name="Catalina">

<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="1500" minSpareThreads="4"/>

As you can see, this is under the type Executor. I see it when I open it up in jConsole under the same Executor.

Where as the setting that you are seeing under HTTP Connector (8080) is under Connector type:

We can look into adding this information in the future if it is useful. Hope that answers your question.

Best regards,

James

BI platform support tool dev team


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks @james.zhang5

According to Apache Tomcat site:

"The Executor represents a thread pool that can be shared between components in Tomcat. Historically there has been a thread pool per connector created but this allows you to share a thread pool, between (primarly) connector but also other components when those get configured to support executors"

I think in this scenario we should report the threads defined for the Executor thread pool if it's configured. Will target this for patch 1 or patch 2.

0
James Zhang
Feb 14 at 07:14 PM
0

Hi Michael,

We will be adding the Executor type to our Web Application Analysis Report in 2.1.1. We are looking for end of February release.

Best regards,

James

Share
10 |10000 characters needed characters left characters exceeded
Toby Johnston
Mar 05 at 04:45 PM
0

Hi Michael,

The patch for this issue is released now. (2.1.1)

Cheers
Toby

Share
10 |10000 characters needed characters left characters exceeded