On Mon, 4 Aug 2003, Voytek Eymont wrote:
> ** Reply to note from Andrew McNaughton <[EMAIL PROTECTED]> Mon, 4 Aug 2003 13:42:19
> +1200 (NZST)
>
>
> > I mostly use Freebsd. Not sure what the proper way to do this is on
> > linux, but you could just run `lsof|wc` to get the number in use. The
> > number available is probably compiled into your kernel, but there would
> > also be a command to tweak it.
>
> Andrew, thanks
>
> I'm getting 16 instances per each vhost log:
>
> # lsof|grep "sbt.net.au-access.log" |wc -l
> 16
>
> # lsof|wc -l
> 3946
> # lsof|grep "/vhosts/" | wc -l
> 544
>
> this implies my vhosts are already using over 10% of all in-use file handles (no ?)
Hmm. They'll be sharing file handles.
lsof +f f turns on the FILE-ADDR field, which gives you a identifier for
each unique file handle.
There will be a better tool for finding out about available file handles.
Andrew
--
No added Sugar. Not tested on animals. May contain traces of Nuts. If
irritation occurs, discontinue use.
-------------------------------------------------------------------
Andrew McNaughton In Sydney
Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug