RE: Re-Use TCP Source Ports if the Socket is Unique?

2021-06-25 Thread Eric Robinson
> -Original Message- > From: Olaf Kock > Sent: Friday, June 25, 2021 8:07 AM > To: users@tomcat.apache.org > Subject: Re: Re-Use TCP Source Ports if the Socket is Unique? > > > On 25.06.21 14:46, Eric Robinson wrote: > > Olaf and Scott -- > > > &g

RE: Re-Use TCP Source Ports if the Socket is Unique?

2021-06-25 Thread Eric Robinson
> -Original Message- > From: Christopher Schultz > Sent: Friday, June 25, 2021 11:33 AM > To: users@tomcat.apache.org > Subject: Re: Re-Use TCP Source Ports if the Socket is Unique? > > Eric, > > On 6/24/21 21:14, Eric Robinson wrote: > > I guess I ma

RE: Re-Use TCP Source Ports if the Socket is Unique?

2021-06-25 Thread Eric Robinson
> -Original Message- > From: Mark H. Wood > Sent: Friday, June 25, 2021 12:30 PM > To: users@tomcat.apache.org > Subject: Re: Re-Use TCP Source Ports if the Socket is Unique? > > On Fri, Jun 25, 2021 at 12:46:03PM +, Eric Robinson wrote: > > Olaf and Scott -

500 instances of tomcat on the same server

2021-06-25 Thread Eric Robinson
We can run 75 to 125 instances of tomcat on a single Linux server with 12 cores and 128GB RAM. It works great. CPU is around 25%, our JVMs are not throwing OOMEs, iowait is minimal, and network traffic is about 30Mbps. We're happy with the results. Now we're upping the ante. We have a 48-core s

RE: 500 instances of tomcat on the same server

2021-06-26 Thread Eric Robinson
> -Original Message- > From: Shawn Heisey > Sent: Saturday, June 26, 2021 8:09 PM > To: users@tomcat.apache.org > Subject: Re: 500 instances of tomcat on the same server > > On 6/25/2021 8:58 PM, Eric Robinson wrote: > > We can run 75 to 125 instances of tomc

RE: 500 instances of tomcat on the same server

2021-06-28 Thread Eric Robinson
> -Original Message- > From: Christopher Schultz > Sent: Monday, June 28, 2021 8:54 AM > To: users@tomcat.apache.org > Subject: Re: 500 instances of tomcat on the same server > > Eric, > > On 6/25/21 22:58, Eric Robinson wrote: > > We can run 75 to 12

RE: 500 instances of tomcat on the same server

2021-06-28 Thread Eric Robinson
> -Original Message- > From: Mark Thomas > Sent: Monday, June 28, 2021 9:04 AM > To: users@tomcat.apache.org > Subject: Re: 500 instances of tomcat on the same server > > On 28/06/2021 14:53, Christopher Schultz wrote: > > Eric, > > > > On 6/25

RE: 500 instances of tomcat on the same server

2021-06-28 Thread Eric Robinson
t be simple to be able to scale it to different clients like that. > just my 2 cents. > Not simple, but predictable. We've been hosting it for over decade, and we have a good feel for its resource utilization. -Eric > On Mon, Jun 28, 2021 at 1:12 PM Eric Robinson > wrote: >

RE: 500 instances of tomcat on the same server

2021-06-28 Thread Eric Robinson
Guido, I think you intended that message for me, not Brian. Thanks much for the feedback. I have been reading about Kubernetes, but I got discouraged when I saw that they dropped Docker support, since Docker seems to be the most popular containeriziation technology. Also, most of the Kubernetes

RE: 500 instances of tomcat on the same server

2021-06-29 Thread Eric Robinson
> -Original Message- > From: Berneburg, Cris J. - US > Sent: Tuesday, June 29, 2021 7:16 AM > To: users@tomcat.apache.org > Subject: RE: 500 instances of tomcat on the same server > > Eric and Mark > > Just curious... > > Eric> We can run 75 to 125 instances of tomcat on a single Linux ser

Java Heap Space / Thread Dump Numbers

2015-03-18 Thread Eric Robinson
When we see these errors in the tomcat logs... java.lang.OutOfMemoryError: Java heap space ... we do a thread dump and examine the memory numbers, resulting in output such as the following... PSYoungGen total 95808K, used 22323K [0x2aaac377, 0x2aaaca21, 0x2aaaca2100

RE: Java Heap Space / Thread Dump Numbers

2015-03-19 Thread Eric Robinson
> PSYoungGen total 95808K, used 22323K [0x2aaac377, > 0x2aaaca21, 0x2aaaca21) > eden space 82432K, 10% used > [0x2aaac377,0x2aaac402f7f8,0x2aaac87f) > from space 13376K, 99% used > [0x2aaac87f,0x2aaac94fd5a8,0x2aaac950) >

RE: Java Heap Space / Thread Dump Numbers

2015-03-19 Thread Eric Robinson
Christopher Shultz wrote: // Time to upgrade. Tomcat is hideously out of date (probably because you are using RedHat's Tomcat package), at least by version number. I'm not sure what RedHat does (if anything) about security fixes, etc. but a vanilla 6.0.18 is probably vulnerable and has been for

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// Yeah, heapdumps. I've posted above some howtos, have you looked at them? // No, I'm not sure how useful I would find them. I think the heap summary is probably all I need, but I may be wrong. Would the heap dump provide more actionable intel as far as tuning my memory parameters? --Eric

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// Recent 64-bit JVMs will automatically use "-XX:+UseCompressedOops". I'm not sure about your version, specifically. If you have the option, you might want to run a 32-bit JVM; it will probably run leaner and faster than a 64-bit JVM will. // Interesting. What do you mean my faster and leaner?

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// You can look for biggest objects in heap (using MAT, Leak Suspects report, Dominators Tree report). This way you can try to find what was the exact reason of OOM instead of just thinking "eh, I need to give instances more memory". MAT does things good. I've already found using MAT+JVVM the rea

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// Mostly leaner - a 32-bit JVM uses 32-bit pointers, so object references consume less heap and stack space. Whether or not the code runs faster or slower depends on what you're doing, since the tradeoff is fewer registers available in 32-bit mode, which can lead to more register spills and re

RE: Java Heap Space / Thread Dump Numbers

2015-03-20 Thread Eric Robinson
// I think if you have vendor-locked app in vendor-locked environment (am I right?) // Yes indeed. // As I said above, there is an options for JVM: -XX:-HeapDumpOnOutOfMemoryError - it will make heapdump on OOM. -XX:HeapDumpPath=./java_pid.hprof - give it an reasonable path to file. Set this o

RE: Java Heap Space / Thread Dump Numbers

2015-03-23 Thread Eric Robinson
// One correction, option -XX:-HeapDumpOnOutOfMemoryError disables heapdumps on OOM, you should use -XX:+HeapDumpOnOutOfMemoryError - with plus sign, to enable it. // Thanks for the follow-up. --Eric

Make Filter Exception Based on Subnet

2015-07-14 Thread Eric Robinson
Our canned tomcat application's web.xml file contains the following filter... SessionFilter servlet.BlahSession SessionFilter /* Is there a way to make this filter not apply to requests that originate from certain IP addresses? -- Eric Robinson

Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-22 Thread Eric Robinson
We have multiple JVMs deployed on two identical Linux servers. Each server has 60 JVMs. Until today, both servers were running Tomcat6 with JDK 1.6. Today we upgraded one of the servers to Tomcat 8 with JDK 1.8. Now the JVMs on the Tomcat 8 server are each using between 20-80% more memory than t

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-22 Thread Eric Robinson
> On 22.12.2017 13:48, Eric Robinson wrote: > > We have multiple JVMs deployed on two identical Linux servers. Each server > has 60 JVMs. Until today, both servers were running Tomcat6 with JDK 1.6. > Today we upgraded one of the servers to Tomcat 8 with JDK 1.8. Now the JVMs &g

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-22 Thread Eric Robinson
> > From: Eric Robinson [mailto:eric.robin...@psmnv.com] > > Subject: RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than > Tomcat 6? > > > if JVM instance "A" is configured as follows on server 1 under tomcat6/jdk > 1.6, then > > instance &qu

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-22 Thread Eric Robinson
> > More heap or more native memory? > With the exact same Xms and Xmx settings, I get vastly different resident and virtual image sizes from the Linux ps command. tomcatA: jdk1.8.0_152, res: 694312, virt: 5045084 tomcatB: jdk1.6.0_21, res: 332840, virt: 3922656 --Eric -

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-22 Thread Eric Robinson
> Eric, > > Just curious how much ram do you have in the server and cpu resources. > > #free -m and # cat /proc/cpuinfo | egrep 'cores|processor' > > (Not to insult your intelligence , I am just specifying what I was curious to > see) > > And it's always easier to copy/paste than to think. >

RE: Is it Normal for Tomcat 8 to Use 20-80% More Memory Than Tomcat 6?

2017-12-27 Thread Eric Robinson
> > More heap or more native memory? > > > > With the exact same Xms and Xmx settings, I get vastly different resident and > virtual image sizes from the Linux ps command. > > > tomcatA: jdk1.8.0_152, res: 694312, virt: 5045084 > tomcatB: jdk1.6.0_21, res: 332840, virt: 3922656

SSO/AD Authentication

2018-07-03 Thread Eric Robinson
We have users in AD domain “Billing” who need to run a tomcat application from a server that is in domain “BackOffice.” Is it possible for a user in the Billing domain to login to the tomcat application in the BackOffice domain without having to re-authenticate? --Eric

Tomcat Server Using 100% CPU

2019-08-08 Thread Eric Robinson
We have a farm of VMs, each running multiple instances of tomcat (up to 80 instances per server). Everything has been running fine for years, but recently one server has started nailing the CPU to 100% utilization. We have tried: * Different versions of tomcat and JDK * Doubling the re

RE: Tomcat Server Using 100% CPU

2019-08-08 Thread Eric Robinson
o: Tomcat Users List Subject: Re: Tomcat Server Using 100% CPU Did you reviewed the localhost_access log file. Which web-application is using tomcat the most ? On Thu, Aug 8, 2019 at 9:53 AM Eric Robinson wrote: > We have a farm of VMs, each running multiple instances of tomcat (up > to 80

RE: Tomcat Server Using 100% CPU

2019-08-08 Thread Eric Robinson
0% CPU On 08.08.2019 20:08, Eric Robinson wrote: > Utkarsh and John, thank you for your feedback. > > Since everything was originally on Windows, and we built a new Linux server > with fresh tomcat installs, and the only thing we moved over from the old > Windows servers was the tomcat

RE: Tomcat Server Using 100% CPU

2019-08-09 Thread Eric Robinson
the working and nonworking servers run the same webapps with the same workload? On Thu, Aug 8, 2019 at 2:09 PM Eric Robinson wrote: > Utkarsh and John, thank you for your feedback. > > Since everything was originally on Windows, and we built a new Linux > server with fresh tomcat installs,

RE: Tomcat Server Using 100% CPU

2019-08-09 Thread Eric Robinson
es the CPU usage > persist? Is it only at startup or does it randomly start after some uptime? > Have your webapps or dependencies changed around the time the issue > started? Do the working and nonworking servers run the same webapps > with the same workload? > > On Thu, Aug 8, 201

RE: Tomcat Server Using 100% CPU

2019-08-09 Thread Eric Robinson
EN 8027/java -Original Message- From: André Warnier (tomcat) Sent: Thursday, August 8, 2019 3:53 PM To: users@tomcat.apache.org Subject: Re: Tomcat Server Using 100% CPU On 08.08.2019 20:08, Eric Robinson wrote: > Utkarsh and John, thank you for your feedback. > > Since ever

RE: State Synchronization without Serialization - Possible?

2025-04-22 Thread Eric Robinson
The third one. ☹ Oh well, I had to ask. -Eric -Original Message- From: Mark Thomas Sent: Tuesday, April 22, 2025 2:50 AM To: users@tomcat.apache.org Subject: Re: State Synchronization without Serialization - Possible? On 22/04/2025 01:09, Eric Robinson wrote: > Hi all, > > W

State Synchronization without Serialization - Possible?

2025-04-21 Thread Eric Robinson
Hi all, We want to implement tomcat clustering, but we cannot because the application is commercial, and it does not support serializable objects. In short, it does not work with tomcat's standard clustering technology. Is there any known reliable way to share session state, cookies, etc., betw

<    1   2