Date: Sat, 21 Mar 1998 23:53:03 +0900 From: Jun Kuriyama <kuriyama@opt.phys.waseda.ac.jp> To: Wolfram Schneider <wosch@cs.tu-berlin.de> Cc: freebsd-doc@FreeBSD.ORG, GNATS Meister <steve@FreeBSD.ORG> Subject: Re: Slow query-pr-summary.cgi script Message-ID: <3513D44F.A6AE072F@opt.phys.waseda.ac.jp> References: <19980320144241.49293@malaria.cs.tu-berlin.de>
index | next in thread | previous in thread | raw e-mail
Wolfram Schneider wrote:
> query-pr-summary.cgi run 13-20 seconds for a simple request. This is
> terrible slow. Sometimes it needs 150 (!!) seconds.
I felt this delay from when I used it for the first time (about 1 year
ago). I think this delay is normal operation period because hub (aka
www) sometimes takes heavy loads and ${gnats-adm}/index has over 6000
PRs and 400KB of size.
To avoid this (I think) :
1) caching result of standard queries.
2) optimize search routine in query-pr.
3) clear PRs and start from PR #1 :-)
Or does this delay occur suddenly?
> wosch@hub <10:14:54> [~]
> /usr/bin/time lynx -source http://www.freebsd.org/cgi/query-pr-summary.cgi >/dev
> /null
> 18.06 real 0.02 user 0.03 sys
>
> wosch@hub <10:40:36> [~] 514
> bash$ /usr/bin/time lynx -source http://www.freebsd.org/cgi/query-pr-summary.cgi
> >/dev/null
> 39.62 real 0.05 user 0.03 sys
--
Jun Kuriyama // kuriyama@opt.phys.waseda.ac.jp
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3513D44F.A6AE072F>
