-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Manish,

On 6/22/15 12:40 PM, Nabusg Tomcat wrote:
> Apache HTTPD version 2.4.10 Tomcat version apache-tomcat-7.0.61 
> Ubuntu 12.04.5 16G RAM Dual Core processor 64-bit
> 
> 
> Lately I am noticing that the request parameters are present when
> the request hits Apache, but are dropped when request reaches
> tomcat.
> 
> for e.g /secure/myprog.cgi?username=user1&masteraccount=master1
> (logged in Apache), however tomcat rejects the request as 
> request.getParameter("username") can not be null. I have been
> running the same code for ages and now I am noticing this. This is
> happening to roughly 1% of the requests.
> 
> Following is my Apache config
> 
> APACHE    StartServers            15 APACHE    MinSpareThreads
> 25 APACHE    MaxSpareThreads         75 APACHE    ThreadLimit
> 512 APACHE    ThreadsPerChild         32 APACHE
> MaxRequestWorkers       2048 APACHE    MaxConnectionsPerChild
> 2048 APACHE    AsyncRequestWorkerFactor 3 APACHE    ServerLimit 64
> 
> And this is my tomcat settings
> 
> TOMCAT    protocol="AJP/1.3" TOMCAT    packetSize="32000" TOMCAT
> maxThreads="800" TOMCAT    processorCache="800" TOMCAT
> acceptCount="300" TOMCAT    acceptorThreadCount="2" TOMCAT
> minSpareThreads="80" TOMCAT    maxSpareThreads="160" TOMCAT
> maxKeepAliveRequests="-1" TOMCAT    maxConnections="8192" TOMCAT
> connectionTimeout="360000" TOMCAT    compression="on" TOMCAT
> compressableMimeType="text/html,text/xml,text/plain" TOMCAT
> redirectPort="8443"
> 
> Worker.properties config
> 
> worker.ajp_myhost.port=8009 worker.ajp_myhost.host=localhost 
> worker.ajp_myhost.type=ajp13 worker.ajp_myhost.retries=3 
> worker.ajp_myhost.recovery_options=27 
> worker.ajp_myhost.retry_interval=300 
> worker.ajp_myhost.reply_timeout=20000 
> worker.ajp_myhost.max_packet_size=32000 
> worker.ajp_myhost.socket_timeout=360 
> worker.ajp_myhost.socket_connect_timeout=360000 
> worker.ajp_myhost.connection_pool_timeout=360
> 
> 
> 
> Can someone please help me with 2 things.
> 
> 1. Has anyone noticed request parameters dropping in transit ? 2.
> Help with fine tuning my Apache/Tomcat/mod_jk configs. During peak
> the server will be handling 50 req/seconds.
> 
> Please let me know if you need anymore details.

What version of mod_jk are you using?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJViEXWAAoJEBzwKT+lPKRYCJIQAMMuxCPNWkf3/8Ryq5K6rzcJ
7R8oI146gkUjibXoVwm+q7X2F3II4aMpmgqxLL4Ae7pnkysdqrbs/L1CREJMSizV
W0QVkm+Ilhu+Rke0PfSNhshS9GyIBvJkF7OnPF6QgtT3i18/SYTNa/JSIYm1kt1Z
pYjOpjwLwKLwNcCaU4Q/GhAVoOEr9DbfqpNgMJyDlQJ9yAqRrsN/h76y05zwNqOp
aN0mUQoGeFwlz1OAUrAVa0EfkW4Zs3Gv9s9p5alBUJn0KhLhqTIOt1tpSWhnVe8Y
bRBA+7cti1nL/3oVDYri0lzGUnTqBjVZvEvKe7IHRulfhqEitnvWhHMqVBzf39lY
lLA3oN/fhpC7/hSLFtoDKyhpdBavA4gNjENJ7srWjIzJFkHelTycXwYh9zM+SObP
i/G3Tv10WtgBIYJZJFww/UI3nD5XFkC6/PbD1rY82jGp3ZKuYMXxufZg91RutNEe
2rYUxq5dw9ZCWTLxYHqySYR75VW91xybK1YkNUVTWZ2GVENQ/lSv6UzvciKcNsOC
7lzMew5QMflBvBD1dt9TdJ4npdI/IvXTmjj+JpxxX01wQUCaYsq/MAQ6ac1VfNKz
r+QeagXxDjUOn+juvwUJFdCKK9Lutc2seq945sGa5emv5C/oBsuy0hPeWRF7O8iZ
CkG4r0BGvxnEEHgcqvQ1
=OC/d
-----END PGP SIGNATURE-----

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

Reply via email to