Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は屋外サーバーで作業しています。Tomcatの上に構築されています。
次のコードをserver.xmlファイルに記述しました
データベースの max.connection プール設定を 300 に増やしました。
しかし、Jconsole は
ライブ スレッド: 120 ピーク スレッド: 141
なぜこれが起こっているのですか?最大スレッド数は 290 です。ピーク スレッド値を増やすにはどうすればよいですか
ありがとう、よろしく、ムラーリ。
server.xmlmaxThreads属性を持つConnector要素を確認してください。増やすことをお勧めします。
server.xml
<Connector port="8080" maxThreads="500" .... />
これは、スレッドの数によって、Webアプリケーションで実行できるセッションの数が制限されるためです。