• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

mc stalls on startup

balanga

Daemon

Thanks: 69
Messages: 2,074

#1
Midnight commander misc/mc is probably my most used program and from time to time it appears to stall on startup, ie it seems to take a minute or two to start. Normally it starts up instantly.

Has anyone else ever come across this and knows why it happens?
 

ondra_knezour

Aspiring Daemon

Thanks: 184
Messages: 747

#2
Yes, many times over ssh, when something tries to resolve hostname for an IP address from which I am connected. Because there is no PTR record for such address in most cases and this stall appears only from time to time I suppose that it is something broken with DNS resolving on given target machine - underlying resolver doesn't return NO RECORD immediately, but tries to find it somewhere to no avail until timeout. Usually regular DNS queries for for example A or CNAME records work just fine - ping some-well-known-domain.com works as expected.
 

ShelLuser

Son of Beastie

Thanks: 1,279
Messages: 2,707

#3
This usually indicates a DNS resolving problem somewhere. I've had it happen on hosts where there was no entry for 127.0.0.1 in /etc/hosts for example.
 
Top