You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohit Anchlia <mo...@gmail.com> on 2011/03/30 03:16:09 UTC
Bug Help
In order to circimvent this bug
https://issues.jboss.org/browse/JBPAPP-366 what should I exactly have
in apache 2 properties.
We often see "cping/cpong after connecting to the backend server
failed (errno=110)" and bunch of 503s
Current worker.properties look something like this:
worker.app1.type=ajp13
worker.app1.port=8009
worker.app1.host=app1.data.ie.intuit.net
worker.app1.socket_keepalive=true
worker.app1.prepost_timeout=5000
worker.app1.connect_timeout=5000
worker.app1.retries=1
worker.app1.socket_connect_timeout=1000
worker.app1.ping_mode=A
worker.app1.ping_timeout=5000
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Bug Help
Posted by Thomas Freitag <th...@freit.ag>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Mohit,
On 30.03.11 um 13:55, Mohit Anchlia wrote:
> This seems to be mod_jk bug. I read in some other thread about this
> bug and look similar to what I am seeing. But what I am really looking
> for is to see if I have correct settings.
>
> We are using mod_jk 1.2.21 and apache 2
Your mod_jk version is more than four years old. Update it to the
current version (1.2.31). Have a look at the example configuration in
the source download it is very good.
Explicitly set connection_pool_timeout and ConnectionTimeout, keep in
mind that the mod_jk config is given in seconds and the
Tomcat-Connector config is given in milliseconds! A connection timeout
of several minutes is a good value to start with.
If you have problems, please post relevant lines of your logs. Set the
mod_jk log level to INFO.
Regards,
- --
Thomas Freitag
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk2Umu8ACgkQGE5pHr3PKuWangCeJy6FcZHS1sqJvc3D6VwNW0Td
xzcAn0o3tDzf2Q4i5uSjvkEB3xlsEZUS
=f0Y4
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Bug Help
Posted by Mohit Anchlia <mo...@gmail.com>.
Can someone please give some pointers? Connector document says that
"connection_pool_timeout" should be same as "ConnectionTimeout" and I
think setting these will help but not sure.
Do I need to add connection_pool_timeout? server.xml doesn't have
ConnectionTimeout set either so does it mean it will wait forever?
Just trying to see what additional settings I need to put in place.
On Tue, Mar 29, 2011 at 6:16 PM, Mohit Anchlia <mo...@gmail.com> wrote:
> In order to circimvent this bug
> https://issues.jboss.org/browse/JBPAPP-366 what should I exactly have
> in apache 2 properties.
>
> We often see "cping/cpong after connecting to the backend server
> failed (errno=110)" and bunch of 503s
>
> Current worker.properties look something like this:
>
> worker.app1.type=ajp13
> worker.app1.port=8009
> worker.app1.host=app1.data.ie.intuit.net
> worker.app1.socket_keepalive=true
> worker.app1.prepost_timeout=5000
> worker.app1.connect_timeout=5000
> worker.app1.retries=1
> worker.app1.socket_connect_timeout=1000
> worker.app1.ping_mode=A
> worker.app1.ping_timeout=5000
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Bug Help
Posted by Mohit Anchlia <mo...@gmail.com>.
Can someone please help?
On Tue, Mar 29, 2011 at 6:16 PM, Mohit Anchlia <mo...@gmail.com> wrote:
> In order to circimvent this bug
> https://issues.jboss.org/browse/JBPAPP-366 what should I exactly have
> in apache 2 properties.
>
> We often see "cping/cpong after connecting to the backend server
> failed (errno=110)" and bunch of 503s
>
> Current worker.properties look something like this:
>
> worker.app1.type=ajp13
> worker.app1.port=8009
> worker.app1.host=app1.data.ie.intuit.net
> worker.app1.socket_keepalive=true
> worker.app1.prepost_timeout=5000
> worker.app1.connect_timeout=5000
> worker.app1.retries=1
> worker.app1.socket_connect_timeout=1000
> worker.app1.ping_mode=A
> worker.app1.ping_timeout=5000
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org