logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Machine specific Windows Memory leak
Author
snitin



Joined: 14 Mar 2014
Posts: 7
Location: Italy

PostPosted: Sat 15 Mar '14 17:32    Post subject: Machine specific Windows Memory leak Reply with quote

We have apache 2.2.22 running on four different machines on Windows Server 2008 SP1.

Machine 1:
Intel(R) Xeon(R) CPU E5-2609 @2.40 GHz (2 processors)
RAM: 128 GB
PRODUCTION Machine

Machine 2:
Intel(R) Xeon(R) CPU E5-2609 @2.40 GHz (2 processors)
RAM: 32 GB
TEST Machine

Machine 3:
AMD Opteron(tm) Processor 6176 SE 2.29 GHz (4 processors)
RAM: 12 GB
DEVELOPMENT Machine 1

Machine 4:
AMD Opteron(tm) Processor 6176 SE 2.29 GHz (4 processors)
RAM: 12 GB
DEVELOPMENT Machine 2


On Machine 1, we observe that the size of the httpd.exe process increases to 1.2 Gb.

On Machine 2 : we run the Apache Benchmark tool to simulate the load similar to PRODUCTION. Memory increase NOT observed

On Machine 3: Run the Ab tool. Memory Increase observed.

Machine 4: Run the Ab tool. Memory Increase NOT observed.

abs -n 500000 -c 50 -A username:password https://<Domain>/application


All the three machines have the same apache configuration.
KeepAliveTimeout 60
SendBufferSize 16384
Timeout 900
ThreadsPerChild 600

It's strange the way the issue is observed on few Windows machines and few not.

Doing further round of testing, to eliminate that leak is not coming from application, I brought down the application, ran the ab tool on index.html of Apache. None of the machine show memory increase.

Then I again run the ab tool, but this time on another html which has to be authenticated against Active directory. Voila, I see the memory increase again on Machine 3 NOT on machine 4!!.


Has anyone some idea on what is going wrong.

Thanks,
Nitin
Back to top
snitin



Joined: 14 Mar 2014
Posts: 7
Location: Italy

PostPosted: Tue 18 Mar '14 17:21    Post subject: Memory Leak Reply with quote

Doing further round of testing, to eliminate that leak is not coming from application, I brought down the application, ran the ab tool on index.html of Apache. None of the machine show memory increase.

Then I again run the ab tool, but this time on another html which has to be authenticated against Active directory. Voila, I see the memory increase again on Machine 3!!.

Also the memory seem to increase proportional to the number of requests made.

So seems that it's apache ldap authentication to be the issue but I am still not able to identify what is it and why is it machine specific?

-Nitin
Back to top
snitin



Joined: 14 Mar 2014
Posts: 7
Location: Italy

PostPosted: Mon 24 Mar '14 19:06    Post subject: Closed Reply with quote

The issue was incorrect node pointed to in the auth file.
Back to top


Reply to topic   Topic: Machine specific Windows Memory leak View previous topic :: View next topic
Post new topic   Forum Index -> Apache