https://bugzilla.novell.com/show_bug.cgi?id=238313 Summary: api runs away Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: poeml@novell.com QAContact: adrian@novell.com on a fresh installation, 'osc ls' takes ah extreme amount of time to be handled by the api. % time osc ls openSUSE:Tools osc ls 0.58s user 0.10s system 1% cpu 59.075 total It's a slow machine (300 MHz), but that doesn't seem to fit. top snapshot (ruby processes become more and more, and disappear finally): 7936 lighttpd 25 0 23224 18m 2644 R 13.2 7.4 0:04.15 ruby /srv/www/obs/webclient/public/dispatch.fcgi 7938 lighttpd 25 0 23228 18m 2648 R 13.2 7.4 0:04.21 ruby /srv/www/obs/frontend/public/dispatch.fcgi 7939 lighttpd 25 0 23228 18m 2648 R 13.2 7.4 0:04.20 ruby /srv/www/obs/frontend/public/dispatch.fcgi 7940 lighttpd 25 0 23232 18m 2644 R 13.2 7.4 0:04.10 ruby /srv/www/obs/frontend/public/dispatch.fcgi 7942 lighttpd 25 0 23232 18m 2644 R 13.2 7.4 0:04.22 ruby /srv/www/obs/frontend/public/dispatch.fcgi 7937 lighttpd 25 0 23224 18m 2644 R 11.6 7.4 0:04.16 ruby /srv/www/obs/webclient/public/dispatch.fcgi 7941 lighttpd 25 0 23232 18m 2644 R 11.2 7.4 0:04.14 ruby /srv/www/obs/frontend/public/dispatch.fcgi 7935 lighttpd 25 0 23224 18m 2644 R 9.6 7.4 0:04.19 ruby /srv/www/obs/webclient/public/dispatch.fcgi lighttpd debug log: --------------------------------------- [1] + 7229 running tail -F /var/log/lighttpd/*.log root@zweite-geige ~ # 2007-01-24 18:29:20: (request.c.293) fd: 9 request-len: 110 GET /source HTTP/1.1 Accept-Encoding: identity Host: 127.0.42.2 Connection: close User-Agent: osc/0.9 2007-01-24 18:30:13: (request.c.293) fd: 11 request-len: 153 GET /source HTTP/1.1 Accept-Encoding: identity Host: 127.0.42.2 Connection: close Authorization: Basic QWRtaW46b3BlbnN1c2U= User-Agent: osc/0.9 ==> /var/log/lighttpd/obs-frontend-access.log <== ::ffff:127.0.42.2 127.0.42.2 - [24/Jan/2007:18:30:13 +0100] "GET /source HTTP/1.1" 401 151 "-" "osc/0.9" ::ffff:127.0.42.2 127.0.42.2 - [24/Jan/2007:18:30:17 +0100] "GET /source HTTP/1.1" 200 79 "-" "osc/0.9" --------------------------------------- The second time I do that (after lighttpd was started), it is considerably faster: % time osc ls openSUSE:Tools osc ls 0.55s user 0.10s system 10% cpu 6.356 total To restate this -- it is a 300 MHz machine but this still seem unproportionately slow. -- 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, or are watching someone who is.