[pgpool-general: 940] Re: pgpool causes high load
benjamin.fras at petafuel.de
Fri Aug 31 17:44:03 JST 2012
it has been a while since I have reported this weird issue. Meanwhile I have realized, that the problem also exists in our test environments.
I have attached a graph which shows the history of the load for the last 25 hours.
Has anyone ever observed such behavior? We just want to figure out if this behavior is normal or if it depends on our configuration.
Thanks in advance
Tel.: +49 (0) 8161 4060 - 222
Geschäftsführer: Ludwig Adam, Dr. Peter Schönweitz
Amtsgericht München, HRB 133773
Von: Tatsuo Ishii [mailto:ishii at postgresql.org]
Gesendet: Montag, 16. Juli 2012 12:12
An: Benjamin Fras
Cc: pgpool-general at pgpool.net
Betreff: Re: [pgpool-general: 739] pgpool causes high load
My guess is this:
The part which handles incoming events has been changed when 3.1 was released. Since then we have had several reports including near infinite loop which consumes CPU a lot. Though the problem reported in above is not similar to yours, I suspect the previous code could cause your problem. Can you try patch (can be downloaded from "patch" link or the latest snapshot of 3.1-stable tree? (can be downloaded from
SRA OSS, Inc. Japan
> Dear list members,
> since we have updated our pgpools to the latest stable version (3.1.3), we have regular peaks of high load on our machines. Every 5 to 10 minutes the server load (average 1 min load) raises up to 50, but then recovers within the next minutes to normal values again. CPU usage and IO wait are unaffected and show normal values during the whole time, so we cannot identify the processes that cause the load. Do you have any ideas what might cause this behavior? We didn't have that problems with the previous version of pgpool (3.0.4).
> We suspected the root of the problem in child_life_time, which was set to 300. Thus we increased that value up to 7200 (2 hours), however it didn't improve the situation at all. Another measure was adjusting child_max_connections from 1500 to 1000 which also didn't solve the issue. Max_pool is set to 1.
> Our pgpools are running in master/slave mode and postgres streaming replication (2 postgres 9.1 backends).
> I want to add, that this problem is not that intense in another
> environment. However this environment does not have as many
> simultaneous connections (child_max_connections is set to 500),
> Apart from that strange load problems everything works fine.
> petaFuel GmbH
> Benjamin Fras
> IT Systemadministration
> Münchner Strasse 4
> 85354 Freising
> Tel.: +49 (0) 8161 4060 - 222
> Fax: +49 (0) 8161 4060 - 401 eMail: Benjamin.Fras at petafuel.de<mailto:Vorname.Nachname at petafuel.de>
> Geschäftsführer: Ludwig Adam, Dr. Peter Schönweitz Amtsgericht
> München, HRB 133773
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 25824 bytes
More information about the pgpool-general