Bug 408881

Summary: gnome-session slows all app startup after suspend/resume
Product: [Fedora] Fedora Reporter: Jason Merrill <jason>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-03 17:35:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Merrill 2007-12-03 17:17:05 UTC
Description of problem:

After a suspend/resume cycle, startup of X applications becomes much slower; it
takes 15+ seconds to start a program that started up in less than a second
before the suspend.

Version-Release number of selected component (if applicable):

gnome-session-2.20.1-1.fc8

How reproducible:


Steps to Reproduce:
1. Suspend
2. Resume
3. strace xterm (or whatever)
  
Actual results:

strace shows that xterm startup blocks for 15+ seconds trying to read a response
from gnome-session.

Expected results:

No user-noticeable blocking.

Additional info:

I'm currently using a Thinkpad T61, but I noticed the same behavior in Fedora 7
on a Thinkpad T41.

Comment 1 Jason Merrill 2007-12-03 17:28:17 UTC
Adding my hostname to the 127.0.0.1 line in /etc/hosts fixed the slowdown;
apparently it happens because DNS is trying and failing to resolve my hostname.


Comment 2 Jason Merrill 2007-12-03 17:35:50 UTC

*** This bug has been marked as a duplicate of 408921 ***