ispCP - Board - Support
How many domains are you running? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Small Talk (/forum-20.html)
+--- Thread: How many domains are you running? (/thread-1028.html)

Pages: 1 2 3 4 5 6 7


RE: How many domains are you running? - RatS - 12-20-2008 09:33 PM

In planning ... give me some time to breath Smile


RE: How many domains are you running? - Jebus - 12-21-2008 12:44 PM

At the time I "host" 9 domains - 7 own domains and 2 from a "customer".


RE: How many domains are you running? - kilburn - 04-25-2009 05:51 AM

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....


RE: How many domains are you running? - pgentoo - 04-25-2009 06:17 AM

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


RE: How many domains are you running? - kilburn - 04-28-2009 01:18 AM

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!


RE: How many domains are you running? - Zothos - 04-28-2009 03:50 AM

Big Grin


RE: How many domains are you running? - pgentoo - 04-28-2009 02:27 PM

(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


RE: How many domains are you running? - supaplex - 05-02-2009 06:23 AM

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?


RE: How many domains are you running? - mr.x - 05-02-2009 05:40 PM

Hi,

Quote:What other statistics do you monitor?

I think this is munin.

BR
Jan


RE: How many domains are you running? - supaplex - 05-02-2009 06:58 PM

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")