![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Running RC1 on Windows 2003 Server I get the following:=20 =20 2004-12-13 13:01:11 FATAL: could not attach to proper memory=20 at fixed address: shmget(key=3D5432001, addr=3D00DB0000) failed: Invalid argument 2004-12-13 13:01:11 FATAL: could not attach to proper memory=20 at fixed address: shmget(key=3D5432001, addr=3D00DB0000) failed: Invalid argument 2004-12-13 13:01:11 LOG: background writer process (PID=20 3548) exited with exit code 0 2004-12-13 13:01:11 LOG: terminating any other active server=20 processes 2004-12-13 13:01:11 LOG: all server processes terminated;=20 reinitializing =20 I noticed that there are a couple of references to this on=20 the mailing list however the 'Invalid argument' part of the=20 message appears to be different. =20 The problem can be worked around (if you are running locally)=20 by changing the postgresql.conf from: listen_addresses =3D '*' to: listen_addresses =3D '127.0.0.1' |
#3
| |||
| |||
|
|
Running RC1 on Windows 2003 Server I get the following: 2004-12-13 13:01:11 FATAL: could not attach to proper memory at fixed address: shmget(key=5432001, addr=00DB0000) failed: Invalid argument 2004-12-13 13:01:11 FATAL: could not attach to proper memory at fixed address: shmget(key=5432001, addr=00DB0000) failed: Invalid argument 2004-12-13 13:01:11 LOG: background writer process (PID 3548) exited with exit code 0 2004-12-13 13:01:11 LOG: terminating any other active server processes 2004-12-13 13:01:11 LOG: all server processes terminated; reinitializing I noticed that there are a couple of references to this on the mailing list however the 'Invalid argument' part of the message appears to be different. The problem can be worked around (if you are running locally) by changing the postgresql.conf from: listen_addresses = '*' to: listen_addresses = '127.0.0.1' You're saying this only happens if listen_addresses='*'? *very* interesting. Are you running this off the console or through a RDP session? //Magnus ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |
#4
| |||
| |||
|
|
Added to TODO for Win32: o Allow the shared memory address to be configured via GUC This is something we knew might be required and now I think it is required. Using a fixed address was always pretty crazy. |
#5
| |||
| |||
|
|
Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: Added to TODO for Win32: o Allow the shared memory address to be configured via GUC This is something we knew might be required and now I think it is required. Using a fixed address was always pretty crazy. I see no proof of that at all in this bug report. The postmaster has evidently managed to create the segment, so the address per se is not the problem. |
#6
| |||
| |||
|
|
Tom Lane wrote: Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: o Allow the shared memory address to be configured via GUC This is something we knew might be required and now I think it is required. Using a fixed address was always pretty crazy. I see no proof of that at all in this bug report. The postmaster has evidently managed to create the segment, so the address per se is not the problem. Really? You do realize we just choose a fixed address on Win32, right? |
#7
| |||
| |||
|
|
shmget(key=5432001, addr=00DB0000) failed: Invalid argument 2004-12-13 13:01:11 FATAL: could not attach to proper memory at fixed address: shmget(key=5432001, addr=00DB0000) failed: Invalid argument 2004-12-13 13:01:11 LOG: background writer process (PID 3548) exited with exit code 0 2004-12-13 13:01:11 LOG: terminating any other active server processes 2004-12-13 13:01:11 LOG: all server processes terminated; reinitializing I noticed that there are a couple of references to this on the mailing list however the 'Invalid argument' part of the message appears to be different. The problem can be worked around (if you are running locally) by changing the postgresql.conf from: listen_addresses = '*' to: listen_addresses = '127.0.0.1' You're saying this only happens if listen_addresses='*'? *very* interesting. |
|
Are you running this off the console or through a RDP session? |
![]() |
| Thread Tools | |
| Display Modes | |
| |