tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Slow "network" with additional Connector (Port) in tomcat
Date Thu, 02 Sep 2010 15:15:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yoav,

On 9/2/2010 2:22 AM, Yoav Naveh wrote:
> Tomcat is using OpenJdk6, on Ubuntu 8.04 I have attached my
> server.xml file. The only thing that comes to mind is that I set a
> relatively low accept-count for the other port. I think we tested
> without that parameter and did not getter better results. Let me know
> if there is a high chance this is the issue

The acceptCount just sets the socket's connection backlog size... unless
you are putting a huge amount of load on your server, you shouldn't
notice any slowness of the interface.

> For the second set of questions: I ran the test on EC2, and verified
> on a different environment that problem occurs there as well. ports
> are open, nothing in iptables, I used direct IP address in my test
> and test client is always the same browser from the same host.

The only things I can think of are:

1. Reverse DNS is taking a long time (try disabling reverse DNS lookups)
2. Your tests are flawed <shrug>

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx/v6QACgkQ9CaO5/Lv0PBYCACgt+c+xlszW7gtOq1EbyVjwhjm
3FEAoKVomm/y/SyHbT0VwsqTwO49hMqZ
=r007
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message