[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: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Thu Jan 25 12:50:19 2001
- Organization: nobaloney.net
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Jens Kristian Søgaard wrote:
> Well, that script also uses one file-descriptor per site. It's better than
> using 2 or 3, but still it's limited by the number of available
> filedescriptors.
I haven't studied the script; all I did was unpack the source and copy
it to the ftp directory.
Does it keep the one file descriptor per site open the entire time the
script is running? If so, does it keep the file descriptors open as one
process, subject to the 256-descriptor per process limit?
Even so, that's better than keeping them open all the time, as apache
would do.
> You might want to write a more complicated perl script, that takes care of
> file descriptor management.
One helpful individual told me I could write a simple shell script using
"cut". Would that get around the file-descriptor limit? Since it opens
each file one at a time and closes it, my guess is it would, but I don't
know the kernal internals, and haven't tried. What's your opinion?
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205