nscd seems to cause network hangs

nscd seems to cause network hangs

Post by Brian C Hi » Thu, 02 Aug 2001 10:36:57



        nscd very occasioannally gets into a state where new
inbound connections to the system in question hang (presumably on IP
lookups). The problem goes away after 10-20 minutes or with a restart
of nscd.  I have installed the latest nscd patch. What is causing
this? I know I can shut off the hosts part of nscd, but I would
rather understand what's causing the occasional*.

        Thanks for any ideas!

--
   _____________________________________________________________________

  | Unix Specialist     BCH Technical Services  http://www.veryComputer.com/       |

 
 
 

1. logging to NFS-mounted files seems to cause hangs when NFS dies


Why not just log to the syslog daemon on another machine.  Logging to NFS
does not help you in this case.

Well, it seems obvious, doesn't it?  If the network connection is lost, then
you can't very well write to the Network File System, can you?  One of the
features of NFS is that if the network dies, or the server is lost, then
the client does not lose any data that was being written to the NFS mount.

This is entirely a syslog problem, if you want to do it that way.  The NFS
code is working as expected, and will not be changed.  You might have to
multi-thread syslog to get it to do what you want, but in the end you are
better off just using the network logging feature and write the logs at
the server directly.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Microsoft propaganda

3. Solaris 9: nscd and nscd.conf - High cpu use.

4. Network card probing pblm

5. nscd and nscd.conf

6. Installing SUSE 7.1 on a ADAPTEC 3200S

7. linux network window size defragment cause netscape to hang?

8. sendmail hangin on boot....

9. aha0 causes network hang

10. Anwser: Possible causes to crashes caused by network (3c509)

11. Portserver seems to have caused strange problems

12. select seems to hang on a tcp socket

13. Why do stale NFS file handles seem to hang systems?