Current time: 02-19-2020, 12:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
How many domains are you running?
Author Message
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #41
RE: How many domains are you running?
In planning ... give me some time to breath Smile
12-20-2008 09:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jebus Offline
Junior Member
*

Posts: 15
Joined: Dec 2008
Reputation: 0
Post: #42
RE: How many domains are you running?
At the time I "host" 9 domains - 7 own domains and 2 from a "customer".
12-21-2008 12:44 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #43
RE: How many domains are you running?
1) 114 Domains / 524 mailboxes on a (heavily tweaked) vhcs2
2) 225 Domains / 1600 mailboxes on an ispcp RC6 (recompiled apache to increase the max descriptors).
3) 52 Domains / 422 mailbox on an ispcp 1.0

All of them providing all services themselves, including amavis+clamav+spamassassin mail filtering.

After the ispcp-apache-logger and enhanced logfile handling, I think the next major "showstopper" as to the number of domains is fastcgi itself consuming all the available ram. Maybe this could be alleviated by allowing to setup the min/max number of workers through the gui....
04-25-2009 05:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #44
RE: How many domains are you running?
killburn, are you still using the PHP_FCGI_CHILDREN setting in your php5-fcgi-starter scripts?

I posted in some thread a while back about removing that setting, and allowing fastcgi/fcgid to control all the processes itself. THis has helped me a ton, as most of the sites i host get hit very infrequently. Those processes are now allowed to die off and not have the set number always running.

Granted, I only have 23 actual accounts on my system as i'm still working on migrating people over (many more domains though), so i don't have the same scale problem as you, but I saw a HUGE change in making this configuration change. Smile

For instance, here is what i see on my production system right now:

# ps aux|grep php-cgi |wc -l
11


Here are my current mod_fcgid settings:

Code:
IPCConnectTimeout 90
  IdleTimeout 300
  IdleScanInterval 120
  ProcessLifeTime 900
  MaxProcessCount 200
  DefaultMinClassProcessCount 1
  DefaultMaxClassProcessCount 5
  IPCCommTimeout 300
  BusyTimeout 300
  BusyScanInterval 120
  ErrorScanInterval 3
  MaxRequestsPerProcess 500
  ZombieScanInterval 3

in my php5-fcgi-starter I commented out as follows:
Code:
#PHP_FCGI_CHILDREN=2
#export PHP_FCGI_CHILDREN
#PHP_FCGI_MAX_REQUESTS=500
#export PHP_FCGI_MAX_REQUESTS

-
pgentoo
04-25-2009 06:17 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #45
RE: How many domains are you running?
I've adapted your settings to fastcgi and tested the results. So far, no users have complained about slower websites, and from the screenshots I think you'll be able to guess when did I activate the changes Wink Thanks for the info pgentoo!


Attached File(s) Thumbnail(s)
       
(This post was last modified: 04-28-2009 01:19 AM by kilburn.)
04-28-2009 01:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #46
RE: How many domains are you running?
Big Grin
04-28-2009 03:50 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #47
RE: How many domains are you running?
(04-28-2009 01:18 AM)kilburn Wrote:  I've adapted your settings to fastcgi and tested the results. So far, no users have complained about slower websites, and from the screenshots I think you'll be able to guess when did I activate the changes Wink Thanks for the info pgentoo!

Killburn, good to hear!

If you start getting some slowdowns, you can tweak those fastcgi numbers to not kill off processes so agressively, and probably still get good results. Just doesn't make sense to leave processes alive for really slow sites, might as well just fire them up when the page gets loaded in these cases.

Please post your findings if you do any tweaking. I'd like to see how it holds up under higher load systems (only running about 75 currently on my box).

-
pgentoo
04-28-2009 02:27 PM
Find all posts by this user Quote this message in a reply
supaplex Offline
Junior Member
*

Posts: 22
Joined: Jan 2009
Reputation: 0
Post: #48
RE: How many domains are you running?
Nice

(04-28-2009 01:18 AM)kilburn Wrote:  I've adapted your settings to fastcgi and tested the results. So far, no users have complained about slower websites, and from the screenshots I think you'll be able to guess when did I activate the changes Wink Thanks for the info pgentoo!

I've seen that format of graphing before. I've used cricket before, but this looks like something else. Jog my memory again please. Smile What other statistics do you monitor?
05-02-2009 06:23 AM
Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #49
RE: How many domains are you running?
Hi,

Quote:What other statistics do you monitor?

I think this is munin.

BR
Jan
05-02-2009 05:40 PM
Find all posts by this user Quote this message in a reply
supaplex Offline
Junior Member
*

Posts: 22
Joined: Jan 2009
Reputation: 0
Post: #50
RE: How many domains are you running?
mr.x, thanks. I'll look into that.

pgentoo, what config files are these? I've exlcuded /var /tmp and /dev from my search.

joe:~# find / -xdev -type f > rootfs.ls
joe:~# grep -i mod_fcgid rootfs.ls
/usr/lib/apache2/modules/mod_fcgid.so

TIA. BTW, this is Debian Etch (upgrading to Lenny "RSN")
(This post was last modified: 05-02-2009 06:59 PM by supaplex.)
05-02-2009 06:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)