Hi,
I am testing federated gateways asynchronization with one region and two
zones. After several files synchronized completed, I found some error messages
was appeared in the log file.
It told me that 'Too many open files' when connected to secondary zone. I have
modified the parameters of system files:
(1) at /etc/sysctl.conf add:
fs.file-max=131072
and then 'sudo sysctl -p'
(2) at /usr/include/linux/limits.h change:
NR_OPEN = 65536
(3) at /etc/security/limits.conf add:
* soft nofile 65535
* hard nofile 65535
But these seem not work. Any help would be much appreciated.
-----------------------------------------------------
Wed, 11 Nov 2015 09:37:26 GMT
/admin/replica_log
2015-11-11 17:37:30,220 14491 [boto][DEBUG ] Signature:
AWS west_access_key:SnkgYfieKNQzQwK9Iwy0B9/YxKs=
2015-11-11 17:37:30,220 14491 [boto][DEBUG ] encountered error exception,
reconnecting
2015-11-11 17:37:30,220 14491 [boto][DEBUG ] establishing HTTP connection:
kwargs={'port': 80, 'timeout': 70}
2015-11-11 17:37:35,331 14491 [radosgw_agent.sync][WARNING] error preparing for
sync, will retry. Traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/radosgw_agent/sync.py", line 30, in
prepare_sync
File "/usr/lib/python2.7/dist-packages/radosgw_agent/sync.py", line 213, in
prepare
File "/usr/lib/python2.7/dist-packages/radosgw_agent/sync.py", line 179, in
get_worker_bound
File "/usr/lib/python2.7/dist-packages/radosgw_agent/client.py", line 521, in
get_worker_bound
File "/usr/lib/python2.7/dist-packages/radosgw_agent/client.py", line 207, in
request
NetworkError: unable to connect to node1-west.ceph.com [Errno 24] Too many open
files
2015-11-11 17:37:45,340 14491 [boto][DEBUG ] path=/admin/replica_log?bounds
2015-11-11 17:37:45,340 14491 [boto][DEBUG ] auth_path=/admin/replica_log?bounds
2015-11-11 17:37:45,341 14491 [boto][DEBUG ] StringToSign:
GET
-----------------------------------------------------
Best Regards,
wdhwang
---------------------------------------------------------------------------------------------------------------------------------------------------------------
This email contains confidential or legally privileged information and is for
the sole use of its intended recipient.
Any unauthorized review, use, copying or distribution of this email or the
content of this email is strictly prohibited.
If you are not the intended recipient, you may reply to the sender and should
delete this e-mail immediately.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com