Unix Technical Forum

Re: Server process exited with unexpected status 128.

This is a discussion on Re: Server process exited with unexpected status 128. within the pgsql Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: pgsql-hackers-owner@postgresql.org > [mailto gsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane > Sent: 26 September 2005 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 06:55 AM
Dave Page
 
Posts: n/a
Default Re: Server process exited with unexpected status 128.



> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailtogsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane
> Sent: 26 September 2005 15:47
> To: áÎÄÒÅÊ òÅÐËÏ
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Server process exited with unexpected
> status 128.
>
> [ looking again... ]
>
> =?Windows-1251?Q?=C0=ED=E4=F0=E5=E9_=D0=E5=EF=EA=EE?=
> <repko@sart.must-ipra.com> writes:
> > max_stack_depth = 65536 # min 100, size in KB

>
> Hmm, maybe this is the problem. Are we sure Windows will
> allow a 64M stack?


Looks like we used 4MB in the backend by default:

http://archives.postgresql.org/pgsql...1/msg00386.php

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 06:55 AM
Tom Lane
 
Posts: n/a
Default Re: Server process exited with unexpected status 128.

"Dave Page" <dpage@vale-housing.co.uk> writes:
>> [mailtogsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane
>>> max_stack_depth = 65536 # min 100, size in KB

>>
>> Hmm, maybe this is the problem. Are we sure Windows will
>> allow a 64M stack?


> Looks like we used 4MB in the backend by default:
> http://archives.postgresql.org/pgsql...1/msg00386.php


D'oh. Well, at the very least we have a documentation issue here.

Is it sensible to try to prevent people from raising the GUC variable
higher than the platform will allow? It seems we can know the limit on
Windows, but on most other platforms I don't think there's any good way
to find it out. (Which is why max_stack_depth is a SUSET variable ---
you're assumed to know what you are doing if you change it.)

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 06:59 AM
Thomas Hallgren
 
Posts: n/a
Default Re: Server process exited with unexpected status 128.

Tom Lane wrote:
> Is it sensible to try to prevent people from raising the GUC variable
> higher than the platform will allow? It seems we can know the limit on
> Windows, but on most other platforms I don't think there's any good way
> to find it out. (Which is why max_stack_depth is a SUSET variable ---
> you're assumed to know what you are doing if you change it.)
>

I have PL/Java users that set a ridiculously high value in
max_stack_depth just to circumvent the check altogether since it breaks
when the executes code using another thread then main (see previous
discussion "stack depth limit exceeded problem" started 9/23 for more info).

If you plan to limit the GUC setting, please, *please*, also provide a
way for PL/Java to switch stack_base. I will write the patch immediately
if you approve.

Regards,
Thomas Hallgren


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:20 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com