performance problem with Tomcat

Robert Gabriel lists at ruby-forum.com
Tue Jan 20 10:54:50 MSK 2009


Robert Gabriel wrote:
> Chang Song wrote:
>> Thank you, Robert.
>> 
>> Maybe I wasn't articulate enough.
>> I am not using AJP port, I am simply using Tomcat directly.
>> And I have all those sysctl setting correct, except tcp_timestamps.
>> With tcp_timestamps=0, I am overflowing with too many sockets in
>> TIME_WAIT. I have to use timestamps=1 to reduce the number of
>> sockets in TIME_WAIT.
>> 
>> 
>> 
>> 1/20/09, ���� 12:15, Robert Gabriel �ۼ�:
> 
> Well for me work... I dont know about timestamps, but I have to check a 
> bit on it, maybe you are right, but the rest of them will be usefull. 
> Also I use tomcat without keep-alive... meaning in nginx I have 
> keep-alive=0 and seems to work, faster and quite well... but I dont know 
> how good it is. :)

P.S. I dont think tcp_timestamps is such a good idea to be set to 1... 
try to search it only, but I wouldnt recommend it.
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list