From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,c46b9183e7cd437a,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-06-21 14:34:19 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!ihnp4.ucsd.edu!agate!triplerock!pbrown From: pbrown@triplerock.Berkeley.EDU (Paul Brown) Newsgroups: comp.unix.osf.misc Subject: Question on vnode usage . . . Date: 21 Jun 1994 21:21:36 GMT Organization: University of California, Berkeley Message-ID: <2u7ll0$nlm@agate.berkeley.edu> NNTP-Posting-Host: triplerock.cs.berkeley.edu X-Newsreader: TIN [version 1.2 PL2] Hi y'all - Trying to diagnose a problem which manifests as a database vendor's product claiming to have run out of vnodes. We have <4 users on and 4K vnode structures allocated (the default), I'd like to be able to work out some means of determining; a) how many vnodes are being used at a point in time. b) what 'types' of vnodes (file, pipe etc) and what they are (if files). c) if I can, associate the vnode with a processes' file table to determine which process(es) are causing the problem. I realise that I can get an approximation by looking at the value of the file_desc returned by an fopen() call, but this is *very* rough. I have a hack which opens a /tmp file every once in a while and records a 'high-water' mark, but that's inadequate. Note e-mail address. ===================================================================== Paul Brown ^..^ pbrown@postgres.Berkeley.EDU (oo) - Oink! #include "Think global - act loco!" - Zippy the Pinhead =====================================================================