extremely long start up times

Rikard Johnels rikjoh at norweb.se
Fri Oct 15 07:54:17 BST 2004


On Friday 15 October 2004 07.00, SnapafunFrank wrote:
> koffice at usmstudent.com wrote:
> >On Thursday 14 October 2004 07:53 am, Rikard Johnels wrote:
> >>On Thursday 14 October 2004 05.10, darren wrote:
> >>>I am running KDE 3.2 on Mandrake 10.0 on my laptop.  Everything runs
> >>>normal while I'm at home.  When I'm at school, however, some apps take
> >>> an extraordinary amount of time to start (like 5 minutes).  Once
> >>> started, they seem to operate fine.  Other applications don't suffer
> >>> this same fate.
> >>>
> >>>Examples of applications that start slowly:
> >>> o  Open Office
> >>> o  Kate
> >>> o  Konqueror  *this one isn't consistently bad
> >>>
> >>>Examples of applications that start OK:
> >>> o  Kmail
> >>> o  FireFox
> >>> o  Konsole
> >>> o  Audacity
> >>> o  Skype
> >>>
> >>>The only difference between starting my computer at home and my computer
> >>>at school is that my ethernet is plugged in when starting at home.  My
> >>>internet connection at school is wireless.  It is not started until I
> >>>have fully booted (I start the wireless connection manually).
> >>>
> >>>Any suggestions where to look or how to begin troubleshooting?  Or,
> >>>better yet, anyone recognize this issue.
> >>>
> >>>TIA,
> >>>Darren
> >>>___________________________________________________
> >>>This message is from the kde mailing list.
> >>>Account management:  https://mail.kde.org/mailman/listinfo/kde.
> >>>Archives: http://lists.kde.org/.
> >>>More info: http://www.kde.org/faq.html.
> >>
> >>Sounds like a DNS issue.
> >>Something is looking for a DNS that isnt there.
> >>Do you use DHCP on both locations?
> >
> >Yes.  I use DHCP in both places.  But, I question why Kate (for example)
> > would need to be aware of my Internet connection.
> >
> >My hostname returns:
> > [root at mandrake backdoc]# hostname
> > mandrake
> >
> >My /etc/hosts looks like:
> >
> > [root at mandrake backdoc]# cat /etc/hosts
> > <snipage>
> > 192.168.1.100           mandrake
> >
> >grep'ing for my private IP looks like:
> > [root at mandrake backdoc]# ifconfig |grep 192
> >  inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
> >
> >Darren
> >
> >
> >___________________________________________________
> >This message is from the kde mailing list.
> >Account management:  https://mail.kde.org/mailman/listinfo/kde.
> >Archives: http://lists.kde.org/.
> >More info: http://www.kde.org/faq.html.
>
> I have just had this problem, ( look to the archives here for Re: app
> startup times high ) and I resolved it by getting the /etc/hosts file
> correct.
> Your dosen't appear to have enough in it.
>
> [root at Snapafun frank]# cat /etc/hosts
> 127.0.0.1       localhost.localdomain   localhost
> 127.0.0.1       Snapafun.localdomain    localhost
> 127.0.0.1       www.snapafun.con        Snapafun
> 127.0.0.1       www.snapafun.con        localhost
>
> This is over kill I'ld admit but the point here is that there are three
> arguments, not two.
>
> To tidy mine up the entry within /etc/hosts will appear so:
>
> 127.0.0.1 localhost.localdomain localhost Snapafun.localdomain
> 127.0.0.1 Snapafun www.snapafun.con
>
> ( Thanks Shawn)
>
> [ The *.con part is for webmin local ]
>
> All my stuff is now back to a 5 second startup as opposed to the 38
> second one I was getting before. As you are networked I suspect you will
> have a short delay but nothing like 5 minutes is acceptable.

Mine are: 

rikjoh at sparhawk:~> cat /etc/hosts

127.0.0.1       localhost
192.168.1.2     talen.rikjoh.com www.rikjoh.com ftp.rikjoh.com  talen
192.168.1.3     sparhawk.rikjoh.com     sparhawk
192.168.1.6     cups.rikjoh.com         cups
192.168.1.253   alpha.rikjoh.com        alpha
192.168.1.254   wall.rikjoh.com         wall

rikjoh at sparhawk:~> cat /etc/resolv.conf

domain rikjoh.com
nameserver 65.173.196.10
nameserver 194.218.252.4

And thats plenty for my static IP system at home

The problem is if you still use the same resolv.conf and hosts at school as 
you do at home. Lets say the school network doesn't find the relevant DNS 
servers, it may slow things down. Also if the name given by the school DHCP 
conflicts with your resolv.conf it might slow things down.

I would check the DHCP settings.
Especially
DHCLIENT_SET_HOSTNAME
DHCLIENT_MODIFY_RESOLV_CONF
DHCLIENT_SET_DEFAULT_ROUTE

all in /etc/sysconfig/network/dhcp

also check /etc/sysconfig/network/ifcfg-* to make sure everyting looks ok.




-- 
         /Rikard

------------------------------------------------------------------------------------
Rikard Johnels          email   : rikjoh at norweb.se
                        Web     : http://www.rikjoh.com
                        Mob     : +46 735 05 51 01

------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 >
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list