I wanted to see what is up with shutdown lately... Running under gdb, I hit a long pause, but shutdown is completing for me, during that pause, these are the active threads:
(gdb) thread apply all bt Thread 276 (Thread 0x7fff6b2fb700 (LWP 5364)): #0 0x00007ffff638027d in nanosleep () from /lib64/libpthread.so.0 #1 0x00007ffff5f4f3dd in work_pool_shutdown (pool=0x7ffff6167ac0 <svc_work_pool>) at /home/ffilz/ganesha/review/src/libntirpc/src/work_pool.c:318 #2 0x00007ffff5f4116d in svc_shutdown (flags=0) at /home/ffilz/ganesha/review/src/libntirpc/src/svc.c:811 #3 0x000000000045a5c8 in do_shutdown () at /home/ffilz/ganesha/review/src/MainNFSD/nfs_admin_thread.c:512 #4 0x000000000045a8b6 in admin_thread (UnusedArg=0x0) at /home/ffilz/ganesha/review/src/MainNFSD/nfs_admin_thread.c:545 #5 0x00007ffff637760a in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff5a48a4d in clone () from /lib64/libc.so.6 Thread 274 (Thread 0x7fff6c2fd700 (LWP 5362)): #0 0x00007ffff637fd9d in accept () from /lib64/libpthread.so.0 #1 0x0000000000458287 in _9p_dispatcher_thread (Arg=0x0) at /home/ffilz/ganesha/review/src/MainNFSD/9p_dispatcher.c:582 #2 0x00007ffff637760a in start_thread () from /lib64/libpthread.so.0 #3 0x00007ffff5a48a4d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7ffff7f0e700 (LWP 5083)): #0 0x00007ffff5a49043 in epoll_wait () from /lib64/libc.so.6 #1 0x00007ffff5f45ce1 in svc_rqst_epoll_loop (sr_rec=0x7ffff2ece8c0) at /home/ffilz/ganesha/review/src/libntirpc/src/svc_rqst.c:893 #2 0x00007ffff5f45e1e in svc_rqst_run_task (wpe=0x7ffff2ece8d0) at /home/ffilz/ganesha/review/src/libntirpc/src/svc_rqst.c:945 #3 0x00007ffff5f4ede1 in work_pool_thread (arg=0x7fffeffd7080) at /home/ffilz/ganesha/review/src/libntirpc/src/work_pool.c:171 #4 0x00007ffff637760a in start_thread () from /lib64/libpthread.so.0 #5 0x00007ffff5a48a4d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7ffff23fe700 (LWP 5077)): #0 0x00007ffff637ceb9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000004fe9cf in fridgethr_freeze (fr=0x7ffff2c44480, thr_ctx=0x7ffff2c13580) at /home/ffilz/ganesha/review/src/support/fridgethr.c:416 #2 0x00000000004ff1f9 in fridgethr_start_routine (arg=0x7ffff2c13580) at /home/ffilz/ganesha/review/src/support/fridgethr.c:554 #3 0x00007ffff637760a in start_thread () from /lib64/libpthread.so.0 #4 0x00007ffff5a48a4d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7ffff2bff700 (LWP 5076)): #0 0x00007ffff637ceb9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00000000004fe9cf in fridgethr_freeze (fr=0x7ffff2c44480, thr_ctx=0x7ffff2c13300) at /home/ffilz/ganesha/review/src/support/fridgethr.c:416 #2 0x00000000004ff1f9 in fridgethr_start_routine (arg=0x7ffff2c13300) at /home/ffilz/ganesha/review/src/support/fridgethr.c:554 #3 0x00007ffff637760a in start_thread () from /lib64/libpthread.so.0 #4 0x00007ffff5a48a4d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ffff7f43140 (LWP 5049)): #0 0x00007ffff63786ad in pthread_join () from /lib64/libpthread.so.0 #1 0x00000000004529f1 in nfs_start (p_start_info=0x7d2ef8 <my_nfs_start_info>) at /home/ffilz/ganesha/review/src/MainNFSD/nfs_init.c:960 #2 0x000000000041d253 in main (argc=8, argv=0x7fffffffe3d8) at /home/ffilz/ganesha/review/src/MainNFSD/nfs_main.c:494 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel