Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm experiencing a severe performance problem starting apps but only when connected to my office VPN. It appears to be related to gnome-session.

I believe the following is the relevant strace from simply starting gnome-terminal (but it's a similar trace for all apps i've tried). And if i understand this trace, the last line i included shows it taking 20 seconds to read /tmp/.ICE-unix/4108. If i'm correct, how can i determine exactly why that is taking so long?

$ grep -v -B 1000 '^\ *0' terminal.trc | egrep 'open|\(10'

 0.000103 connect(10, {sa_family=AF_FILE, path="/tmp/.ICE-unix/4108"...}, 21) = 0
 0.000134 fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
 0.000023 write(10, "\0\1\0\0\0\0\0\0", 8) = 8
 0.000051 read(10, "\0\1\0\0\0\0\0\0", 8) = 8
 0.000020 write(10, "\0\2\1\1\6\0\0\0\0\0\0\0\0\0\0\0\3\0MIT\0\0\0\3\0001.0\0\0\0"..., 56) = 56
 0.000085 read(10, "\0\3\0\0\1\0\0\0", 8) = 8
 0.000037 read(10, "\0\0\0\0\0\0\0\0", 8) = 8
 0.000021 write(10, "\0\4\1\1\3\0\0\0\20\0\0\0\0\0\0\0\241%\240.\370\304tl\211\347\343\27\216\0\247\343", 32) = 32
 0.000056 read(10, "\0\6\0\0\2\0\0\0", 8) = 8
 0.000024 read(10, "\3\0MIT\0\0\0\3\0001.0\0\0\0", 16) = 16
 0.000027 fcntl64(10, F_GETFD)      = 0x1 (flags FD_CLOEXEC)
 0.000018 fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
 0.000019 fstat64(10, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
 0.000037 fcntl64(10, F_GETFL)      = 0x2 (flags O_RDWR)
 0.000021 write(10, "\0\7\1\0\7\0\0\0\1\1\0\0\0\0\0\0\4\0XSMPtl\3\0MIT\0\247\343"..., 64) = 64
 0.000051 read(10, "\0\3\0\0\1\0\0\0", 8) = 8
 0.000022 read(10, "\0\0MIT\0\0\0", 8) = 8
 0.000020 write(10, "\0\4\1\0\3\0\0\0\20\0\0\0\0\0\0\0\241%\240.\370\304tl\211\347\343\27\216\0\247\343", 32) = 32
 0.000099 read(10, "\0\10\0\1\3\0\0\0", 8) = 8
 0.000046 read(10, "\7\0GnomeSM\0001.\6\0002.16.0\0\0\0\0", 24) = 24
 0.000035 write(10, "\1\1\1\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
 0.000369 read(10, "\1\2\0\1\6\0\0\0", 8) = 8
20.935982 read(10, "%\0\0\0001075ba94be000127498096700000"..., 48) = 48

$ uname -a

Linux vm 2.6.18-194.3.1.0.2.el5 #1 SMP Wed May 26 10:20:56 EDT 2010 i686 i686 i386 GNU/Linux

$ gnome-session --version

Gnome gnome-session 2.16.0

Thanks

share|improve this question

1 Answer 1

The apps you're starting are local?

If so, I bet that when you're connected to the office VPN it modifies your nameservers. I bet they're timing out on a lookup for a local IP and that's delaying you.

share|improve this answer
    
A network-related problem is highly suspect. I just wasn't sure where to start looking. That's a good theory though. Thanks. –  nicerobot Jun 24 '10 at 13:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.