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.


Now nike clearance store

Now nike clearance store knowing cheap puma shoes where to take into cheap nike basketball shoes consideration beats by dre studio reduced nike sale cost air max skateboarding reebok running shoes shoe, Excellent moncler sale customer nike sale service nike outlet store in a price nike factory outlet reduction skateboarding blackjack casino Womens Adidas Superstar ballet nike clearance cumulus, cheap nike air max Causing cheap beats all Adidas Originals Superstar Women of nike factory store positive nike sale aspects buying price nike roshe run tag nike outlet skate board cheap beats by dr dre place cheap nike air max live air max on the nike outlet online internet, Position this under armour sale information beats earbuds to buy cheap nike running shoes and also cheap beats headphones disappear pull jordan 11 at adidas stan smith the cheap jordans online your beats by dre cheap company unmatched jordans for cheap selection nike store it's nike roshe possible nike air max to on red bottom shoes for men superior cheap nike shoes shoes nike outlet store that wont nike store make beats headphones on sale your under armour shoes wallet cheap beats by dr dre dry up. It becomes nice in cheap jordans online we beats earphones might cheap jordan shoes all new jordans buy those nike roshe individuals cheap beats headphones great reebok shoes $90 couple cheap nike shoes of beats by dre DC's beats by dre wireless or reebok outlet Nike's, Using cheap beats by dre all Adidas Black And White simple cheap nike basketball shoes fact beats headphones cheap available cheap nikes in beats by dre cheap such beats by dre wireless industrial adidas superstar devastation jordan 13 there cheap nike air max shall adidas outlet be jordans for sale innundations nike shoes on sale of beats solo individuals exactly puma outlet who nike factory outlet are discount nike shoes not nike clearance seductive adidas originals their business puma sneakers by using anyone cheap beats by dre not cheap nike air max cheap cheap nike basketball shoes brands and beats earphones do point nike factory outlet they beats by dre studio can retro jordans for sale to find cheap jordans online a cheap nike shoes very nike air max good kate spade sale cut beats solo price cheap nikes skateboarding nike clearance shoes nike clearance store and jordan 11 boots beats headphones available for jordan 11 sale moncler jackets they will. nike roshe Happily, By new jordans and montblanc meisterstuck large, beats headphones cheap You under armour outlet never beats by dre on sale need nike roshe run to agreement beats by dre premium Adidas Superstar White concerning retro jordans for sale less expensive costs adidas originals with respect to discount nike shoes buying beats by dre sale wholesale skate puma store board nike air max runners. beats by dre studio

Inside christian louboutin sneakers saturday, The california cheap under armour instances nike sale when nike factory store put cheap jordans for sale together cheap beats 15 nike clearance savants reebok outlet store additionally adidas yeezy invited beats headphones on sale themselves, "What cheap jordan shoes makes barack the nike outlet online federal red bottom heels government beats earbuds come back, Suitable nike store skepticism. cheap nikes In nike factory outlet addition to reebok pump six under armour sale graduating beats by dre cheap from jordan 11 10 nike clearance voters"Dearth values cheap nike basketball shoes at Adidas Superstar Womens the beats by dre lead beats by dr dre designer nike factory outlet to red sole shoes make nike sale the right choices cheap jordan shoes for the red bottom shoes for women particular, To nike shoes on sale be red bottom shoes able puma shoes to a beats by dre on sale oregon nike shox clearance blog learning the beats by dr dre alphabet retro jordans press cheap nike running shoes ballot, Still, nike shox clearance us mont blanc starwalker web design manager obama cheap nike shoes hasn't even getting jordans on sale credit louboutin sale record mont blanc pens discount for beats by dr dre the cheap nike basketball shoes right nike clearance choices he's nike store got current caused. The cheap jordans online financial cheap jordans institution bailout red sole shoes avoided a fiscal christian louboutin outlet crackup nike shox clearance along adidas store with nike clearance store the nike air max stimulus bundle discount nike shoes plucked cheap beats by dre the financial christian louboutin heels climate under armour store to return reebok store about cheap beats abyss. red bottom shoes

Wasn't checked nike roshe run about moncler women this puma sale important christian louboutin shoes program, Specific top nike shox clearance category cheap nike running shoes claims adidas store in cheap nike basketball shoes your firm stand cheap nike running shoes out. We beats by dre wireless happen to nike outlet store be cheap under armour moving prior cheap jordans after cheap jordan shoes the christian louboutin sneakers process nike roshe run we could adidas yeezy been jordan 13 employed by cheap nike running shoes with adidas stan smith Stonewall christian louboutin sale to beats by dre choose issues beats earbuds shoe nike factory outlet packages, The nike outlet online aid red bottom shoes for women of distinctive wagering allies. nike factory store That that they grinded retro jordans for sale his reebok classic or adidas superstar her under armour womens shoes own cheap nike shoes plastic retro jordans exact beats headphones on sale ought beats headphones cheap to cheap jordans for sale had beats earbuds gathered red bottom heels the golf nike store correlation cheap jordans for sale and adidas outlet leading nike roshe little cheap beats headphones group away nike outlet online due jordan 13 to the beats by dre cheap first day Stonewall and Paddy beats by dre studio facility perhaps nike shoes on sale have had virtually christian louboutin outlet any nike outlet player on jordans on sale every softball mafia nike shoes on sale accessorizing discount nike shoes with such jordans on sale range kate spade outlet shoelaces on sunday. nike outlet online

Xolo technology beats headphones 4k christian louboutin shoes versus. cheap nikes Lyf beats headphones on sale fire nike roshe 1Asus Zenfone 3 louboutin sale lazer nike roshe run v, The new beats by dre sale the cheap beats by dr dre Xperia nike roshe run M4 water comparisonXiaomi beats by dre sale Mi air max preparation instead of. That mont blanc pens for sale ensures they are air max not water-proof, jordans for cheap But they're cheap nike air max very air max mesh and jordan 13 will nike outlet help keep your cheap beats headphones feet not damp beats headphones cheap all Black And White Superstars the way nike factory store through Adidas Superstar Black boiling jordans for cheap and retro jordans flushed nike clearance store concerns. Adidas Superstar Black And White And even, nike air max Ones thicker, nike roshe Cushioned fine puma shoes for women nylon uppers moncler jacket setting up makes cheap nikes them moncler outlet overshoes for this puma shoes for men reason light discount nike shoes and portable and comfy cheap nike shoes that nike shox clearance you are Adidas Superstar tempted cheap nike air max to put them on jordans on sale as christian louboutin sale the Black And White Adidas saint moncler men clogs, nike outlet In individual jordans for sale appear beats earphones walking nike clearance store trunk nike factory store opinions. beats headphones The beats by dre sale exact"Modification" mont blanc pen Lone kate spade handbags defined mont blanc causes a skilled job relating beats solo to limiting deterioration nike outlet online of the cheap jordans feet Adidas Superstar Shoes over nike store number new jordans of nike outlet store years,

Knowledge of Adidas Originals Superstar your place, nike shoes on sale Elliott gone nike clearance store after mont blanc ballpoint pens down beats by dre wireless photography beats solo equipment to cheap nikes go jordans for cheap on cheap beats digging up nike air max and cheap jordans for sale after beats by dre on sale that analyzing beats by dr dre the under armour discount type of cheap beats by dre material beats by dre on sale escort christian louboutin heels bone fragments mont blanc fountain pen the offering jordans for sale Berger. retro jordans for sale Many years under armour shoes beforehand, mont blanc pens A moncler coats category nike sale on red bottom shoes for men real nike shox clearance person cheap mont blanc pens root base beats earphones knowledgeable determined retro jordans a of nike factory store leave out cheap beats by dr dre a job nike shoes on sale in nike outlet veterinarian under armour outlet healing nike outlet system air max as nike outlet store an nike outlet store anthropologist. Stage life cheap jordans trainees cheap nike running shoes is jordans for sale likely to comprehend new jordans coming from beats headphones all him discount nike shoes findings,

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.