Optimal server settings

Postby Rad on Fri Mar 17, 2006 9:22 pm

JimW wrote:Do you have any data on what's saved by eliminating those from the server configuration?

Jim


The httpd processes should take up less memory. (by 2 to 3 MB or so...).
Also creating a new httpd process should be faster.
Rad
 
Posts: 10
Joined: Mon Feb 20, 2006 5:06 pm

Postby JimW on Fri Mar 17, 2006 10:44 pm

That could result in a significant improvement in overall memory utilization. Here's a typical apache instance as seen by "top":
Code: Select all
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                             
12409 apache    15   0 43972  27m 7968 S  0.0  1.4   0:59.69 httpd                                                           

There are nineteen that look about like that!

Thanks for the tip! :mrgreen:

Jim
JimW
 
Posts: 56
Joined: Thu Jan 05, 2006 1:02 am

Postby jondaley on Sat Mar 18, 2006 8:45 am

You should probably look at it the other way, and start with zero modules, and only add in the couple that you need.

Your numbers look sort of high to me, unless you have a heavily loaded server. Here are my numbers:
Code: Select all
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
www-data 19863  0.0  0.8  13548  7416 ?        S    02:48   0:00 /usr/sbin/apache2 -k start -DSSL


There are currently 15 instances (probably not being used, but that is what I have MaxSpareServers set to)
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby SidV on Sat Mar 18, 2006 10:24 am

And... php.ini has a optimal config? :oops:
SidV
 
Posts: 48
Joined: Mon Mar 13, 2006 3:57 pm
Location: Argentina

Postby Dmitry on Mon Sep 18, 2006 7:16 am

Install eAccelerator to PHP. It will help a lot...
Dmitry
 
Posts: 8
Joined: Sun Sep 17, 2006 2:29 pm

Postby fsadallas on Sat Mar 17, 2007 9:56 pm

Dmitry wrote:Install eAccelerator to PHP. It will help a lot...


Where to get this?
http://www.freesmsalerts.com/
I hate traffic. I love Free SMS Alerts!
fsadallas
 
Posts: 2
Joined: Sat Mar 17, 2007 9:54 pm

Postby JimW on Sat Mar 17, 2007 11:22 pm

fsadallas wrote:
Dmitry wrote:Install eAccelerator to PHP. It will help a lot...

Where to get this?

Google is your friend. ;) Take a look here.
Jim
JimW
 
Posts: 56
Joined: Thu Jan 05, 2006 1:02 am

Previous

Return to Configuration and Installation