Re: Why org.apache.tomcat.util.threads.TaskQueue#offer doesn't have synchronized modifier?

2022-04-20 Thread zrlw
> TaskQueue extendsLinkedBlockingQueue and most calls to TaskQueue.offer end up > callingsuper.offer which provides the necessary thread-safety. 2. the issue is that TaskQueue.offer return false directly instead of calling supper.offer when huge requests (more than maximum pool size, but

Re: Why org.apache.tomcat.util.threads.TaskQueue#offer doesn't have synchronized modifier?

2022-04-20 Thread zrlw
- Original Message - From: Christopher Schultz To: users@tomcat.apache.org Subject: Re: Why org.apache.tomcat.util.threads.TaskQueue#offer doesn't have synchronized modifier? Date: 2022-04-20 01:32 1. "server.tomcat.max-threads" is a setting which is defined in

Re: AW: the server add cpu

2022-04-20 Thread zhan...@51tuiyi.com
Hello: Thank you for your reply. There is a strange problem here. After we add CPU, tomcat is less responsive and takes up a higher percentage of CPU than before. I tried to use Numactl to bind CPU to run Tomcat, but tomcat was bound to node0. Much faster than binding node1 or not binding.

AW: the server add cpu

2022-04-20 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: zhan...@51tuiyi.com > Gesendet: Mittwoch, 20. April 2022 12:42 > An: users > Betreff: the server add cpu > > tomcat version : v9.0.38 > os: centos7.9 > > JAVA_OPTS="$JMX_MONITOR -server -Xms20g -Xmx20g -Xss512k - > XX:+AggressiveOpts

Supporting languages

2022-04-20 Thread M. Osama Alghwell
Hi, I have an Oracle application and database. I am using Tomcat 9 but unfortunately Arabic language couldn't be used. Any help? M. Alghwell

the server add cpu

2022-04-20 Thread zhan...@51tuiyi.com
tomcat version : v9.0.38 os: centos7.9 JAVA_OPTS="$JMX_MONITOR -server -Xms20g -Xmx20g -Xss512k -XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:+UseG1GC -XX:+UseFastAccessorMethods -XX:MaxGCPauseMillis=100 -Djava.security.egd=file:/dev/./urandom -XX:ParallelGCTh reads=25