free/flushing vnodes ...

From: Marc G. Fournier (scrappy_at_hub.org)
Date: 08/31/04


Date: Tue, 31 Aug 2004 17:43:28 -0300 (ADT)
To: freebsd-stable@freebsd.org


I have a server that currently is hitting its limit of vnodes:

Aug 31 17:33:01 venus root: debug.numvnodes: 519920 - debug.freevnodes: 9256 - debug.vnlru_nowhere: 253542 - vlrup
Aug 31 17:34:00 venus root: debug.numvnodes: 519920 - debug.freevnodes: 9110 - debug.vnlru_nowhere: 253561 - vlrup
Aug 31 17:35:02 venus root: debug.numvnodes: 519920 - debug.freevnodes: 8668 - debug.vnlru_nowhere: 253580 - vlrup
Aug 31 17:36:00 venus root: debug.numvnodes: 519920 - debug.freevnodes: 8862 - debug.vnlru_nowhere: 253600 - vlrup
Aug 31 17:37:00 venus root: debug.numvnodes: 519920 - debug.freevnodes: 8661 - debug.vnlru_nowhere: 253619 - vlrup
Aug 31 17:38:00 venus root: debug.numvnodes: 519920 - debug.freevnodes: 9001 - debug.vnlru_nowhere: 253638 - vlrup
Aug 31 17:39:00 venus root: debug.numvnodes: 519920 - debug.freevnodes: 9075 - debug.vnlru_nowhere: 253657 - vlrup
Aug 31 17:40:01 venus root: debug.numvnodes: 519920 - debug.freevnodes: 9119 - debug.vnlru_nowhere: 253677 - vlrup
Aug 31 17:41:00 venus root: debug.numvnodes: 519920 - debug.freevnodes: 9457 - debug.vnlru_nowhere: 253696 - vlrup
Aug 31 17:42:00 venus root: debug.numvnodes: 519920 - debug.freevnodes: 9221 - debug.vnlru_nowhere: 253715 - vlrup

Its been up for 25 days now ... is there a way of 'flushing' vnodes? for
instance, if I were to shut down all of the processes on the machine, is
therer something like 'sync' that I could run that would flush all the
vnodes before starting up the processes again? Without doing a reboot?

Thanks ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


Relevant Pages

  • Re: vnode leak in FFS code ... ?
    ... I'm not getting the hangs now, it is freeing up vnodes ... ... I've schedualed 'maintenance' on that server for Saturday ... ... If that doesn't work, I could cause a panic and have it dump core, if that ...
    (freebsd-current)
  • Re: FreeBSD current, apache and php4 woes
    ... > pool or decrease the maximum number of vnodes ... > (vnodes get allocated out of the kmem_map and are ... Now the servers has been quite stable, no reboot in ... I did install 4.9 but in my particular case the server ...
    (freebsd-current)
  • getaddrinfo() failed in Apache 2.2 + FreeBSD 6.1
    ... Our VNODES are a bit high, ... server# sysctl kern.maxvnodes ... Anyone be able to guide me in the right direction here? ...
    (freebsd-performance)
  • getaddrinfo() failed in Apache 2.2
    ... Our VNODES are a bit high, ... server# sysctl kern.maxvnodes ... Anyone be able to guide me in the right direction here? ...
    (freebsd-questions)
  • Re: ZFS leaking vnodes (sort of)
    ... the vnodes were never hitting the free list, ... properly called on then after last-close which is supposed to ... flush out various things. ...
    (freebsd-current)