launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #06580
Re: [Canonical Wiki] Update of "InformationInfrastructure/OSA/LPIncidentLog" by mbarnett
-
To:
Robert Collins <robertc@xxxxxxxxxxxxxxxxx>
-
From:
John Arbash Meinel <john@xxxxxxxxxxxxxxxxx>
-
Date:
Tue, 01 Mar 2011 20:05:46 +0100
-
Cc:
Launchpad Community Development Team <launchpad-dev@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<AANLkTikQKNbJCzGY8URm4Dn-=rCDtVeQqB65w7bg1Pdm@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3/1/2011 7:18 PM, Robert Collins wrote:
> On Wed, Mar 2, 2011 at 4:19 AM, John Arbash Meinel
> <john@xxxxxxxxxxxxxxxxx> wrote:
>>
>> Do we have a way to find out more information about what was going on
>> when these were restarted? It has been quite some time since loggerhead
>> was crashing this much.
>>
>> Specifically, the last crash on that page was back in December, so about
>> 2-3 months ago. And now it is crashing 2x in 2 days.
>
> Its been hanging [or perhaps just /very slow/ in a regular expression
> in pygments. I've also been seeing very slow performance in previously
> fine code in oops-tools leading to very slow oops rendering. I don't
> have enough data to say that these are/are not related yet. William
> has been debugging this and may have more info.
>
> I agree that its strange that this happened now. AFAIK, though, the
> python re engine is self contained, not a thunk to a C re engine...
> and Python hasn't been changed since we upgraded to lucid (octoberish
> last year).
>
> -Rob
You mean a non-python C regex engine?
>>> import re
>>> x = re.compile('test')
>>> x.match
<built-in method match of _sre.SRE_Pattern object at 0x01D77A40>
So regexes are compiled classes under the covers.
My best guess is that we upgrade pygments, or maybe just exposed it to
specific data files?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEUEARECAAYFAk1tQ4oACgkQJdeBCYSNAAMiZwCY31sLVNHBsTS/7FfjFNQu5OG9
WwCfVYAWVkD0GmTWODwFF9fx2h8vc4g=
=lwdT
-----END PGP SIGNATURE-----
Follow ups
References