Ticket #86 (new defect) — at Initial Version
savannah: slow starting of mc
Reported by: | slavazanko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.8.2 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: |
Description
Original: http://savannah.gnu.org/bugs/?24038
Submitted by: | Ies Nijman <nijman> | Submitted on: | Mon 11 Aug 2008 03:21:54 PM UTC |
Category: | Core | Severity: | 3 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Release: | 4.6.2-pre1 | Operating System: | Other |
Discussion:
Thu 18 Dec 2008 11:17:09 AM UTC, comment #9: If this helps: I have some NFS mounted drives but none of them if in one of the mc panes. Sorin Sbarnea <sorin> Thu 18 Dec 2008 10:58:47 AM UTC, comment #8: I would like to add that I have the same problem with version 4.6.1-pre1a and that "options no_tld_query" in resolv.conf does not work (tested even after system restart) Sorin Sbarnea <sorin> Thu 18 Dec 2008 10:48:06 AM UTC, comment #7: I can (re)confirm this problem on RHEL also. The DNS is well configured. There is no delay running "netstat -a" I wasn't able to locate any other program with simmilar behaviour on these machines. Possible hint: some partitions are mounted using NIS. If you are searching on google after "midnight commander slow start" you'll see that a lot of people are encountering this issue. Sorin Sbarnea <sorin> Tue 07 Oct 2008 10:54:29 AM UTC, comment #6: I can confirm the same issue on multiple platform: OS X, Fedora and Ubuntu. It's a real pain and this should be solved inside mc - mc is used as a configuration tools and it's supposed to work even on systems where configuration is not "well done". BTW. The solution with "options no_tld_query" in resolv.conf does not solves the problem in my case. I don't remember exactly but I think it's somewhat related to /etc/hosts Sorin Sbarnea <sorin> Wed 03 Sep 2008 07:29:31 AM UTC, comment #5: I had this problem too Solution is: add "options no_tld_query" in resolv.conf Irakli <ika256> Tue 12 Aug 2008 02:28:09 PM UTC, comment #4: New strace file attached, now with timestamps. It seems to timeout several times on "RESOLVE-HOSTNAME-IPV4" Strange because if I do nslookup with this host name it returns immediately.. (file #16281) Ies Nijman <nijman> Tue 12 Aug 2008 12:43:53 PM UTC, comment #3: Previous results were from MC 4.6.1 (fast starting). Next slow results from MC 4.6.2 and a strace file. Ies Nijman <nijman> Tue 12 Aug 2008 11:26:57 AM UTC, comment #2: Strace output added. Funny thing is that with strace, MC starts up rightaway... (file #16277) Ies Nijman <nijman> Tue 12 Aug 2008 10:07:17 AM UTC, comment #1: you should attach the strace of such a startup. Oswald Buddenhagen <ossi> Mon 11 Aug 2008 03:21:54 PM UTC, original submission: On openSuse 11 starting mc takes a very long time: about 30s. IpV6 is disabled but VMware player is installed and so virtual network devices are present. nslookup and netstat work immidiately so it isn't the gethostbyname issue. A solution would be greatly appreciated.
Change History
Changed 16 years ago by slavazanko
- Attachment 16277-strace_mc.txt added
Note: See
TracTickets for help on using
tickets.
added by nijman