| Summary: | gorg is very slow for frontpage: maybe not using cached XML files | ||
|---|---|---|---|
| Product: | Websites | Reporter: | Robin Johnson <robbat2> |
| Component: | Other | Assignee: | Gentoo Infrastructure <infra-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | a3li |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 289391 | ||
| Bug Blocks: | |||
|
Description
Robin Johnson
2009-10-16 09:45:28 UTC
$ ssh www-auklet.gentoo.org
Any or all uses of this system and all files on this system may be
intercepted, monitored, recorded, copied, audited, inspected, and
disclosed to authorized site personnel, as well as authorized officials
of federal law enforcement agencies, both domestic and foreign. By
using this system, the user consents to such interception, monitoring,
recording, copying, auditing, inspection, and disclosure at the
discretion of authorized site personnel. Use of this system constitutes
consent to security monitoring and testing. All activity is logged with
your host name and IP address. Unauthorized or improper use of this
system may result in civil and criminal penalties. By continuing to use
this system you indicate your awareness of and consent to these terms
and conditions of use. -- Gentoo Linux Infrastructure Admins
LOG OFF IMMEDIATELY,
If you do not agree to the conditions stated in this warning.
Permission denied (publickey).
You don't have accounts on any of the web nodes. Looks like it was removed in early 2008. I'm re-adding them now. Please be aware that most of /etc is under cfengine control on the new machines. If you need to change something long-term, please tell me it, so that I can change it in the master copy. Looks like all caching is disabled because of the missing debug.xml file The front page is slower because it has more to do. Create an empty debug.xml containing just <debug/> in the doc root for a quick test or temp fix. I do not want it on our web node or in CVS as it's not meant to be used on www.g.o BTW, /etc/xml/catalog needs to be edited. The one on wren & loon is OK. without this, files that source external resources (http://www.gentoo.org/dtd/... is common) will not be cached. Yup, adding the debug.xml file on disk cuts the time way down as the caching kicks in:
auklet, with debug.xml existing, rendering /:
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.6 0 6
Processing: 49 114 76.2 94 675
Waiting: 44 110 76.7 89 674
Total: 49 114 76.2 94 675
and /main/en/about.xml:
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.6 0 8
Processing: 21 34 14.4 34 98
Waiting: 20 32 14.2 33 96
Total: 21 34 14.4 34 98
So why does gorg need debug.xml to exist for the caching to work? Can we please get gorg fixed?
> BTW, /etc/xml/catalog needs to be edited. The one on wren & loon is OK.
I've added the XML catalog to cfengine.
(In reply to comment #4) > So why does gorg need debug.xml to exist for the caching to work? Gorg doesn't really. It's just that a missing file triggers a cache miss and it shouldn't. > Can we please get gorg fixed? Yes, we can! See bug #289391 I've done my part. Updating gorg on server is all it takes. No extra action is required. Gorg deployed via cfengine. loon and wren removed from rotation for now. oops, closing. |