Delays between Apache and Apache Tomcat


Our configuration consists of the following components (all of them are running on a single Windows Server 2003 machine):

  • Apache Web Server - version 2.2.16 (with mod_jk version 1.2.31)
  • Tomcat Server - version 5.5.30

We are load testing the server with relatively simple requests.
It seems that under load (~8000 requests we are sending per minute from our load simulator) - we have a delay between apache web server and the mod_jk component.

We enabled the following types of access logs: apache, mod_jk, tomcat.

In tomcat and in mod_jk access logs we always see response times of 0 seconds.
However in apache_access we almost always see response times of 3-6 seconds for the matching requests.
We figured out that these delayed requests arrive to apache at a time X, but arrive to mod_jk/tomcat only at time X + (3-6 seconds).

We are trying to figure out what is causing these delays.

We tried switching from mod_jk to mod_proxy and mod_proxy_ajp, however we didn’t see any major gain in the performance.

On the other hand, when we “disabled” apache and configured tomcat to act as web server (in addition to its role as a java servlet container) the response times were very fast and stayed at the 0 seconds zone.

asked by nir.zilberman


Make sure you configure both Apache httpd and mod_jk to handle the traffic.

This means, the number of threads(workers) that httpd has will impact your system.

Also, in high concurrency, how you configure KeepAlive is important. There is a chance that Apache is using its threads waiting for the next request on idle connections, while active connections are not being handled. 

Posting your configuration files may be a good idea.





answered by fhanik on June 15, 2011 07:09 PM

Filip Hanik is a Senior Software Engineer for the SpringSource Division of VMware, Inc. (NYSE: VMW) and a key participant in the company's Apache Tomcat initiatives. Filip brings 15 years of extensive experience in architecture, design and development of distributed application frameworks and containers and is recognized for his top-quality system development skills and continuous participation of Open Source development projects. Filip is an Apache Software Foundation member and a committer to the Apache Tomcat project where he is a leading authority on Tomcat clustering and a key contributor to the core of the platform. Filip has made contributions to software initiatives for, Sony Music, France Telecom and has held a variety of senior software engineering positions with technology companies in both the United States and Sweden. He received his education at Chalmers University of Technology in Gothenburg, Sweden where he majored in Computer Science and Computer Engineering.


payday loans oceanside

Wonderful article below! My spouse and I really need to investigation these types of amazing relieve. Right this moment click on the upcoming payday loans oceanside Enjoy pertaining to wonderful data expressing.


jimmy choo112S
the north face outlet
red valentino
michael kors
louis vuitton sacs
cheap jordan shoes
rolex replica watches
michael kors handbags outlet
ed hardy
jordan shoes
cheap jordans
nike blazer
ralph lauren pas cher
adidas nmd
gucci borse
fitflops shoes
nike outlet store
michael kors handbags online
nike free 5
nike roshe
converse trainers
true religion jeans sale
adidas nmd
omega watches for sale
michael kors handbags wholesale
michael kors handbags
cheap basketball shoes
michael kors outlet
michael kors handbags wholesale
cheap nfl jerseys wholesale
instyler max 2
nike huarache trainers
ed hardy outlet
pandora charms
michael kors handbags sale
tiffany and co outlet
lebron shoes
longchamp le pliage
skechers outlet
lebron james shoes
abercrombie and fitch
michael kors handbags
michael kors handbags
michael kors handbags
nike store uk
asics shoes
pandora jewelry
michael kors handbags
nike huarache
cheap mlb jerseys
cheap ray ban sunglasses
cheap nhl jerseys
jimmy choo shoes
nike store
michael kors outlet store
nike tn
michael kors outlet
michael kors outlet
toms shoes
cheap nike shoes
michael kors handbags
michael kors outlet
yeezy boost 350 black
michael kors handbags
michael kors handbags
polo ralph lauren
toms outlet
sac longchamp
fitflops sale clearance
michael kors uk
mlb jerseys
kobe 9
michael kors uk
nike air max 90
christian louboutin outlet
cheap michael kors handbags
nike blazer pas cher
cheap michael kors handbags
saics running shoes
ecco shoes outlet
ralph lauren outlet online
michael kors handbags
nike outlet
nike trainers uk
ghd hair straighteners
new balance outlet
hugo boss outlet
supra shoes
nba jerseys
nike air huarache
ralph lauren outlet
polo ralph lauren outlet
nike blazer low
michael kors outlet store
nike trainers uk
hugo boss sale
armani exchange
air jordan uk
cheap jordans
michael kors handbags
tiffany and co
supra shoes sale
michael kors handbags
dolce and gabbana
cheap nike shoes sale
new balance shoes
nike air force 1
michael kors handbags wholesale
omega watches
nike trainers
gucci sito ufficiale
michael kors outlet online
salomon boots
armani exchange outlet
michael kors handbags
yeezy boost 350
christian louboutin shoes
nike huarache
instyler max
nike tn pas cher
valentino shoes
nike trainers
ed hardy clothing
under armour outlet
michael kors handbags
fitflops sale clearance
nike free
michael kors handbags
michael kors handbags
cheap oakley sunglasses
oakley sunglasses
salomon shoes
cheap oakley sunglasses
oakley sunglasses
ghd flat iron
michael kors handbags
the north face
chaussure louboutin
cheap oakley sunglasses
michael kors handbags
pandora outlet
michael kors handbags
salvatore ferragamo
moncler outlet
converse shoes
nike blazer pas cher
true religion jeans
adidas nmd r1
louis vuitton pas cher
ray ban sunglasses
jordan shoes
mont blanc pens
michael kors handbags wholesale
replica watches
ecco shoes
ralph lauren
ray ban sunglasses
michael kors handbags outlet
abercrombie and fitch kids
michael kors handbags clearance
cheap ray bans
longchamp bags
oakley sunglasses
ed hardy uk
pandora jewelry
mont blanc pens outlet
cheap nfl jerseys
michael kors outlet
dolce and gabbana shoes
basketball shoes
nike huarache
michael kors outlet
nike air huarache
michael kors outlet
versace shoes
air force 1 shoes
cheap michael kors handbags
michael kors handbags outlet
michael kors outlet
cheap nba jerseys
under armour shoes
ferragamo shoes
adidas nmd runner
michael kors handbags
nike blazer
reebok shoes
michael kors handbags wholesale
skechers shoes
chaussure louboutin pas cher
dolce and gabbana outlet
michael kors handbags
michael kors outlet online
cheap michael kors handbags
birkenstock sandals
air max 90
michael kors outlet clearance
nike roshe run
yeezy boost 350 white
reebok outlet
moncler jackets
michael kors handbags sale
kobe 9 elite
nhl jerseys
michael kors handbags
michael kors outlet

I actually enjoyed

I would like to thank you for your nicely written post, its informative and your writing style encouraged me to read it till end. Thanks.
Limo service Annapolis


There is a chance that Apache is using its threads waiting for the next request on idle connections, while active connections are not being handled. autoasesor

We have a delay between

We have a delay between apache web server and the mod_jk component.West Palm Beach personal injury lawyers


I infer I haven't interpreted specified incomparable physical anywhere added online.Key West Personal Injury Lawyer


Are you interested in the market to buy new furniture? Maybe you are moving to your first home? Maybe you’re upgrading to a bigger property. Or has your old furniture seen better days? No matter why you need new furnishings,
471 |

472 |

473 |

474 |

475 |

476 |

477 |

478 |

479 |

480 |

481 |

482 |

483 |

484 |

485 |

486 |

487 |

488 |

489 |

490 |

491 |

492 |

493 |

494 |

495 |

496 |

497 |

498 |

499 |

500 |

501 |

502 |

503 |

504 |

505 |

506 |

507 |

508 |

509 |

510 |

511 |

512 |

513 |

514 |

515 |

516 |

517 |

518 |

519 |

520 |

521 |

522 |

523 |

524 |

525 |

526 |

527 |

528 |

529 |

530 |

531 |

532 |

533 |

534 |

535 |

536 |

537 |

538 |

539 |

540 |

541 |

542 |

543 |

544 |

545 |

546 |

547 |

548 |

549 |

550 |

551 |

552 |

553 |

554 |

555 |

556 |

557 |

558 |

559 |

560 |

561 |

562 |

563 |

564 |

565 |

566 |

567 |

568 |

569 |

570 |

Howdy! Do you know if they

Howdy! Do you know if they make any plugins to safeguard against hackers? I'm kinda paranoid about losing everything I've worked hard on. West Palm Beach auto accident lawyer


I have bookmarked it and I am looking forward to reading new articles. patent service usa

reisbureau online

Your writings, articles, blogs I mean over all contents is must read matter.reisbureau online

reisbureau online

Shelby Cobra dan Shelby Mustang menuai sukses luar biasa di dunia otomotif.reisbureau online

Apache Tomcat was released

Apache Tomcat was released many years after Apache was released. However, I think the former performed better. Although the graphical support was less for Apache, it did suffer from very few bugs. Anyone could trust the product because of reliability and performance. catalina island hotels

Game Hack

pixel gun 3d hack You bear through a awesome vacancy. I sanity definitely quarry it moreover personally suggest to my buddys. I am self-possessed they determination be benefited from this scene. clash of clans triche

Post new comment

This question is for testing whether you are a human visitor and to prevent automated spam submissions.