Package: tmux
Version: 1.5-2
Severity: normal

strace of the tmux server process shows that it seems to wake up at least twice
a second, and that every 15 seconds it calls uname multiple times and stats
/etc/localtime multiple times.

Note that I've disabled automatic-rename (for which I've seen reports
about periodic polling), and I've set status-right to disable the
default clock.

My current ~/.tmux.conf:

set -g automatic-rename off
set -g set-titles on
set -g set-titles-string "#W"
set -g status-right ""

The strace:

1318155669.201014 epoll_wait(3, {}, 32, 323) = 0
1318155669.524727 epoll_wait(3, {}, 32, 1) = 0
1318155669.526096 epoll_wait(3, {}, 32, 500) = 0
1318155670.026943 epoll_wait(3, {}, 32, 498) = 0
1318155670.525782 epoll_wait(3, {}, 32, 2) = 0
1318155670.528122 epoll_wait(3, {}, 32, 500) = 0
1318155671.028946 epoll_wait(3, {}, 32, 497) = 0
1318155671.526771 epoll_wait(3, {}, 32, 3) = 0
1318155671.530094 epoll_wait(3, {}, 32, 500) = 0
1318155672.030939 epoll_wait(3, {}, 32, 496) = 0
1318155672.527772 epoll_wait(3, {}, 32, 4) = 0
1318155672.532160 epoll_wait(3, {}, 32, 500) = 0
1318155673.032986 epoll_wait(3, {}, 32, 495) = 0
1318155673.528811 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155673.529182 uname({sys="Linux", node="leaf", ...}) = 0
1318155673.529585 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155673.529780 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155673.530037 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155673.530224 uname({sys="Linux", node="leaf", ...}) = 0
1318155673.530439 epoll_wait(3, {}, 32, 3) = 0
1318155673.533612 epoll_wait(3, {}, 32, 500) = 0
1318155674.034292 epoll_wait(3, {}, 32, 495) = 0
1318155674.530008 epoll_wait(3, {}, 32, 5) = 0
1318155674.535257 epoll_wait(3, {}, 32, 500) = 0
1318155675.035964 epoll_wait(3, {}, 32, 495) = 0
1318155675.531652 epoll_wait(3, {}, 32, 5) = 0
1318155675.536901 epoll_wait(3, {}, 32, 500) = 0
1318155676.037591 epoll_wait(3, {}, 32, 495) = 0
1318155676.533279 epoll_wait(3, {}, 32, 5) = 0
1318155676.538530 epoll_wait(3, {}, 32, 500) = 0
1318155677.039227 epoll_wait(3, {}, 32, 495) = 0
1318155677.534915 epoll_wait(3, {}, 32, 5) = 0
1318155677.540162 epoll_wait(3, {}, 32, 500) = 0
1318155678.040856 epoll_wait(3, {}, 32, 495) = 0
1318155678.536541 epoll_wait(3, {}, 32, 5) = 0
1318155678.541783 epoll_wait(3, {}, 32, 500) = 0
1318155679.042472 epoll_wait(3, {}, 32, 495) = 0
1318155679.538159 epoll_wait(3, {}, 32, 5) = 0
1318155679.543413 epoll_wait(3, {}, 32, 500) = 0
1318155680.044100 epoll_wait(3, {}, 32, 495) = 0
1318155680.539787 epoll_wait(3, {}, 32, 5) = 0
1318155680.545044 epoll_wait(3, {}, 32, 500) = 0
1318155681.045731 epoll_wait(3, {}, 32, 495) = 0
1318155681.541404 epoll_wait(3, {}, 32, 5) = 0
1318155681.546652 epoll_wait(3, {}, 32, 500) = 0
1318155682.047346 epoll_wait(3, {}, 32, 495) = 0
1318155682.543032 epoll_wait(3, {}, 32, 5) = 0
1318155682.548283 epoll_wait(3, {}, 32, 500) = 0
1318155683.048977 epoll_wait(3, {}, 32, 495) = 0
1318155683.544664 epoll_wait(3, {}, 32, 5) = 0
1318155683.549973 epoll_wait(3, {}, 32, 500) = 0
1318155684.050688 epoll_wait(3, {}, 32, 494) = 0
1318155684.545380 epoll_wait(3, {}, 32, 6) = 0
1318155684.551635 epoll_wait(3, {}, 32, 500) = 0
1318155685.052333 epoll_wait(3, {}, 32, 494) = 0
1318155685.547025 epoll_wait(3, {}, 32, 6) = 0
1318155685.553270 epoll_wait(3, {}, 32, 500) = 0
1318155686.053998 epoll_wait(3, {}, 32, 494) = 0
1318155686.548683 epoll_wait(3, {}, 32, 6) = 0
1318155686.554934 epoll_wait(3, {}, 32, 500) = 0
1318155687.055634 epoll_wait(3, {}, 32, 494) = 0
1318155687.550332 epoll_wait(3, {}, 32, 6) = 0
1318155687.556580 epoll_wait(3, {}, 32, 500) = 0
1318155688.057268 epoll_wait(3, {}, 32, 494) = 0
1318155688.551961 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155688.552171 uname({sys="Linux", node="leaf", ...}) = 0
1318155688.552419 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155688.552590 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155688.552762 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2819, 
...}) = 0
1318155688.552917 uname({sys="Linux", node="leaf", ...}) = 0
1318155688.553111 epoll_wait(3, {}, 32, 5) = 0
1318155688.558357 epoll_wait(3, {}, 32, 500) = 0

(The calls to epoll_wait with very short timeouts seem somewhat problematic as
well, but I'd prefer to eliminate the periodic wakeups entirely.)

- Josh Triplett

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tmux depends on:
ii  libc6           2.13-21         
ii  libevent-1.4-2  1.4.14b-stable-1
ii  libncurses5     5.9-2           

tmux recommends no packages.

tmux suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to