pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Performance failure / automatic restart / cron ? 3+ messages / 3 participants [nested] [flat]
* Performance failure / automatic restart / cron ? @ 2003-10-25 14:54 piotr@360stopni.pl 0 siblings, 0 replies; 3+ messages in thread From: piotr@360stopni.pl @ 2003-10-25 14:54 UTC (permalink / raw) To: pgsql-admin I have this notorious problem: at some point pgsql simply hangs up and requires a restart. --------------------------------------------------------------------------- ------- homer:/usr/share/doc/postgresql-contrib# /etc/init.d/postgresql restart Restarting PostgreSQL database: postmaster Stopped /usr/lib/postgresql/bin/postmaster (pid 14243 14245 14247 14750 14811 1489 15569 15570 15573 15584 15643 15644 15665 15800 15801 15804 15817 15874 16072 20473 20474 20549 20763). Starting PostgreSQL postmaster. postmaster successfully started . homer:/usr/share/doc/postgresql-contrib# --------------------------------------------------------------------------- ------- Whenever i restart the server i get a long list of pid's - sometimes its many lines. I wrote a little script to restart, vacuum and analyze the database. And although the script runs, there are no results. i have to restart the db manualy... ive seen a post about vacuum an analyze not working from the cron, unfortunately there was no solution. Ill be happy with any ideas - in the last week the db required me to have it restarted once a day which is not very convenient. I realize my app is very resource hungry but the thing is that it works great with mysql. The problem occurs only with pgsql which i realy need. ^ permalink raw reply [nested|flat] 3+ messages in thread
* Performance failure / automatic restart / cron ? @ 2003-10-25 14:56 Piotr Trawiński <piotr@rialab.net> 2003-10-26 23:30 ` Re: Performance failure / automatic restart / cron ? Gaetano Mendola <mendola@bigfoot.com> 0 siblings, 1 reply; 3+ messages in thread From: Piotr Trawiński @ 2003-10-25 14:56 UTC (permalink / raw) To: pgsql-admin I have this notorious problem: at some point pgsql simply hangs up and requires a restart. --------------------------------------------------------------------------- ------- homer:/usr/share/doc/postgresql-contrib# /etc/init.d/postgresql restart Restarting PostgreSQL database: postmaster Stopped /usr/lib/postgresql/bin/postmaster (pid 14243 14245 14247 14750 14811 1489 15569 15570 15573 15584 15643 15644 15665 15800 15801 15804 15817 15874 16072 20473 20474 20549 20763). Starting PostgreSQL postmaster. postmaster successfully started .. homer:/usr/share/doc/postgresql-contrib# --------------------------------------------------------------------------- ------- Whenever i restart the server i get a long list of pid's - sometimes its many lines. I wrote a little script to restart, vacuum and analyze the database. And although the script runs, there are no results. i have to restart the db manualy... ive seen a post about vacuum an analyze not working from the cron, unfortunately there was no solution. Ill be happy with any ideas - in the last week the db required me to have it restarted once a day which is not very convenient. I realize my app is very resource hungry but the thing is that it works great with mysql. The problem occurs only with pgsql which i realy need. Best regards, Piotr ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Performance failure / automatic restart / cron ? 2003-10-25 14:56 Performance failure / automatic restart / cron ? Piotr Trawiński <piotr@rialab.net> @ 2003-10-26 23:30 ` Gaetano Mendola <mendola@bigfoot.com> 0 siblings, 0 replies; 3+ messages in thread From: Gaetano Mendola @ 2003-10-26 23:30 UTC (permalink / raw) To: pgsql-admin Piotr Trawiński wrote: > I have this notorious problem: at some point pgsql simply hangs up and > requires a restart. May we see the content of pg_stat_activity and the content of pg_locks ? > I realize my app is very resource hungry but the thing is that it works great > with mysql. The problem occurs only with pgsql which i realy need. You need pgsql or mysql was not enough ? Please no flames here. Regards Gaetano Mendola ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-10-26 23:30 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2003-10-25 14:54 Performance failure / automatic restart / cron ? piotr@360stopni.pl 2003-10-25 14:56 Performance failure / automatic restart / cron ? Piotr Trawiński <piotr@rialab.net> 2003-10-26 23:30 ` Gaetano Mendola <mendola@bigfoot.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox