[cvsnt] lock service eating resources
Arkadiusz Miskiewicz
arekm at maven.pl
Sun Feb 8 18:54:43 GMT 2009
Looks like cvslockd does really weird things. It selects with very low timeout
(~1s) which renders 1-1.5% cpu usage all the time on my notebook.
Is there any reason for this timeout to be so low?
cvsnt 2.5.04.3236 on linux
-- [pid 3784] recvmsg(5, 0xb7c6ce98, 0) = -1 EAGAIN (Resource temporarily
unavailable)
[pid 3784] gettimeofday({1234119128, 724750}, NULL) = 0
[pid 3784] select(6, [5], NULL, NULL, {0, 893}) = 0 (Timeout)
[pid 3784] nanosleep({0, 10000}, NULL) = 0
[pid 3784] gettimeofday({1234119128, 738776}, NULL) = 0
[pid 3784] recvmsg(5, 0xb7c6ce98, 0) = -1 EAGAIN (Resource temporarily
unavailable)
[pid 3784] gettimeofday({1234119128, 738893}, NULL) = 0
[pid 3784] select(6, [5], NULL, NULL, {0, 883}) = 0 (Timeout)
[pid 3784] nanosleep({0, 10000}, NULL) = 0
[pid 3784] gettimeofday({1234119128, 740092}, NULL) = 0
[pid 3784] recvmsg(5, 0xb7c6ce98, 0) = -1 EAGAIN (Resource temporarily
unavailable)
[pid 3784] gettimeofday({1234119128, 740201}, NULL) = 0
[pid 3784] select(6, [5], NULL, NULL, {0, 891}) = 0 (Timeout)
[pid 3784] nanosleep({0, 10000}, NULL) = 0
[pid 3784] gettimeofday({1234119128, 741365}, NULL) = 0
[pid 3784] recvmsg(5, 0xb7c6ce98, 0) = -1 EAGAIN (Resource temporarily
unavailable)
[pid 3784] gettimeofday({1234119128, 741477}, NULL) = 0
[pid 3784] select(6, [5], NULL, NULL, {0, 888}) = 0 (Timeout)
[pid 3784] nanosleep({0, 10000}, NULL) = 0
[pid 3784] gettimeofday({1234119128, 742667}, NULL) = 0
[pid 3784] recvmsg(5, 0xb7c6ce98, 0) = -1 EAGAIN (Resource temporarily
unavailable)
[pid 3784] gettimeofday({1234119128, 742776}, NULL) = 0
[pid 3784] select(6, [5], NULL, NULL, {0, 891}) = 0 (Timeout)
[pid 3784] nanosleep({0, 10000}, NULL) = 0
[pid 3784] gettimeofday({1234119128, 743982}, NULL) = 0
[pid 3784] recvmsg(5, 0xb7c6ce98, 0) = -1 EAGAIN (Resource temporarily
unavailable)
[pid 3784] gettimeofday({1234119128, 744090}, NULL) = 0
[pid 3784] select(6, [5], NULL, NULL, {0, 892}) = 0 (Timeout)
[pid 3784] nanosleep({0, 10000}, NULL) = 0
[pid 3784] gettimeofday({1234119128, 745295}, NULL) = 0
[pid 3784] recvmsg(5, 0xb7c6ce98, 0) = -1 EAGAIN (Resource temporarily
unavailable)
[...]
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
More information about the cvsnt
mailing list