Apache Tuning Question

Hello,

I ran a tuner script and this is what it says, can you please tell me what it means :-))

########################################################################
# Apache Buddy v 0.3 ###################################################
########################################################################
Gathering information...
We are checking the service running on port 80
The process listening on port 80 is /usr/sbin/httpd
The process running on port 80 is Apache/2.2.15 (Unix)
Apache has been running 0d 07h 24m 47s
The full path to the Apache config file is: /etc/httpd/conf/httpd.conf
Apache is using prefork model

Examining your Apache configuration...
Apache runs as apache
Your max clients setting is 1500

Analyzing memory use...
Your server has 15923 MB of memory
The largest apache process is using 49.88 MB of memory
The smallest apache process is using 11.11 MB of memory
The average apache process is using 34.49 MB of memory
Going by the average Apache process, Apache can potentially use 51735.00 MB RAM (324.91 % of available RAM)
Going by the largest Apache process, Apache can potentially use 74820.01 MB RAM (469.89 % of available RAM)

Generating reports...
### GENERAL REPORT ###

Settings considered for this report:

	Your server's physical RAM:		15923MB
	Apache's MaxClients directive:		1500
	Apache MPM Model:			prefork
	Largest Apache process (by memory):	49.88MB
[ !! ]	Your MaxClients setting is too high. It should be no greater than 319.
	Max potential memory usage: 74820 MB(469.89 % of available RAM)

	Percentage of RAM allocated to Apache		469.89 %

-----------------------------------------------------------------------
-----------------------------------------------------------------------

ERROR: AllProcsTotalMem (48549.03 MB) exceeds MemTotal (15923.97 MB) and free swap (3992.06 MB) by 28633.00 MB.

Open in new window

LVL 1
movieprodwAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BharathKumarRaju DasaraRajuDevops EngineerCommented:
Sometimes allocating too much memory creates a memory problem. Unless there is a specific reason to allocate.....could you check your memory allocation and total RAM available please?

Next, check your database allocation. Often memory is the first thing people allocate to make something run faster when there are other items that should be done (like query tuning)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
httpd-worker will serve same users at 10x smaller memory footprint.
0
movieprodwAuthor Commented:
Hello,

There is no db on this server, it is hosted on a mother server.

The server keeps shutting down when there are 170+ people on it.

Looks like I have to change some stuff.

Any pointers are greatly appreciated
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

gheistCommented:
Read it in my previous comment:
https://httpd.apache.org/docs/2.2/mod/worker.html
0
movieprodwAuthor Commented:
Thank you!

I know I am slow, but where are these settings, I can not find the file they are in.

Matt
0
movieprodwAuthor Commented:
Oh I found it, sorry.

<IfModule prefork.c>
StartServers       64
MinSpareServers    64
MaxSpareServers   512
ServerLimit      2000
MaxClients       1500
MaxRequestsPerChild  0
</IfModule>

Open in new window


<IfModule worker.c>
StartServers         4
MaxClients         300
MinSpareThreads     25
MaxSpareThreads     75 
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

Open in new window

0
gheistCommented:
Not really, sorry. You need to select MPM
Nice if you manage to share name of your distribution. I can guess where it is...
0
movieprodwAuthor Commented:
Hired someone, thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.