From: | subham(at)cse(dot)iitb(dot)ac(dot)in |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Needs Suggestion |
Date: | 2010-09-22 08:14:38 |
Message-ID: | 2a2d34ed8349d74c3942dea730988945.squirrel@www.cse.iitb.ac.in |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
How can I increase the stack depth limit ? Is it only by modifying the
postgres.conf file, but there I cannot increase the stack depth beyond 4
MB.
Actually, my problem is that, when I set the stack base address of the
child thread using the POSIX library function "pthread_setstackaddr()", I
am unable to access the memory contents of its parent. The data-structures
in the parent are either getting destroyed or unaccessible when moving to
the context of the child thread.
But when I create the child thread without setting its stack base address
then it is able to access the parent's memory contents. But if the child
thread's code size is large then it is getting stack fault and displaying
the message "MAX stack depth limit reached ...".
Can anyone give any reason why is that so ?
OR
If I cannot set the child thread's stack base address. Then How can I
increase the stack depth limit to a large value ?
--
Thank You,
Subham Roy.
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitriy Igrishin | 2010-09-22 08:18:41 | Re: SQLSTATE of notice PGresult |
Previous Message | Heikki Linnakangas | 2010-09-22 08:10:54 | Re: Configuring synchronous replication |