[feisty] Slow gnome application startup due to /etc/hosts misconfiguration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Medium
|
Unassigned | ||
gnome-desktop (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
hostname (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
System Info: Dell Inspiron 510m, Intel Pentium M processor 1500MHz, 256mb ram, Feisty with latest updates.
Having used Feisty as my primary desktop, I noticed that applications take some time to load, even when another instance is already open; for example, gnome-terminal would take 5-10 seconds to load a new window even if another is already open, and without significant application load. Having done some research*, I modified /etc/hosts, changing this line:
127.0.0.1 localhost
to this ('inspiron' being my hostname):
127.0.0.1 localhost inspiron
After this little modification, most gnome applications seem to load much faster and persist in cache longer, so opening another gnome-terminal take usually ~1sec rather than 10 seconds, and other application follow the same pattern.
Steps to reproduce (best noticed with ~256mb ram):
1. On an unmodified Feisty installation, open a gnome-terminal, firefox, totem.
2. Do some moderate browsing to increase firefox memory usage.
3. Open another instance of gnome-terminal & totem, noticing application startup.
4. Edit /etc/hosts as above, repeat steps 1-3.
After this little tweak, applications seem to open much faster and share the system cache more efficiently (with less disk thrashing noticeable). Even my second system (using 1gig of ram) works more efficiently. This issue should be fixed before Feisty's release.
*See here: http://
Also reported on Ubuntu Forums, user experiences of tweak and explanation can be seen here: http://
description: | updated |
Changed in gnome-session: | |
status: | Rejected → Confirmed |
Changed in hostname: | |
assignee: | mjunx → nobody |
Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.
That's similar to bug #26419, the system expects the lo interface being correctly configured