[Ocfs2-users] Problems with descriptions.
Vasyl S. Kostroma
admin at v-sf.info
Wed Jun 1 22:37:37 PDT 2011
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)
---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20110602/2ee78406/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1088 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-users/attachments/20110602/2ee78406/attachment.png
More information about the Ocfs2-users
mailing list