ganesha debus server thread hang after creating 20K nfs shares
by bbjjffmcxs@outlook.com
Dear maintainer,
Does ganesha have a limit on the number of nfs share?
Recently I attempted to create 50 thousand nfs shares and it turned out the debus server thread got stuck after creating about 20K shares.
Also the commad “ganesha_mgr show exports” got no reponse and finally timed out. See the below detailed result.
[cid:image002.png@01D7F9BB.0A8A8610]
Could you please help take a took and give your valuable advice?
Thanks a lot.
Attahed the backtrace below.
--------------env-----------
NFS-Ganesha Release = V3.5
[cid:image005.png@01D7F9BB.0A8A8610]
------------------Backtrace-----------
#0 0x00007ff0425ed7f4 in __strcasecmp_l_avx () from /lib64/libc.so.6
#1 0x00007ff044dcaabd in save_token (token=0x7ff00d5f0262 "No_Root_Squash", esc=false, st=0x7ff0203befd0) at /usr/src/debug/nfs-ganesha-3.5/config_parsing/analyse.c:60
#2 0x00007ff044dd4214 in ganeshun_yylex (yylval_param=0x7ff0203bef20, yylloc_param=0x7ff0203bef00, yyscanner=0x7ff008874080) at /usr/src/debug/nfs-ganesha-3.5/config_parsing/conf_lex.l:364
#3 0x00007ff044dd1daf in ganesha_yylex (yylval_param=0x7ff0203bef20, yylloc_param=0x7ff0203bef00, st=0x7ff0203befd0) at /usr/src/debug/nfs-ganesha-3.5/config_parsing/conf_yacc.y:520
#4 0x00007ff044dd09c5 in ganesha_yyparse (st=0x7ff0203befd0) at /usr/src/debug/nfs-ganesha-3.5/config_parsing/conf_yacc.c:1407
#5 0x00007ff044dcb6cc in config_ParseFile (file_path=0x7ff0091260b4 "/etc/ganesha/ganesha.conf", err_type=0x7ff0203bf0d0) at /usr/src/debug/nfs-ganesha-3.5/config_parsing/config_parsing.c:60
#6 0x00007ff044e4f803 in gsh_export_addexport (args=0x7ff0203bf1a0, reply=0x7ff008874200, error=0x7ff0203bf1f0) at /usr/src/debug/nfs-ganesha-3.5/support/export_mgr.c:1057
#7 0x00007ff044ee360a in dbus_message_entrypoint (conn=0x7ff03f4d9580, msg=0x7ff0088742c0, user_data=0x7ff04518dd10 <export_interfaces>) at /usr/src/debug/nfs-ganesha-3.5/dbus/dbus_server.c:574
#8 0x00007ff0446d6466 in _dbus_object_tree_dispatch_and_unlock () from /lib64/libdbus-1.so.3
#9 0x00007ff0446c7d19 in dbus_connection_dispatch () from /lib64/libdbus-1.so.3
#10 0x00007ff0446c8032 in _dbus_connection_read_write_dispatch () from /lib64/libdbus-1.so.3
#110x00007ff044ee42b5 in gsh_dbus_thread (arg=0x0) at /usr/src/debug/nfs-ganesha-3.5/dbus/dbus_server.c:810
#12 0x00007ff042ea4ea5 in start_thread () from /lib64/libpthread.so.0
#13 0x00007ff0425a396d in clone () from /lib64/libc.so.6
从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送