Can adding workers to worker.list and balance_workers cause an issue?

2015-11-04 Thread Fonken, Jonathan (XTI - Redwood City)
What would happen if I add workers into worker.list and balance_workers? Option1: worker.list=node1,node2,loadbalancer,status worker.loadbalancer.balance_workers=node1,node2 VS Option2: worker.list=loadbalancer,status worker.loadbalancer.balance_workers=node1,node2 If I went with Option1

Re: Performance degrades on tomcat7 for the same runs of a sample performance 60 user test

2015-11-04 Thread dimple ranka
Looks like attachments are not allowed so only sharing the contents of threadDump3.out 2015-11-04 22:55:58 Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode): "http-nio-8443-exec-147" daemon prio=10 tid=0x7f5c1c005000 nid=0x6241 runnable [0x7f5bd30ef000]

Re: Performance degrades on tomcat7 for the same runs of a sample performance 60 user test

2015-11-04 Thread dimple ranka
Hi Chris, I captured 3 threadumps with the below requests/second when the server is already slow. We were using BIO before and had observed slowness even with that. We switched to using NIO since it seemed a recommendation for production environment.

Re: [OT] RE: 80ms delay switching between worker threads

2015-11-04 Thread Christopher Schultz
Farzad, On 11/3/15 2:45 PM, Farzad Panahi wrote: > I wish I could get my hands on a real server : ) What computer do you use to access the server? That one will certainly work for this kind of testing. -chris > On Mon, Nov 2, 2015 at 12:23 PM, David kerber wrote: >> On

Re: Making fail-over work with PermGen errors

2015-11-04 Thread Christopher Schultz
Stephen, On 11/3/15 4:01 PM, Stephen Booth wrote: > Does anyone have any advice about how to make fail-over work more > cleanly with PermGen errors (other than the obvious one of not letting > PermGen errors occur) > > I'm using apache ModProxy to connect to tomcat over ajp with additional >

Re: Performance degrades on tomcat7 for the same runs of a sample performance 60 user test

2015-11-04 Thread Christopher Schultz
Dimple, On 11/3/15 11:24 PM, dimple ranka wrote: > Also forgot to mention that setting maxKeepAliveRequests to -1 did not > help. As expected from the connector documentation the default value for > this attribute is 100 and we have a 60 user test set up. > > On Wed, Nov 4, 2015 at 8:18 AM,

Re: Trouble downloading large file (>1GB)

2015-11-04 Thread Christopher Schultz
Jamie, On 11/4/15 9:20 AM, jamie wrote: > We are using Apache Tomcat Version 7.0.59. We have received downloads > from our servlet greater than 1GB in size complete prematurely. Smaller > files are no problem. All data is streamed so no OME occurs. OME? > We tried increasing the connection

Re: port 80

2015-11-04 Thread George Sexton
If you're running on a UNIX variant, use JSVC. The source is included in the tomcat download in bin/commons-daemon/native.tar.gz. On 11/4/2015 10:20 AM, Linux Support wrote: Hi again, configured the TC service to run as a non privileged user. In my understanding we cannot use a privileged

Re: port 80

2015-11-04 Thread Konstantin Kolinko
2015-11-04 20:20 GMT+03:00 Linux Support : > Hi again, > > configured the TC service to run as a non privileged user. In my > understanding we cannot use a privileged port to bind TC to. Is there a way > i can use port 80 for TC in the case of using a non root user ?

Trouble downloading large file (>1GB)

2015-11-04 Thread jamie
Greetings We are using Apache Tomcat Version 7.0.59. We have received downloads from our servlet greater than 1GB in size complete prematurely. Smaller files are no problem. All data is streamed so no OME occurs. We tried increasing the connection timeout on the connector, but it made no

Re: Monitoring Connections

2015-11-04 Thread Jamie Jackson
By the way, I had to back-burner this investigation due to other things that have come up. When those are out of the way, I'll pick up where I left off. Thanks for the discussion so far. (I don't know anything about SNMP, etc., so I'm only following that thread very loosely until I have time to

Re: Newbie tomcat 8.0.28 question

2015-11-04 Thread Linux Support
Thanks all. I will incorporate the digested passwd On Wed, Nov 4, 2015 at 2:10 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > To whom it may concern, > > On 11/3/15 6:39 AM, Linux Support wrote: > > not having a clear text password in the users.xml ( i think ) for the > admin >

port 80

2015-11-04 Thread Linux Support
Hi again, configured the TC service to run as a non privileged user. In my understanding we cannot use a privileged port to bind TC to. Is there a way i can use port 80 for TC in the case of using a non root user ? cheers osp

Re: Monitoring Connections

2015-11-04 Thread Aurélien Terrestris
Hi Chris I still recommend SNMP, maybe I expressed myself incorrectly but Java SNMP support is made for monitoring. I also provided a bad link, here is the good one : http://docs.oracle.com/javase/7/docs/technotes/guides/management/snmp.html When using the right server, the SNMP will also