Re: Suspending postgresql during heavy load

From: The Doctor <doctor(at)doctor(dot)nl2k(dot)ab(dot)ca>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Suspending postgresql during heavy load
Date: 2014-10-07 16:31:24
Message-ID: 20141007163123.GA12243@doctor.nl2k.ab.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Oct 07, 2014 at 09:17:47AM -0600, Scott Marlowe wrote:
> On Tue, Oct 7, 2014 at 9:07 AM, The Doctor <doctor(at)doctor(dot)nl2k(dot)ab(dot)ca> wrote:
> > Question is their a way to suspend PostGres during a heavy average load
> > session?
> >
> > I would like to suspend Postgresql transaction on a load average higher
> > then a load average of 5.
>
> So you just want to stop the db under heavy load? I'm not sure what
> you're asking here. PostgreSQL is designed around a transactional
> model, it can't just be shut off at your convenience.
>
> OTOH you might want to look at how you're using it and what kind of
> hardware you're using and if you need to upgrade it.

In this case PostGresQL 9.3.5 taking on brute force attacks from
Blog Spammers using Serendity .

I have yused mod_limits to limit the damage from the brute force
wep spam attack, but this is turing the web server off for about 120 s and I would like
to turn away these pests forver.

--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Truth is a gaffe to liars. -unknown

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message John Scalia 2014-10-07 17:32:14 Error messages in a hot standby server's logfiles
Previous Message Scott Marlowe 2014-10-07 15:17:47 Re: Suspending postgresql during heavy load