[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] 2 domains one website
- Subject: Re: [cobalt-users] 2 domains one website
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Mon Jan 22 22:47:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> > so will this get around the 250 sites limit on the raq ?
>
> Using this technique you can add sites by hand that will be completely
> invisible to the gui.
>
> So the gui's limitations don't apply. So yes, you could have 1,000
> small sites on your RaQ.
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.
Each log file requires a file descriptor, which means that if you are using
separate access and error logs for each virtual host, each virtual host
needs two file descriptors. Each Listen directive also needs a file
descriptor.
Typical values for <VirtualHosts> that we've seen are in the neighborhood of
128 or 250. When the server bumps into the file descriptor limit, it may
dump core with a SIGSEGV, it might just hang, or it may limp along and
you'll see (possibly meaningful) errors in the error log. One common problem
that occurs when you run into a file descriptor limit is that CGI scripts
stop being executed properly.
> Will your RaQ be able to handle it?
No
> Depends on traffic, etc. But you'll
> have to do everything else for the site completely manually as well,
> including users, mailboxes, etc. And you'd sure better know what you're
> doing, because Cobalt isn't going to be able to help you.
> Jeff Lasman
A better way to do would be to write a php script that would read the header
information and pull the right site for a database or where ever.
Zeffie