sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
Hello! Your friendly neighbourhood Dreamhack admin here.

I've updated the version of Locale::Country that the Dreamhack machine uses - we were on 3.25, and we're now on 3.42.

I also installed the Log::Log4perl module, as it's now being used by the codebase. This should make update-db.pl work again!

If there are any issues (related to these or otherwise), please comment and let me know!
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
I have just installed Template Toolkit 2.26 on the Dreamhack machine. We were previously using 2.20, which is still installed but in such a way that the later version should take precedence.

As this is a core module for Dreamwidth, it's recommended that you restart Apache when possible. Things won't break just yet if you don't (since the old files aren't gone just yet), but according to my sources, the Dreamwidth codebase will require this new version of Template Toolkit soon, so things may break in the future.

As always, if anything breaks on the Dreamhack machine because of this change, please comment to let me know, or open a GitHub issue.

[edit 2014-12-07: Fix a typo.]
alierak: (Default)
[personal profile] alierak
Anyone remember when we deployed some servers with Perl 5.10.0 and saw all sorts of problems with memory usage due to a memory leak in map? I ended up drastically reducing the number of requests each Apache process would handle before it exits, [staff profile] mark and I set up various cron jobs that would unceremoniously kill off workers every so often, etc. As we upgraded and phased out older servers, I think it was no longer a problem (e.g., web08 had Perl 5.10.1).

Well, it's looking like there's another Perl memory leak on the newest group of servers. They're running 5.14.2, and things like synsuck and resolve-extacct (really?) are using several gigs of RAM after a few days. I've set up an array of lovely new worker-restarting cron jobs, and I think this is the relevant Perl bug: perl: memory leak in Encode::decode. It is likely that we'll be able to patch this in production.

I guess if you have a choice, just skip to 5.14.4.
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
[staff profile] mark

Hi all,

We're here at OSCON (O'Reilly's Open Source Conference in Portland) with a bunch of the volunteers who work on Dreamwidth. Related to this, we've finally decided to force an upgrade to our Perl base version required.

[personal profile] kareila says it well:

Hello all! A few facts have recently come to our attention:

1) Perl 5.10 has a significant number of new, desirable features over Perl 5.8.

2) Perl 5.10 was released 5 years ago, so it's reasonable to assume most people are using Perl 5.10 or newer in production.

3) We are, in fact, using Perl 5.10 in production.

Therefore, we are planning to start requiring Perl 5.10 as we fix bugs and add new features in the future. If you are running a Dreamwidth installation on a version of Perl older than 5.10, now would be an excellent time to consider upgrading.

We are also considering moving to 5.12 or 5.14 soon. We need to do some more investigation and also validate the system on those versions. But for now, consider 5.10 as required.

Thanks!

foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
[personal profile] foxfirefey
I've heard some people lately saying they'd like to learn Perl recently, and [personal profile] rb mentioned in IRC that this work-in-progress book is temporarily available for free online:

Beginning Perl (Wrox)

There might be a few errors still to be fixed, but overall it could be a good resource.

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

August 2017

S M T W T F S
  12345
6789101112
1314 1516171819
20212223242526
2728293031  

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 18th, 2017 03:16 am
Powered by Dreamwidth Studios