You are not logged in.
For some reason transmission-gtk startups very slowly. It takes 11 seconds to launch the program. All packages are up to date. I have XFCE. When I run transmission-gtk from terminal, no errors shows. Where might be the problem ?
Offline
Does it need access to a disk that puts itself to sleep when idle?
You can try strace to see what's going on when you launch it.
Offline
Does it need access to a disk that puts itself to sleep when idle?
Nope. Only local hard drive is used, which is constantly on.
[lukasz@lukasz-dell Desktop]$ strace -c transmission-gtk
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
59.11 0.026518 37 708 poll
22.29 0.009999 159 63 nanosleep
16.19 0.007263 15 476 getdents64
0.62 0.000276 0 1163 close
0.42 0.000190 0 3455 2132 stat64
0.33 0.000150 0 1453 294 open
0.31 0.000138 1 240 writev
0.26 0.000115 0 1598 gettimeofday
0.23 0.000103 0 2828 734 read
0.17 0.000077 11 7 write
0.08 0.000035 0 890 fstat64
0.00 0.000000 0 1 execve
0.00 0.000000 0 3 time
0.00 0.000000 0 82 35 access
0.00 0.000000 0 1 pipe
0.00 0.000000 0 53 brk
0.00 0.000000 0 28 munmap
0.00 0.000000 0 3 clone
0.00 0.000000 0 9 uname
0.00 0.000000 0 54 mprotect
0.00 0.000000 0 4 _llseek
0.00 0.000000 0 2 getdents
0.00 0.000000 0 1 sched_getparam
0.00 0.000000 0 1 sched_getscheduler
0.00 0.000000 0 4 sched_get_priority_max
0.00 0.000000 0 3 sched_get_priority_min
0.00 0.000000 0 7 1 rt_sigaction
0.00 0.000000 0 1 rt_sigprocmask
0.00 0.000000 0 1 getrlimit
0.00 0.000000 0 215 mmap2
0.00 0.000000 0 35 lstat64
0.00 0.000000 0 3 getuid32
0.00 0.000000 0 3 geteuid32
0.00 0.000000 0 2 getegid32
0.00 0.000000 0 1 getresuid32
0.00 0.000000 0 1 getresgid32
0.00 0.000000 0 11 fcntl64
0.00 0.000000 0 27 2 futex
0.00 0.000000 0 1 set_thread_area
0.00 0.000000 0 1 set_tid_address
0.00 0.000000 0 518 clock_gettime
0.00 0.000000 0 1 clock_getres
0.00 0.000000 0 2 fadvise64_64
0.00 0.000000 0 1 set_robust_list
0.00 0.000000 0 4 eventfd2
0.00 0.000000 0 5 socket
0.00 0.000000 0 5 2 connect
0.00 0.000000 0 2 getsockname
0.00 0.000000 0 1 getpeername
0.00 0.000000 0 8 send
0.00 0.000000 0 3 recv
0.00 0.000000 0 3 sendmsg
0.00 0.000000 0 4 2 recvmsg
0.00 0.000000 0 2 shmat
0.00 0.000000 0 2 shmget
0.00 0.000000 0 2 shmctl
------ ----------- ----------- --------- --------- ----------------
100.00 0.044864 14002 3202 total
Offline
is dbus started?
Give what you have. To someone, it may be better than you dare to think.
Offline
Yes, up and running.
Offline
Same issue here. Dbus running using local drive without idling. I can not recall same issue on Ubuntu when i was using it a year ago.
Last edited by Shark (2011-11-06 20:15:35)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
However Transmission-qt starts up like a charm. Maybe it is gtk related problem ?
Offline
OP, have you configured Transmission to use any kind of blocklist? Doing so can significantly increase startup time.
Since you how you mentioned that you think it could be GTK related, does changing GTK theme help at all?
Last edited by b4data (2011-11-06 19:08:12)
Offline
is your hostname mapped correctly in /etc/hosts ?
Give what you have. To someone, it may be better than you dare to think.
Offline
No, it doesn't help at all. Changing theme doesn't solve the problem. Also, I haven't configured transmission to any kind of blocklist.
[lukasz@lukasz-dell ~]$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost lukasz-dell
::1 localhost.localdomain localhost
# End of file
[lukasz@lukasz-dell ~]$ cat /etc/rc.conf |grep HOSTNAME
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="lukasz-dell"
Last edited by lgolebio (2011-11-06 19:10:59)
Offline
I have xfce too, and i'm having this problem too...very slow startup, something like 11-12 seconds!
and obviously etc/hosts is well mapped!
Offline
I think it is a bug, i suppose. If you have a transmission with kde this problem doesn't appear.
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
nice to hear, so waiting for a fix!
Thanks for your feedback
Offline
Uhm i tried on gnome 3.4 on my other laptop, and that problem is away...so, i think the bug is related with xfce and transmission-gtk, not only transmission.
Offline
I only use Openbox without a DE, but everything about transmission-gtk is sluggish: starting up, opening the Preferences window, scrolling the file list in the Properties window. I was surprised to see that the Qt version is much faster.
Offline
I tried on my home pc (gnome 3.6 + arch , testing enabled) and it takes may be a second to start.
On my xfce netbook, it takes again 11seconds to start, and i don't know why. Luckily it is not sluggish as you said; it works very well, except for the slow startup.
I can't understand what is the cause.
There is a thread I opened months ago about this bug ( ? ) in the transmission forum : https://forum.transmissionbt.com/viewto … =9&t=13351 .
May be. give your feedback there to make the thread live again, because nobody noticed it
Last edited by nierro (2012-11-04 09:34:09)
Offline
Ah, I've ditched it for the Qt version. I would not like to register at another forum, trying to find a solution in vain. Part of the reason it's sluggish for me is that as GTK+ 3 “progresses”, it seems to perform worse and worse on my plain old P4 + Radeon 9550 combo. However, it does not explain the slow startup (and the ridiculous delay before the Preferences window opens). Looking at the output of strace, I could see that at one point something kept calling nanosleep() lots of times, resulting in a delay of about 7-8 seconds. What does it and why is beyond me. Anyway, it's not my problem now.
Last edited by ma (2012-11-04 15:22:30)
Offline