very slow start of mc (4.6.0) on FreeBSD5.1-Release

Michal Szwaczko mikey at wirelabs.lublin.pl
Wed Jul 2 17:10:17 UTC 2003


On Wed, Jul 02, 2003 at 10:58:07AM +0200, Oliver Hoffmann wrote:
> Hi developers!
> 
> I just installed FreeBSD5.1-Release and I wonder why it takes 35s on my 
> Athlon1000-system to start the program. Similar boxes with FreeBSD4.8 or 
> Debian 3.0 have a startup time of less than 2s.
> Even mc -V takes ages.
> What's wrong?
> Thanks for hints. Maybe I could help you as well.

Your DNS is not configured or not responding. 
mc does gethostbyname() on startup IIRC. 
Check your /etc/resolv.conf 

Try to do netstat -a or anything that resolves hostnames 
If it freezes - it's your DNS configuration's fault. 
mc is no exception as it uses gethostbyname().

Anyway, it's for mc-users rather than mc-devel, try there ... 

HTH

-- 
[ Michał 'Mikey' Szwaczko  | GPG Key#:0x653CBD53 ]
[ Developer/Troubleshooter | GNU Generation Now! ]
[ Warez? Get'em at 127.0.0.1                     ]



More information about the mc-devel mailing list