RE: Tuning KeepAlive Connections?

2003-08-14 Thread Mike Cherichetti \(Renegade Internet\)
That didn't work.  Got the following in logs/catalina.out when I tried that:

Aug 7, 2003 11:40:45 PM org.apache.coyote.http11.Http11Processor process
WARNING: Error parsing HTTP request
java.lang.IllegalArgumentException: timeout can't be negative
at java.net.Socket.setSoTimeout(Socket.java:920)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:572)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Thread.java:568)

Have a nice day ...

Sincerely,

Mike Cherichetti
Renegade Internet
Internet Advertising Delivery Solutions
www.renegadeinternet.com
Phone (724) 658-6346
Fax (724) 658-6346


-Original Message-
From: Venkata Srinivasa Rao, Yerra [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 10:21 PM
To: Tomcat Users List
Subject: Re: Tuning KeepAlive Connections?


To disable connection timeouts, set connectionTimeout value to -1
At 02:09 PM 8/7/2003 -0400, you wrote:
RedHat Linux 7.3
IBM JDK 1.4.1
Tomcat 4.1.24

Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1
connector?  If it's not possible to turn them off, is it possible to lower
the request limit and timeout period for them?

Have a nice day ...

Sincerely,

Mike Cherichetti
Renegade Internet
www.renegadeinternet.com
Phone (724) 658-6346
Fax (724) 658-6346




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tuning KeepAlive Connections?

2003-08-14 Thread Bill Barker
You can (effectively) disable KeepAlive connections by setting the
'maxKeepAliveRequests=1' attribute on the Connector.  Tomcat 5 has a more
intuitive option, but it works the same way.

If you have the maxKeepAliveRequests  1, then the 'connectionTimeout'
attribute on the Connector determines how long it will wait for the next
request.

Mike Cherichetti (Renegade Internet) [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
 RedHat Linux 7.3
 IBM JDK 1.4.1
 Tomcat 4.1.24

 Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1
 connector?  If it's not possible to turn them off, is it possible to lower
 the request limit and timeout period for them?

 Have a nice day ...

 Sincerely,

 Mike Cherichetti
 Renegade Internet
 www.renegadeinternet.com
 Phone (724) 658-6346
 Fax (724) 658-6346




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tuning KeepAlive Connections?

2003-08-14 Thread Bill Barker

Mike Cherichetti (Renegade Internet) [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
 Hi Bill,

 Thanks for the info!  Looks like that helped, but I can't tell for sure
 because the server isn't loaded too much right now.  Will have to wait
until
 morning to find out.  Did I miss something or is that not in the docs?
 Might be good to add this to the docs :)


I believe that it is in the TC 5 docs (without looking).  And yes, it would
be a good idea to add it to the TC 4 docs ;-).

 Thanks again,
 Mike

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker
 Sent: Friday, August 08, 2003 12:00 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Tuning KeepAlive Connections?


 You can (effectively) disable KeepAlive connections by setting the
 'maxKeepAliveRequests=1' attribute on the Connector.  Tomcat 5 has a
more
 intuitive option, but it works the same way.

 If you have the maxKeepAliveRequests  1, then the 'connectionTimeout'
 attribute on the Connector determines how long it will wait for the next
 request.

 Mike Cherichetti (Renegade Internet) [EMAIL PROTECTED] wrote
in
 message news:[EMAIL PROTECTED]
  RedHat Linux 7.3
  IBM JDK 1.4.1
  Tomcat 4.1.24
 
  Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1
  connector?  If it's not possible to turn them off, is it possible to
lower
  the request limit and timeout period for them?
 
  Have a nice day ...
 
  Sincerely,
 
  Mike Cherichetti
  Renegade Internet
  www.renegadeinternet.com
  Phone (724) 658-6346
  Fax (724) 658-6346




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tuning KeepAlive Connections?

2003-08-14 Thread Venkata Srinivasa Rao, Yerra
To disable connection timeouts, set connectionTimeout value to -1
At 02:09 PM 8/7/2003 -0400, you wrote:
RedHat Linux 7.3
IBM JDK 1.4.1
Tomcat 4.1.24
Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1
connector?  If it's not possible to turn them off, is it possible to lower
the request limit and timeout period for them?
Have a nice day ...

Sincerely,

Mike Cherichetti
Renegade Internet
www.renegadeinternet.com
Phone (724) 658-6346
Fax (724) 658-6346


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tuning KeepAlive Connections?

2003-08-09 Thread Mike Cherichetti \(Renegade Internet\)
RedHat Linux 7.3
IBM JDK 1.4.1
Tomcat 4.1.24

Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1
connector?  If it's not possible to turn them off, is it possible to lower
the request limit and timeout period for them?

Have a nice day ...

Sincerely,

Mike Cherichetti
Renegade Internet
www.renegadeinternet.com
Phone (724) 658-6346
Fax (724) 658-6346




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tuning KeepAlive Connections?

2003-08-08 Thread Mike Cherichetti \(Renegade Internet\)
Hi Bill,

Thanks for the info!  Looks like that helped, but I can't tell for sure
because the server isn't loaded too much right now.  Will have to wait until
morning to find out.  Did I miss something or is that not in the docs?
Might be good to add this to the docs :)

Thanks again,
Mike

-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker
Sent: Friday, August 08, 2003 12:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Tuning KeepAlive Connections?


You can (effectively) disable KeepAlive connections by setting the
'maxKeepAliveRequests=1' attribute on the Connector.  Tomcat 5 has a more
intuitive option, but it works the same way.

If you have the maxKeepAliveRequests  1, then the 'connectionTimeout'
attribute on the Connector determines how long it will wait for the next
request.

Mike Cherichetti (Renegade Internet) [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
 RedHat Linux 7.3
 IBM JDK 1.4.1
 Tomcat 4.1.24

 Is it possible to disable KeepAlive connections with the Coyote HTTP/1.1
 connector?  If it's not possible to turn them off, is it possible to lower
 the request limit and timeout period for them?

 Have a nice day ...

 Sincerely,

 Mike Cherichetti
 Renegade Internet
 www.renegadeinternet.com
 Phone (724) 658-6346
 Fax (724) 658-6346




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]