hmm,
gibts unter windows belastbare logfiles?
was sagt denn die ereignisanzeige und das postgres log?
Hi Jungs,
und zwar hab ich einen Windows 2003 Server, PostgreSQL (intel Quad 2,4, 4 GB RAM)
Folgende Änderungen hab ich vorgenommen:
max_connections=500
shared_buffers=128MB
So, nach einer bestimmten Zeit, (Server Auslastung bei 30%) stoppt einfach der PostgreSQL Service, den ich dann neu starten muss.
Hat jemand eine Idee wo man dem Problem näher kommen kann?
Würde mich über ein paar Ideen freuen.
Gruß Centext
hmm,
gibts unter windows belastbare logfiles?
was sagt denn die ereignisanzeige und das postgres log?
explain analyze is your friend
hmm, meine Loggs sagen "Exit code 3"
Log:
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 LOG: database system was interrupted at 2008-01-04 16:04:30
2008-01-04 16:41:38 LOG: could not open file "pg_xlog/000000010000000800000018" (log file 8, segment 24): No such file or directory
2008-01-04 16:41:38 LOG: invalid primary checkpoint record
2008-01-04 16:41:38 LOG: could not open file "pg_xlog/000000010000000800000015" (log file 8, segment 21): No such file or directory
2008-01-04 16:41:38 LOG: invalid secondary checkpoint record
2008-01-04 16:41:38 PANIC: could not locate a valid checkpoint record
2008-01-04 16:41:38 FATAL: the database system is starting up
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 LOG: startup process (PID 4084) exited with exit code 3
2008-01-04 16:41:38 LOG: aborting startup due to startup process failure
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:38 FATAL: the database system is starting up
2008-01-04 16:41:39 LOG: logger shutting down
Geändert von CenText (04.01.2008 um 16:49 Uhr)
Ahh, nachdem ich mit den Werten max_connections und shared_buffers rumgespielt habe funktioniert gar nix mehr. Datenbank lässt sich gar nicht mehr starten, selbst die org. postgres.conf funktioniert nicht.
Letzte Log-Version:
Kann jemand helfen?2008-01-04 16:52:01 LOG: database system was interrupted at 2008-01-04 16:04:30
2008-01-04 16:52:01 LOG: could not open file "pg_xlog/000000010000000800000018" (log file 8, segment 24): No such file or directory
2008-01-04 16:52:01 LOG: invalid primary checkpoint record
2008-01-04 16:52:01 LOG: could not open file "pg_xlog/000000010000000800000015" (log file 8, segment 21): No such file or directory
2008-01-04 16:52:01 LOG: invalid secondary checkpoint record
2008-01-04 16:52:01 PANIC: could not locate a valid checkpoint record
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
2008-01-04 16:52:01 LOG: startup process (PID 4068) exited with exit code 3
2008-01-04 16:52:01 LOG: aborting startup due to startup process failure
2008-01-04 16:52:01 FATAL: the database system is starting up
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
FATAL: could not reattach to shared memory (key=5432001, addr=01370000): No such file or directory
2008-01-04 16:52:02 LOG: logger shutting down![]()
Damit überforderst Du Windows.
Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Solltest Du wirklich so viele Verbindungen benötigen, wäre ein Wechsel des OS angeraten.
Andreas
--
https://www.xing.com/profile/Andreas_Kretschmer7ads Das hatte dir akretschmer gestern schon gesagt und siehe da sobald du das machst, funktioniert es ;-)
Okay Ubuntu 64 sollte okay sein?
PS: hab gerade unter Windows versucht per pg_resetxlog -f data die datenbank erneut zu starten.
So nun geht sie wieder, aber die Tabellen und datenbanken sind teilweise alle Weg.......![]()
Ahhhh 10GB Daten weg![]()
--
https://www.xing.com/profile/Andreas_Kretschmer7ads Das hatte dir akretschmer gestern schon gesagt und siehe da sobald du das machst, funktioniert es ;-)
Das Stimmt. Wie regelt man eig. ein Backup von über 30 GB? Über das standard Dump Verfahren? Dauert doch teilweise ewig ein solches backup zu machen? Und dafür liegt ja dann die gesamte DB auf Ice?
--
https://www.xing.com/profile/Andreas_Kretschmer7ads Das hatte dir akretschmer gestern schon gesagt und siehe da sobald du das machst, funktioniert es ;-)
Links: Tobias Bauer - IT- und Funkdienstleistungen - Bilderrahmen-kaufen.de - Der Onlineshop für Bilderrahmen & Fotorahmen - Funkforum
Lesezeichen