Thread-19::DEBUG::2013-05-09 09:02:15,701::domainMonitor::170::Storage.DomainMonitorThread::(_monitorDomain) Refreshing domain 3a570ac5-8814-4255-9834-e45d14939007 Thread-19::DEBUG::2013-05-09 09:02:15,701::misc::83::Storage.Misc.excCmd::(<lambda>) '/usr/bin/sudo -n /sbin/lvm vgs --config " devices { preferred_names = [\"^/dev/mapper/\"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \"r%.*%\" ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } " --noheadings --units b --nosuffix --separator | -o uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free 3a570ac5-8814-4255-9834-e45d14939007' (cwd None) Thread-19::ERROR::2013-05-09 09:02:15,701::sdc::150::Storage.StorageDomainCache::(_findDomain) Error while looking for domain `3a570ac5-8814-4255-9834-e45d14939007` Traceback (most recent call last): File "/usr/share/mcvda/storage/sdc.py", line 145, in _findDomain File "/usr/share/mcvda/storage/blockSD.py", line 1221, in findDomain File "/usr/share/mcvda/storage/blockSD.py", line 1191, in findDomainPath File "/usr/share/mcvda/storage/lvm.py", line 810, in getVG File "/usr/share/vdsm/storage/lvm.py", line 542, in getVg File "/usr/share/vdsm/storage/lvm.py", line 397, in _reloadvgs File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__ File "/usr/share/vdsm/storage/misc.py", line 1204, in acquireContext File "/usr/share/vdsm/storage/lvm.py", line 369, in _reloadvgs File "/usr/share/vdsm/storage/lvm.py", line 305, in cmd File "/usr/share/vdsm/storage/misc.py", line 198, in execCmd File "/usr/lib64/python2.6/site-packages/vdsm/betterPopen/__init__.py", line 46, in __init__ File "/usr/lib64/python2.6/subprocess.py", line 632, in __init__ File "/usr/lib64/python2.6/subprocess.py", line 1055, in _get_handles OSError: [Errno 24] Too many open files Thread-19::ERROR::2013-05-09 09:02:15,702::domainMonitor::208::Storage.DomainMonitorThread::(_monitorDomain) Error while collecting domain 3a570ac5-8814-4255-9834-e45d14939007 monitoring information Traceback (most recent call last): File "/usr/share/vdsm/storage/domainMonitor.py", line 186, in _monitorDomain File "/usr/share/vdsm/storage/sdc.py", line 49, in __getattr__ File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain File "/usr/share/vdsm/storage/sdc.py", line 121, in _realProduce File "/usr/share/vdsm/storage/sdc.py", line 152, in _findDomain StorageDomainDoesNotExist: Storage domain does not exist: ('3a570ac5-8814-4255-9834-e45d14939007',)
Hey bigcoulds, Thanks for notify about exceptions that you bumped in, but please provide more information next time, Like what did you try to do, what leaded to the exception, or just attach your vdsm log in such cases.
In that case, we increased the ulimit for open files for user vdsm. please check your vdsm/limits.conf, should be set to 12288 to allow 100 sd. More than that vdsm does not support (check out https://bugzilla.redhat.com/show_bug.cgi?id=920532)
Regards, Yaniv Bronhaim.
----- Original Message -----
From: "bigclouds" bigclouds@163.com To: vdsm-devel@lists.fedorahosted.org Sent: Thursday, May 9, 2013 8:25:20 AM Subject: [vdsm] Too many open files
Thread-19::DEBUG::2013-05-09 09:02:15,701::domainMonitor::170::Storage.DomainMonitorThread::(_monitorDomain) Refreshing domain 3a570ac5-8814-4255-9834-e45d14939007 Thread-19::DEBUG::2013-05-09 09:02:15,701::misc::83::Storage.Misc.excCmd::(<lambda>) '/usr/bin/sudo -n /sbin/lvm vgs --config " devices { preferred_names = [\"^/dev/mapper/\"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \"r%.*%\ " ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } " --noheadings --units b --nosuffix --separator | -o uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free 3a570ac5-8814-4255-9834-e45d14939007' (cwd None) Thread-19::ERROR::2013-05-09 09:02:15,701::sdc::150::Storage.StorageDomai nCache::(_findDomain) Error while looking for domain `3a570ac5-8814-4255-9834-e45d14939007` Traceback (most recent call last): File "/usr/share/mcvda/storage/sdc.py", line 145, in _findDomain File "/usr/share/mcvda/storage/blockSD.py", line 1221, in findDomain File "/usr/share/mcvda/storage/blockSD.py", line 1191, in findDomainPath File "/usr/share/mcvda/storage/lvm.py", line 810, in getVG File "/usr/share/vdsm/storage/lvm.py", line 542, in getVg File "/usr/share/vdsm/storage/lvm.py", line 397, in _reloadvgs File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__ File "/usr/share/vdsm/storage/misc.py", line 1204, in acquireContext File "/usr/share/vdsm/storage/lvm.py", line 369, in _reloadvgs File "/usr/share/vdsm/storage/lvm.py", line 305, in cmd File "/usr/share/vdsm/storage/misc.py", line 198, in execCmd File "/usr/lib64/python2.6/site-package s/vdsm/betterPopen/__init__.py", line 46, in __init__ File "/usr/lib64/python2.6/subprocess.py", line 632, in __init__ File "/usr/lib64/python2.6/subprocess.py", line 1055, in _get_handles OSError: [Errno 24] Too many open files Thread-19::ERROR::2013-05-09 09:02:15,702::domainMonitor::208::Storage.DomainMonitorThread::(_monitorDomain) Error while collecting domain 3a570ac5-8814-4255-9834-e45d14939007 monitoring information Traceback (most recent call last): File "/usr/share/vdsm/storage/domainMonitor.py", line 186, in _monitorDomain File "/usr/share/vdsm/storage/sdc.py", line 49, in __getattr__ File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain File "/usr/share/vdsm/storage/sdc.py", line 121, in _realProduce File "/usr/share/vdsm/storage/sdc.py", line 152, in _findDomain StorageDomainDoesNotExist: Storage domain does not exist: ('3a570ac5-8814-4255-9834-e45d14939007',) < br>
vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
vdsm-devel@lists.fedorahosted.org