pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add some temporary code to record stack usage at server process
3+ messages / 2 participants
[nested] [flat]

* pgsql: Add some temporary code to record stack usage at server process
@ 2016-07-08 16:01 Tom Lane <tgl@sss.pgh.pa.us>
  2016-07-09 18:29 ` Re: pgsql: Add some temporary code to record stack usage at server process Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2016-07-08 16:01 UTC (permalink / raw)
  To: pgsql-committers

Add some temporary code to record stack usage at server process exit.

This patch is meant to gather information from the buildfarm members, and
will be reverted in a day or so.  The idea is to try to find out the
high-water stack consumption while running the regression tests,
particularly on IA64 which is suspected to use much more stack than other
architectures.  On machines with pmap, we can use that; but the IA64 farm
members are running HPUX, so also include some bespoke code for HPUX.
(I've tested the latter on HPUX 10/HPPA; not entirely sure it will work
on HPUX 11/IA64, but we'll soon find out.)

Discussion: <CAM-w4HMwwcwaVvYcAH0_FGtG5GeXdYVRfvG81pXnSJWHnCfosQ@mail.gmail.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/88cf37d2a86d5b66380003d7c3384530e3f91e40

Modified Files
--------------
src/backend/storage/ipc/ipc.c | 47 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add some temporary code to record stack usage at server process
  2016-07-08 16:01 pgsql: Add some temporary code to record stack usage at server process Tom Lane <tgl@sss.pgh.pa.us>
@ 2016-07-09 18:29 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  2016-07-09 19:24   ` Re: pgsql: Add some temporary code to record stack usage at server process Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Peter Eisentraut @ 2016-07-09 18:29 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-committers

On 7/8/16 12:01 PM, Tom Lane wrote:
> Add some temporary code to record stack usage at server process exit.

In spite of the void cast, this is still warning

ipc.c:125: ignoring return value of ‘system’, declared with attribute 
warn_unused_result [-Wunused-result]

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Add some temporary code to record stack usage at server process
  2016-07-08 16:01 pgsql: Add some temporary code to record stack usage at server process Tom Lane <tgl@sss.pgh.pa.us>
  2016-07-09 18:29 ` Re: pgsql: Add some temporary code to record stack usage at server process Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
@ 2016-07-09 19:24   ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-07-09 19:24 UTC (permalink / raw)
  To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>; +Cc: pgsql-committers

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 7/8/16 12:01 PM, Tom Lane wrote:
>> Add some temporary code to record stack usage at server process exit.

> In spite of the void cast, this is still warning

> ipc.c:125: ignoring return value of ‘system’, declared with attribute 
> warn_unused_result [-Wunused-result]

Don't really care, since the whole thing will be going away again once
we've collected a full set of buildfarm results ...

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-07-09 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-07-08 16:01 pgsql: Add some temporary code to record stack usage at server process Tom Lane <tgl@sss.pgh.pa.us>
2016-07-09 18:29 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2016-07-09 19:24   ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox