Hi guys! I can’t find an answer in google, so my last hope is this mailing list.
Story. I have two servers with same arrays. Servers connected by DRBD. I used ocfs2 as file system, also I used NFS4 to access to the ocfs2 drive. I do not have any idea, but the allocated descriptors in /proc/sys/fs/file-nr increasing every time while drive accessed. So after some time allocated descriptions over max value and all processes make error “To much opened files” (something like this). I do not see any error messages in log files... Any idea? I haven’t sleep two days Thank you all in advance. Configs: cat /etc/drbd.conf # You can find an example in /usr/share/doc/drbd.../drbd.conf.example include "drbd.d/global_common.conf"; include "drbd.d/*.res"; resource nfs { protocol C; handlers { split-brain "/usr/lib/drbd/notify-split-brain.sh root"; pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f"; pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f"; local-io-error "echo o > /proc/sysrq-trigger ; halt -f"; } startup { become-primary-on both; degr-wfc-timeout 120; } disk { on-io-error detach; } net { cram-hmac-alg sha1; shared-secret "password"; allow-two-primaries; after-sb-0pri discard-zero-changes; after-sb-1pri discard-secondary; after-sb-2pri disconnect; rr-conflict disconnect; } syncer { rate 500M; verify-alg sha1; al-extents 257; } on st01 { device /dev/drbd0; disk /dev/sdb; address 192.168.3.151:7788; meta-disk internal; } on st02 { device /dev/drbd0; disk /dev/sdb; address 192.168.3.152:7788; meta-disk internal; } } --- cat /etc/ocfs2/cluster.conf #/etc/ocfs2/cluster.conf node: ip_port = 7777 ip_address = 192.168.1.151 number = 1 name = st01 cluster = ocfs2 node: ip_port = 7777 ip_address = 192.168.1.152 number = 2 name = st02 cluster = ocfs2 cluster: node_count = 2 name = ocfs2 --- cat /etc/exports # /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). /snfs 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check,fsid=0) /snfs/projects 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check) /snfs/configs 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check) /snfs/variables 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check) /snfs/backups 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check) ---
<<wlEmoticon-sadsmile[1].png>>
_______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users