[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] 250 site limit URGENT HELP REQUIRED



>> please tell me a way to get around this

> A little research shows a limit set in the following file:
> /usr/lib/perl5/site_perl/5.005/Cobalt/Product_raq.pm

> Search this file for the following line:
> $Sites_Max            = 250;  # how many sites can the system have?

> I've no idea whether upping this number would suffice, but you could try.
> Assume that any future Cobalt fixes/upgrades may overwrite this again.

Yes, upping this number does work to increase the total number of 
site you can have on a box.  But if you have more than 254 IP-based
virtual sites I _know_ you will run into problems.  

Here is my one liner for fixing this on RaQ2 and later:
find /usr/lib/perl5 -type f -name "Product_raq.pm" |xargs perl -pi -e
's#^\$Sites_Max\s*=\s*250#\$Sites_Max\t= 1000#'

Jeff-