node-pool icon indicating copy to clipboard operation
node-pool copied to clipboard

App gets stopped when database Crashes.

Open SathishSuresh-opex opened this issue 8 years ago • 0 comments

I am using postgres with generic pool. My app is getting crashed when there is a connection termination issue. How i can address this ? Please find below the stack trace of the crash.

WARNING: terminating connection because of crash of another server process DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. HINT: In a moment you should be able to reconnect to the database and repeat your command. events.js:160 throw er; // Unhandled 'error' event ^

Error at Client._readError (/analytics-center/node_modules/pg-native/index.js:80:13) at Client._read (/analytics-center/node_modules/pg-native/index.js:121:19) at emitNone (events.js:86:13) at PQ.emit (events.js:185:7)

terminating connection due to administrator command

Please help me with this. My app is in production.

Thanks in advance

SathishSuresh-opex avatar Jun 02 '17 06:06 SathishSuresh-opex