Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* What is a vnode?
@ 1994-08-29  2:25 Brian Saunders
  1994-08-29 22:16 ` Eric Werme
  0 siblings, 1 reply; 12+ messages in thread
From: Brian Saunders @ 1994-08-29  2:25 UTC (permalink / raw)


I've gotten this message lately in my kernel log:

Aug 28 17:20:37 castor vmunix: vnode: table is full

Is this related to the old "not enough inodes" problem?  Is the fix for
this to tell one of my users not to have 15 background emacs jobs, or to
rebuild the kernel and increase the MAXUSERS number?
-- 

Brian Saunders				saunders@castor.che.wisc.edu


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-08-29  2:25 What is a vnode? Brian Saunders
@ 1994-08-29 22:16 ` Eric Werme
  1994-09-01  4:31   ` Brian Saunders
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Werme @ 1994-08-29 22:16 UTC (permalink / raw)


saunders@castor.che.wisc.edu (Brian Saunders) writes:

>I've gotten this message lately in my kernel log:

>Aug 28 17:20:37 castor vmunix: vnode: table is full

>Is this related to the old "not enough inodes" problem?  Is the fix for
>this to tell one of my users not to have 15 background emacs jobs, or to
>rebuild the kernel and increase the MAXUSERS number?

emacs doesn't eat up too many vnodes at a time (I think - I haven't
looked), but 15 emacs is a bit excessive (he says, noticing six on
his workstation in various tvtwm regions).

V1.3: increase MAXUSERS
V2.0: there may be a problem with a snmpd or other net daemon eating
      file descriptors
V3.0: Allocated/deallocated on the fly as needed.

all: Clue the user.
-- 
Eric (Ric) Werme		| werme@zk3.dec.com
Digital Equipment Corp.		| This space intentionally left blank.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-08-29 22:16 ` Eric Werme
@ 1994-09-01  4:31   ` Brian Saunders
  1994-09-01 17:59     ` strange
  0 siblings, 1 reply; 12+ messages in thread
From: Brian Saunders @ 1994-09-01  4:31 UTC (permalink / raw)


In article <werme.778198619@alingo.zk3.dec.com>, werme@zk3.dec.com wrote:

> V1.3: increase MAXUSERS

Done.  Problems seems to be gone.  It was only set at 16, so I think that
was a major source of the problem, along with the fact that the computer
had gone 2 months without a reboot (longer than usual).  I had to reboot
once just to compile the kernel (file system was too messed up otherwise).

> V3.0: Allocated/deallocated on the fly as needed.

Will upgrade to this when it comes out.

> all: Clue the user.

Always done, never effective. :^)

-- 
Brian Saunders                        saunders@castor.che.wisc.edu


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-09-01  4:31   ` Brian Saunders
@ 1994-09-01 17:59     ` strange
  0 siblings, 0 replies; 12+ messages in thread
From: strange @ 1994-09-01 17:59 UTC (permalink / raw)


In article <saunders-3108942331420001@caspar.che.wisc.edu> saunders@castor.che.wisc.edu (Brian Saunders) writes:

>   > V3.0: Allocated/deallocated on the fly as needed.

>   Will upgrade to this when it comes out.

Just FYI: It's out, as of about 2 weeks ago, I believe.

	Steve
--
Steve Strange
Digital Equipment Corporation, Nashua, NH
DCE DFS for DEC OSF/1 -- Development
strange@zk3.dec.com


^ permalink raw reply	[flat|nested] 12+ messages in thread

* What is a vnode?
@ 1994-10-19 10:47 Gary Whitehead
  1994-10-19 18:32 ` Tim Llewellyn
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Gary Whitehead @ 1994-10-19 10:47 UTC (permalink / raw)


My OSF/1 machine has just gone bezerk,stopping me from forking shells, 
and terminating tasks. The console is printing up message after 
message saying 'vnode table is full'.

I have grep'd the man pages but can find no reference to a 'vnode'.

Can anyone help.

PS. Rebooting the system makes it go away for a week or so but then it
comes back.

Thanks for any help,
---
Gary Whitehead                                                   /--------\
Spectra-Tek Uk Ltd                                               | --------
Swinton Grange                                                   | ---||---
Malton                                                           \----||--\
North Yorkshire                                                  -----||--|
England                                                          \----||--/



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-10-19 10:47 Gary Whitehead
@ 1994-10-19 18:32 ` Tim Llewellyn
  1994-10-19 23:34   ` cherkus
  1994-10-20 17:36   ` Graham Allan
  1994-10-19 19:29 ` dave.newbold
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 12+ messages in thread
From: Tim Llewellyn @ 1994-10-19 18:32 UTC (permalink / raw)



In article <609422082wnr@stek.demon.co.uk>, Gary@stek.demon.co.uk (Gary
Whitehead) writes:

|>
|>My OSF/1 machine has just gone bezerk,stopping me from forking shells, 
|>and terminating tasks. The console is printing up message after 
|>message saying 'vnode table is full'.
|>
|>I have grep'd the man pages but can find no reference to a 'vnode'.
|>
|>Can anyone help.
|>
|>PS. Rebooting the system makes it go away for a week or so but then it
|>comes back.
|>
|>Thanks for any help,
|>---

I asked someone here and they said its to do with your file system full.

I went to our brand new OSF/1 3.0 hardcopy Docset and tried to find someting
analogous to the OpenVMS System Messages and Recovery Procedures manual,
to no avail. I have been reading the System Administration Guide and I'm
sure that message is mentioned somewhere, I just can't find it today. 
The problem is the info on error messages is not centralized but spread out 
in a seemingly ad-hoc fashion throughout the docs. I hope I am wrong about
this and some more knowledgeable person can point me somewhere useful.

|>
|>
-- 
-----------------------------------------------------+------------------+
Tim Llewellyn - OpenVMS, Soukous and Cricket Addict  |Hey, and get wise |
Physicist Programmer, Bristol Uni Particle Physics.  | to the sounds of |
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk  |   Africa,seen.   |
I speak for me and noone else OK (and I might even   | Soukous  Makossa |
change my mind sometimes!-) Atari and EMagic user too| Mbalax   Rumba...|
-----------------------------------------------------+------------------+
I neither love OpenVMS nor hate OSF/1, for they are both just tools I use


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-10-19 10:47 Gary Whitehead
  1994-10-19 18:32 ` Tim Llewellyn
@ 1994-10-19 19:29 ` dave.newbold
  1994-10-19 23:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-10-28 15:42 ` Gary Whitehead
  3 siblings, 0 replies; 12+ messages in thread
From: dave.newbold @ 1994-10-19 19:29 UTC (permalink / raw)



Hi,

I think a vnode performs the equivalent function to an inode, in the
top layer of the file system (Called the 'virtual file system', or similar,
it hides the nature of the underlying file system from the user's point of view).

Therefore, an 'out of vnodes' message holds the same significance as an 'out of
inodes' - ie the file system has run out of file identifiers. Do you have an
application that's generating loads of junk files? Maybe you could try changing
one of the file system parameters by doing a 'newfs -i smallnumber' - see the
manpage newfs(8).

  _Dave_

 ------------------------------------------------------------------------------
   The opinions expressed here are not necessarily those of any other person
                     or organisation. So don't sue them.

    dave.newbold@bristol.ac.uk / dmn@vsnhd1.cern.ch / newbold@vxcern.cern.ch


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-10-19 10:47 Gary Whitehead
  1994-10-19 18:32 ` Tim Llewellyn
  1994-10-19 19:29 ` dave.newbold
@ 1994-10-19 23:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-10-28 15:42 ` Gary Whitehead
  3 siblings, 0 replies; 12+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-10-19 23:30 UTC (permalink / raw)



In article <609422082wnr@stek.demon.co.uk>, Gary@stek.demon.co.uk (Gary Whitehead) writes:

>My OSF/1 machine has just gone bezerk,stopping me from forking shells, 
>and terminating tasks. The console is printing up message after 
>message saying 'vnode table is full'.
>
>I have grep'd the man pages but can find no reference to a 'vnode'.

A vnode is a virtual inode; a kernel data structure used to handle
many different file system types.  In early version of OSF/1 there
is a fixed size array of vnodes.  The size of the array is dependent
on the value of maxusers in the configuration file.  Every open
UFS file, NFS file handle and a few other things use vnodes.

The size of the table is set in param.c.  On V1.3 the size
of the table is (NPROC + (2*MAXUSERS) + 128).  If the proceses
you have open enough files you may want to adjust the algorithm.
Or just increase MAXUSERS and rebuild.
  

>
>Thanks for any help,
>---
>Gary Whitehead                                                   /--------\
>
>
--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-10-19 18:32 ` Tim Llewellyn
@ 1994-10-19 23:34   ` cherkus
  1994-10-23 23:23     ` phdmn
  1994-10-20 17:36   ` Graham Allan
  1 sibling, 1 reply; 12+ messages in thread
From: cherkus @ 1994-10-19 23:34 UTC (permalink / raw)


Tim Llewellyn wrote in article <CxxnHG.L16@info.bris.ac.uk> :
>I asked someone here and they said its to do with your file system full.

Sorry, this is incorrect.

They are data structures kept in main memory used to locate the data
blocks of a file as well as things like ownership and modification
time.  One is allocated for each file opened in the system.

Your problem can be caused by opening more files than the system
is configured for, or by programs that forget to close files.
The first problem is usually fixed by increasing the 'maxusers'
variable in the kernel configuration file and rebuilding.  The
second one is solved by fixing the buggy program.

--
Dave Cherkus ----- UniMaster, Inc. ----- Contract Software Development
Specialties: UNIX TCP/IP X OSF/1 AlphaAXP AIX RS/6000 ISDN Performance
Email: cherkus@UniMaster.COM  Tel: (603) 888-8308  Fax: (603) 888-8308
Ob.Humor: Is that a seismograph, or is that Bill Clinton's polygraph?



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-10-19 18:32 ` Tim Llewellyn
  1994-10-19 23:34   ` cherkus
@ 1994-10-20 17:36   ` Graham Allan
  1 sibling, 0 replies; 12+ messages in thread
From: Graham Allan @ 1994-10-20 17:36 UTC (permalink / raw)



In article <CxxnHG.L16@info.bris.ac.uk>, tjl@siva.bris.ac.uk (Tim Llewellyn) writes:
|>
|>In article <609422082wnr@stek.demon.co.uk>, Gary@stek.demon.co.uk (Gary
|>Whitehead) writes:
|>
|>|>My OSF/1 machine has just gone bezerk,stopping me from forking shells, 
|>|>and terminating tasks. The console is printing up message after 
|>|>message saying 'vnode table is full'.
|>|>
|>|>I have grep'd the man pages but can find no reference to a 'vnode'.
|>|>
|>|>Can anyone help.
|>|>
|>|>PS. Rebooting the system makes it go away for a week or so but then it
|>|>comes back.
|>
|>I asked someone here and they said its to do with your file system full.
|>
|>I went to our brand new OSF/1 3.0 hardcopy Docset and tried to find someting
|>analogous to the OpenVMS System Messages and Recovery Procedures manual,
|>to no avail. I have been reading the System Administration Guide and I'm
|>sure that message is mentioned somewhere, I just can't find it today. 
|>The problem is the info on error messages is not centralized but spread out 
|>in a seemingly ad-hoc fashion throughout the docs. I hope I am wrong about
|>this and some more knowledgeable person can point me somewhere useful.

We used to have the same problem here. If you look in /sys/conf/param.c,
there's a line:

#define NVNODE (NPROC + (2*MAXUSERS) + 128)

so we bumped up maxusers from the default 16 to 64, rebuilt the kernel, and
the problem has not occurred since. We're running OSF/1 2.0, if it makes
any difference.

Graham


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-10-19 23:34   ` cherkus
@ 1994-10-23 23:23     ` phdmn
  0 siblings, 0 replies; 12+ messages in thread
From: phdmn @ 1994-10-23 23:23 UTC (permalink / raw)



>> I asked someone here and they said its to do with your file system full.
              ^
              me

but cherkus@fastball.unimaster.com wrote:

> Sorry, this is incorrect.
> They are data structures kept in main memory used to locate the data
> blocks of a file as well as things like ownership and modification
> time.  One is allocated for each file opened in the system.

Yeah, well loosely speaking, a vnode perfoms the function of an inode
in the 'Virtual File System'. The VFS has run out of vnodes, in an analogous
way to a 'full' UFS running out of inodes.

Anyhow, the max vnodes figure seems to be completely arbitrary ("adopted from
Ultrix", for goodness sakes) - can't be any harm in bumping it up a little.
..can there?

  _Dave_ 

 ------------------------------------------------------------------------------
   The opinions expressed here are not necessarily those of any other person
                     or organisation. So don't sue them.

    dave.newbold@bristol.ac.uk / dmn@vsnhd1.cern.ch / newbold@vxcern.cern.ch


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: What is a vnode?
  1994-10-19 10:47 Gary Whitehead
                   ` (2 preceding siblings ...)
  1994-10-19 23:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1994-10-28 15:42 ` Gary Whitehead
  3 siblings, 0 replies; 12+ messages in thread
From: Gary Whitehead @ 1994-10-28 15:42 UTC (permalink / raw)


Many thanks to everyone who answered that problem.

I have increased the MAX_USERS and the problem has not re-occurred.

I have also been having a look through our code to see if any files
are being left open. None found as yet but I'm still looking.

Again, many thanks,

---
Gary Whitehead                                                   /--------\
Spectra-Tek Uk Ltd                                               | --------
Swinton Grange                                                   | ---||---
Malton                                                           \----||--\
North Yorkshire                                                  -----||--|
England                                                          \----||--/



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1994-10-28 15:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-29  2:25 What is a vnode? Brian Saunders
1994-08-29 22:16 ` Eric Werme
1994-09-01  4:31   ` Brian Saunders
1994-09-01 17:59     ` strange
  -- strict thread matches above, loose matches on Subject: below --
1994-10-19 10:47 Gary Whitehead
1994-10-19 18:32 ` Tim Llewellyn
1994-10-19 23:34   ` cherkus
1994-10-23 23:23     ` phdmn
1994-10-20 17:36   ` Graham Allan
1994-10-19 19:29 ` dave.newbold
1994-10-19 23:30 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-10-28 15:42 ` Gary Whitehead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox