This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zoneli_-_zonelimit_state [2009/03/06 15:26] jt created |
zoneli_-_zonelimit_state [2010/03/19 23:39] k2patel |
||
---|---|---|---|
Line 4: | Line 4: | ||
=== Problem Explained === | === Problem Explained === | ||
- | How to get rid of .gvfs and what it is. | + | When there are no free mbuf clusters available, FreeBSD enters zonelimit state and stops awnsering network requests. You can see if the system has gone into "zoneli" state by using the top command. |
- | What it is | + | To see current mbuf cluster usage |
- | GVFS is a replacement for GnomeVFS, the GNOME Virtual File System | + | <code bash> |
+ | netstat -m | ||
+ | </code> | ||
- | {User_home}/.gvfs is used as a mount point for the Gnome gvfs for user. | + | === Resolution === |
- | It stays mounted even when user is logged off.You need to umount it prior to delete it. | + | |
- | Use following command to unmount | + | Immediate resolution is to reboot the system. System may not recover from zoneli state by killing affected processes. Sometimes even a reboot will not work from console and machine will need to power cycled. |
+ | |||
+ | === Update Settings on /boot/loader.conf === | ||
<code bash> | <code bash> | ||
- | umount -fl /home/xyz/.gvfs | + | kern.ipc.nmbclusters="2147483647" |
+ | kern.ipc.somaxconn="1024" | ||
+ | kern.ipc.maxsockbuf="20480000" | ||
+ | net.inet.tcp.sendspace="1024000" | ||
+ | net.inet.tcp.recvspace="1024000" | ||
</code> | </code> | ||
+ | |||
+ | **OR** | ||
+ | |||
+ | === Following is the run time updating settings. === | ||
+ | |||
+ | <code bash> | ||
+ | sysctl kern.ipc.nmbclusters=2147483647 | ||
+ | sysctl kern.ipc.somaxconn=1024 | ||
+ | sysctl kern.ipc.maxsockbuf=20480000 | ||
+ | sysctl net.inet.tcp.sendspace=1024000 | ||
+ | sysctl net.inet.tcp.recvspace=1024000 | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||