public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] {OT} LWP::UserAgent slows website
Date: Sat, 16 Feb 2013 11:55:41 -0800	[thread overview]
Message-ID: <CAN0CFw3A2Ym7Re8SABZx8vVuvVpET8HOi17V5_jdGSXxka7qrg@mail.gmail.com> (raw)
In-Reply-To: <51194D41.8010508@gmail.com>

>> Now that's a new (and important!) piece of information. Your server
>> runs slow for 10 *minutes* after your script has made its request?
>>
>> To me, that indicates that important data wound up getting swapped to
>> disk on the server, and the slow behavior reported by other users is
>> the result of that data being swapped back in on-demand.
>>
>> That also indicates that your script's requests (and, possibly,
>> request pattern) cause some process in the server to allocate far more
>> memory than usual, which is why the server is swapping things to disk.

OK, thank you for the explanation.  That does make sense.

> I agree. My rule of thumb was always that I must prevent Apache swapping
> at all costs as the performance impact is horrific.
>
> It doesn't have to mean installing more RAM (which is quick, easy, cheap
> and often rather effective), sensible optimizations can work wonders
> too, as can nginx as a proxy in front of Apache.

I've been using net-mail/up-imapproxy but the initscript has issues.
Is nginx good for IMAP too?

- Grant


  reply	other threads:[~2013-02-16 19:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07  1:13 [gentoo-user] {OT} LWP::UserAgent slows website Grant
2013-02-07 16:45 ` Kevin Brandstatter
2013-02-08 22:10   ` Grant
2013-02-09  0:47     ` Michael Mol
2013-02-09  2:39       ` Grant
2013-02-09  2:58         ` Michael Mol
2013-02-09 10:36           ` Adam Carter
2013-02-09 13:51             ` Michael Mol
2013-02-10  2:24               ` Adam Carter
2013-02-10  2:36                 ` Michael Mol
2013-02-10  2:49                   ` Adam Carter
2013-02-10  5:05           ` Grant
2013-02-11  1:53             ` Stroller
2013-02-11 17:45               ` Michael Mol
2013-02-11 17:43             ` Michael Mol
2013-02-11 19:57               ` Alan McKinnon
2013-02-16 19:55                 ` Grant [this message]
2013-02-11 23:07               ` Stroller
2013-02-12  0:04                 ` Michael Mol
2013-02-12  0:26                   ` Peter Humphrey
2013-02-12  1:05                   ` Stroller
2013-02-12  1:19                     ` Michael Mol
2013-02-12  1:39                       ` Stroller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN0CFw3A2Ym7Re8SABZx8vVuvVpET8HOi17V5_jdGSXxka7qrg@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox