https://bugzilla.novell.com/show_bug.cgi?id=782060 https://bugzilla.novell.com/show_bug.cgi?id=782060#c0 Summary: ntpq is very slow Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bwiedemann@suse.com QAContact: qa-bugs@suse.de CC: varkoly@suse.com Found By: Development Blocker: --- # time ntpq -pn remote refid st t when poll reach delay offset jitter ============================================================================== 127.127.1.0 .LOCL. 10 l 54m 64 0 0.000 0.000 0.000 *5.9.55.149 130.133.1.10 2 u 162 256 377 4.528 0.075 1.051 -176.28.8.111 187.95.28.233 3 u 64 256 377 13.549 -11.302 1.331 +38.229.71.1 172.16.32.4 2 u 137 256 377 117.416 1.492 2.391 +199.167.198.163 128.4.1.1 2 u 141 256 377 94.616 -2.757 0.575 real 0m0.900s user 0m0.780s sys 0m0.088s strace -o /tmp/ntpq.strace ntpq -pn grep "Active Measurement Protocol" /tmp/ntpq.strace|wc -l 64 So for some reason it is reading /etc/services 64 times. while strace -o /tmp/getent.strace getent services ntp shows that it just reads the file once. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.