pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #7834: Overflow with limited information provided
2+ messages / 2 participants
[nested] [flat]

* BUG #7834: Overflow with limited information provided
@ 2013-01-29 09:27 jackie.qq.zhang@gmail.com
  2013-01-30 08:15 ` Re: BUG #7834: Overflow with limited information provided Pavan Deolasee <pavan.deolasee@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: jackie.qq.zhang@gmail.com @ 2013-01-29 09:27 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      7834
Logged by:          Jackie Zhang
Email address:      jackie.qq.zhang@gmail.com
PostgreSQL version: 9.2.1
Operating system:   Linux
Description:        

Hi, PostgreSQL, 

I bumped into the error situation which only has the following error log
message available:

"FATAL:  requested shared memory size overflows size_t" 

I tuned down all the memory related options and the system got back
normally. But I really don't know which one caused the problem.

The log message provides quite limited information for users like me to fix
the problem (it's different from typical PostgreSQL's log messages which are
usually super good). 

I wonder whether it's possible to print information like "what is the
limited", "which configuration option is overflowed", etc. These infomation
is of great help to users like me to fix the problem.

Thank you very much!
Jackie




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



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

* Re: BUG #7834: Overflow with limited information provided
  2013-01-29 09:27 BUG #7834: Overflow with limited information provided jackie.qq.zhang@gmail.com
@ 2013-01-30 08:15 ` Pavan Deolasee <pavan.deolasee@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Pavan Deolasee @ 2013-01-30 08:15 UTC (permalink / raw)
  To: jackie.qq.zhang@gmail.com; +Cc: pgsql-bugs

On Tue, Jan 29, 2013 at 2:57 PM,  <jackie.qq.zhang@gmail.com> wrote:

>
> I wonder whether it's possible to print information like "what is the
> limited", "which configuration option is overflowed", etc. These infomation
> is of great help to users like me to fix the problem.
>

I think the error message gives a hint that the limit is the max value
that can be represented by size_t, which would most likely be 2^32 on
a 32-bit machine and 2^64 on a 64 machine. But I understand that it
might be a good idea to print the numeric value based on the known
value of size_t

The other part about what caused the overflow is a bit tricky because
even if the overflow got detected while adding size information for
some GUC, the real culprit might be something else and it will
difficult to find what caused the overflow. It would be a combination
of settings that will lead to this error. I guess you must be running
a 32-bit machine because causing this error on a 64-bit machine will
take some serious over-setting for a number of parameters.

Thanks,
Pavan


-- 
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee


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



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


end of thread, other threads:[~2013-01-30 08:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-01-29 09:27 BUG #7834: Overflow with limited information provided jackie.qq.zhang@gmail.com
2013-01-30 08:15 ` Pavan Deolasee <pavan.deolasee@gmail.com>

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