Threads limit for postmaster

Started by Guillaume Pungeotover 18 years ago4 messagesgeneral
Jump to latest
#1Guillaume Pungeot
gpungeot@gmail.com

Hi,
I have a problem when a lot of connexions are opened on postgresql.

When 243 threads have been created by postmaster, the next CreateThread
fails and the following error is written in pglogs : "FATAL: could not
create sigchld waiter thread: error code 8".

I need to open more than 300 connexions on my server.
Is there anyone to help me ?

OS : windows 2003 server x64 edition.

Regards

--
=========
Guillaume Pungeot - mappy

#2Magnus Hagander
magnus@hagander.net
In reply to: Guillaume Pungeot (#1)
Re: Threads limit for postmaster

Guillaume Pungeot wrote:

Hi,
I have a problem when a lot of connexions are opened on postgresql.

When 243 threads have been created by postmaster, the next CreateThread
fails and the following error is written in pglogs : "FATAL: could not
create sigchld waiter thread: error code 8".

I need to open more than 300 connexions on my server.
Is there anyone to help me ?

OS : windows 2003 server x64 edition.

This is a known limitation and will be fixed in 8.3. We'll consider
backporting this to 8.2 once it has been proven in the field. So if you
can, please download the latest beta of 8.3 and give that a try.

//Magnus

#3Usama Dar
munir.usama@gmail.com
In reply to: Magnus Hagander (#2)
Re: Threads limit for postmaster

On 11/30/07, Magnus Hagander <magnus@hagander.net> wrote:

Guillaume Pungeot wrote:

Hi,
I have a problem when a lot of connexions are opened on postgresql.

When 243 threads have been created by postmaster, the next CreateThread
fails and the following error is written in pglogs : "FATAL: could not
create sigchld waiter thread: error code 8".

I need to open more than 300 connexions on my server.
Is there anyone to help me ?

OS : windows 2003 server x64 edition.

This is a known limitation and will be fixed in 8.3. We'll consider
backporting this to 8.2 once it has been proven in the field. So if you
can, please download the latest beta of 8.3 and give that a try.

//Magnus

Would increasing the Desktop shared memory size, as described in another
thread , by changing a registry setting would help his case?

---------------------------(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

--
Usama Munir Dar http://linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar

#4Magnus Hagander
magnus@hagander.net
In reply to: Usama Dar (#3)
Re: Threads limit for postmaster

Hi,
I have a problem when a lot of connexions are opened on postgresql.

When 243 threads have been created by postmaster, the next CreateThread
fails and the following error is written in pglogs : "FATAL: could not
create sigchld waiter thread: error code 8".

I need to open more than 300 connexions on my server.
Is there anyone to help me ?

OS : windows 2003 server x64 edition.

This is a known limitation and will be fixed in 8.3. We'll consider
backporting this to 8.2 once it has been proven in the field. So if you
can, please download the latest beta of 8.3 and give that a try.

//Magnus

Would increasing the Desktop shared memory size, as described in another
thread , by changing a registry setting would help his case?

I don't think so. This looks like the running out of address-space in the postmaster problem, which is a different one.

/Magnus