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

Re: [cobalt-users] 2 domains one website



Zeffie wrote:

> Wrong jeff.
> 
> He would be running into resource limitations. The most common limitation is
> the per-process limit on file descriptors, which is almost always the cause
> of problems seen when adding virtual hosts. Apache often does not give an
> intuitive error message because it is normally some library routine (such as
> gethostbyname()) which needs file descriptors and doesn't complain
> intelligibly when it can't get them.

I'd solve that problem by (for these sites, which I'd have to presume
are low-$, low-volume sites, or you couldn't put that many of them on a
RaQ at all) just pointing the logging to one file (not the same one the
RaQ uses) and NOT parsing it into separate files for the users at any
time.

Although if you did want to parse it into separate files for the users
(once a day or so), you could do that without using too many file
descriptors, by just parsing out a few domains at a time and making
multiple passes.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205