![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The following bug has been logged online: Bug reference: 2419 Logged by: Andy Male Email address: andy (AT) ubic (DOT) co.uk PostgreSQL version: 8.1 Operating system: Windows 2003 Server (standard) SP1 Description: could not reattach to shared memory Details: FULL ERROR IN WINDOWS EVENT LOG - The description for Event ID ( 0 ) in Source ( PostgreSQL ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: FATAL: could not reattach to shared memory (key=5432001, addr=01960000): Invalid argument There is no correspondng error in pg_log. Once the error happens the database become unreponsive, current connections stop responding and you cannot make new connections. Stopping and starting the database removes the error and normal operation can continue. The error happens intermittently (three or four times a day) and doesn't seem to have a specific cause. The database is not heavily used and is processing around 100 transactions per minute. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
2006-05-07 23:44:20 10.10.12.100(4018)PANIC: 42501: could not write to log file 0, segment 90 at offset 2998272, length 8192: Permission denied 2006-05-07 23:44:20 10.10.12.100(4018)CONTEXT: writing block 75 of relation 1663/20632/100738 SQL statement "update tbl_query_ui_consumer_session_mapping set ui_consumer_session_data_action_type_id = 3, client_received = false where session_id = $1 and client_session_id = $2 " PL/pgSQL function "fn_driver_session_updated" line 58 at SQL statement 2006-05-07 23:44:20 10.10.12.100(4018)LOCATION: XLogWrite, xlog.c:1474 2006-05-07 23:44:20 10.10.12.100(4018)STATEMENT: select * from fn_Driver_Session_Updated($1::int8,$2::bool) |
#5
| |||
| |||
|
|
2006-05-07 23:44:20 10.10.12.100(4018)PANIC: 42501: could not write to log file 0, segment 90 at offset 2998272, length 8192: Permission denied |
#6
| |||
| |||
|
|
To try and reproduce the problem on another machine, I did a new install of the same version of Postgres (8.1.3) and dump/restored the database onto this new server. So far it has been running with the same load and activity for almost 30 hours and the problem has not surfaced. In theory, Postgres and the database are identical and therefore, the fact that it doesn't error in the same way does confirm this is an OS problem (assuming the problem doesn't occur at some point in the future). The two servers are identical hardware and have the same version of OS, Windows Server 2003 SP1. |
![]() |
| Thread Tools | |
| Display Modes | |
| |