473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

7.3.4 freezing

Hi All,

After PostgreSQL freeze some times, I am moving from
7.3.4 to 7.4.1, trying to solve this problem.

When the daemon get frozen, I can't even use psql to
browse a database (as if the database was down for
some reason, or the daemon is not running).

In these cases, a "pg_ctl -D /var/db stop" followed by
a "pg_ctl -D /var/db start" fix the problem.

I was not saving the logs in a file, so I can't show
you the messages. Now I am saving it.

Do you know some bug on this version (7.3.4)???

I will try 7.4.1 and seek for bugs!

Regards,

Marcelo

__________________________________________________ ____________________

Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!
http://br.geocities.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 22 '05 #1
10 1980
On Wed, 28 Jan 2004, MaRCeLO PeReiRA wrote:
Hi All,

After PostgreSQL freeze some times, I am moving from
7.3.4 to 7.4.1, trying to solve this problem.

When the daemon get frozen, I can't even use psql to
browse a database (as if the database was down for
some reason, or the daemon is not running).

In these cases, a "pg_ctl -D /var/db stop" followed by
a "pg_ctl -D /var/db start" fix the problem.

I was not saving the logs in a file, so I can't show
you the messages. Now I am saving it.

Do you know some bug on this version (7.3.4)???

I will try 7.4.1 and seek for bugs!


Is the machine becoming unresponsive? I.e. is it taking several seconds
for things like ls to run?

What does top show for postgresql memory and cpu usage?

Is postgresql really freezing, or just running REALLY slow? I.e.
sometimes if you wait long enough you can get in to what seems to be a
frozen database
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 22 '05 #2
Hi,

Is the machine becoming unresponsive? I.e. is it
taking several seconds
for things like ls to run?
It isn't the case! I can do everything without
problem, and without losing performance. The main
problem is the postmaster daemon, that die. (really
;-)
What does top show for postgresql memory and cpu
usage?
The top output is something like this:

top - 16:44:24 up 2 days, 6:15, 10 users, load
average: 1.24, 1.16, 1.05
Tasks: 123 total, 4 running, 119 sleeping, 0
stopped, 0 zombie
Cpu(s): 96.0% user, 4.0% system, 0.0% nice,
0.0% idle
Mem: 256292k total, 243696k used, 12596k free,
14024k buffers
Swap: 530104k total, 82568k used, 447536k free,
114312k cached
Is postgresql really freezing, or just running
REALLY slow? I.e.
sometimes if you wait long enough you can get in to
what seems to be a
frozen database


No way! It really die!! :(

Regards,

Marcelo

__________________________________________________ ____________________

Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!
http://br.geocities.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 22 '05 #3
On Wed, 28 Jan 2004, MaRCeLO PeReiRA wrote:
Hi,

Is the machine becoming unresponsive? I.e. is it
taking several seconds
for things like ls to run?


It isn't the case! I can do everything without
problem, and without losing performance. The main
problem is the postmaster daemon, that die. (really
;-)
What does top show for postgresql memory and cpu
usage?


The top output is something like this:

top - 16:44:24 up 2 days, 6:15, 10 users, load
average: 1.24, 1.16, 1.05
Tasks: 123 total, 4 running, 119 sleeping, 0
stopped, 0 zombie
Cpu(s): 96.0% user, 4.0% system, 0.0% nice,
0.0% idle
Mem: 256292k total, 243696k used, 12596k free,
14024k buffers
Swap: 530104k total, 82568k used, 447536k free,
114312k cached
Is postgresql really freezing, or just running
REALLY slow? I.e.
sometimes if you wait long enough you can get in to
what seems to be a
frozen database


No way! It really die!! :(


Dang. When you run top, what do the postgres owned processes show?
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 22 '05 #4
=?iso-8859-1?q?MaRCeLO=20PeReiRA?= <ga********@yahoo.com.br> writes:
It isn't the case! I can do everything without
problem, and without losing performance. The main
problem is the postmaster daemon, that die. (really
;-)


That's pretty hard to believe (we've not had a postmaster-crashing bug
in a long time), and it's even harder to believe that the symptoms would
be as you describe if it did. if the postmaster wasn't there, psql
connection attempts would fail immediately with "connection refused" or
similar messages.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 22 '05 #5
Hi Tom,

I have just moved to 7.4.1. I hope to fix that
problem.

And, yes, I was receiving "connection refused" in the
cases when the postmaster was gone!

It has been exactly 36min the new version is running.
Let us see the postmaster's behavior on the next few
days!

Thanks in advance and
Regards,

Marcelo

--- Tom Lane <tg*@sss.pgh.pa.us> escreveu: >
=?iso-8859-1?q?MaRCeLO=20PeReiRA?=
<ga********@yahoo.com.br> writes:
It isn't the case! I can do everything without
problem, and without losing performance. The main
problem is the postmaster daemon, that die.

(really
;-)


That's pretty hard to believe (we've not had a
postmaster-crashing bug
in a long time), and it's even harder to believe
that the symptoms would
be as you describe if it did. if the postmaster
wasn't there, psql
connection attempts would fail immediately with
"connection refused" or
similar messages.

regards, tom lane


__________________________________________________ ____________________

Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!
http://br.geocities.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 22 '05 #6
On Wed, 28 Jan 2004, Tom Lane wrote:
=?iso-8859-1?q?MaRCeLO=20PeReiRA?= <ga********@yahoo.com.br> writes:
It isn't the case! I can do everything without
problem, and without losing performance. The main
problem is the postmaster daemon, that die. (really
;-)


That's pretty hard to believe (we've not had a postmaster-crashing bug
in a long time), and it's even harder to believe that the symptoms would
be as you describe if it did. if the postmaster wasn't there, psql
connection attempts would fail immediately with "connection refused" or
similar messages.


I'm pretty sure, from his first message, what he means is that the
postmaster process is going into some kind of loop (100% CPU) and not
responding, not necessarily dying. I'm reasonably certain English is not
Marcelo's first language, so it's understandable he'd miss the mark on the
meaning of a few words here and there.
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 22 '05 #7
Hi Tom and Scott,

Thanks for your support. I hope the upgrade fix the
problem.

And, Scott, you are right, english isn't my first
language, I'm a brazilian and I know brazilian
portuguese. When I try to write english in a fast way,
and without doing gramatical correction, I use to go
into lots of mistakes. ;-) Thou I am really trying to
improve my english.

Well, once again, thanks for your support.

Regards,

Marcelo Pereira
Campinas' University - Brazil
Math Depth

--- "scott.marlowe" <sc***********@ihs.com> escreveu:
On Wed, 28 Jan 2004, Tom Lane wrote:
=?iso-8859-1?q?MaRCeLO=20PeReiRA?=

<ga********@yahoo.com.br> writes:
It isn't the case! I can do everything without
problem, and without losing performance. The main problem is the postmaster daemon, that die. (really ;-)


That's pretty hard to believe (we've not had a

postmaster-crashing bug
in a long time), and it's even harder to believe

that the symptoms would
be as you describe if it did. if the postmaster

wasn't there, psql
connection attempts would fail immediately with

"connection refused" or
similar messages.


I'm pretty sure, from his first message, what he
means is that the
postmaster process is going into some kind of loop
(100% CPU) and not
responding, not necessarily dying. I'm reasonably
certain English is not
Marcelo's first language, so it's understandable
he'd miss the mark on the
meaning of a few words here and there.


__________________________________________________ ____________________

Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!
http://br.geocities.yahoo.com/

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 22 '05 #8
On Wed, 28 Jan 2004, MaRCeLO PeReiRA wrote:
Hi,

Is the machine becoming unresponsive? I.e. is it
taking several seconds
for things like ls to run?


It isn't the case! I can do everything without
problem, and without losing performance. The main
problem is the postmaster daemon, that die. (really
;-)
What does top show for postgresql memory and cpu
usage?


The top output is something like this:

top - 16:44:24 up 2 days, 6:15, 10 users, load
average: 1.24, 1.16, 1.05
Tasks: 123 total, 4 running, 119 sleeping, 0
stopped, 0 zombie
Cpu(s): 96.0% user, 4.0% system, 0.0% nice,
0.0% idle
Mem: 256292k total, 243696k used, 12596k free,
14024k buffers
Swap: 530104k total, 82568k used, 447536k free,
114312k cached
Is postgresql really freezing, or just running
REALLY slow? I.e.
sometimes if you wait long enough you can get in to
what seems to be a
frozen database


No way! It really die!! :(


Can you perhaps build it with debugging symbols and run it until it crashs
again and then send us the core file? You should check that the core file will
be generated first, by checking things like the ulimit for core files that the
postgresql server runs with.
--
Nigel Andrews
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #9
=?iso-8859-1?q?MaRCeLO=20PeReiRA?= <ga********@yahoo.com.br> writes:
And, yes, I was receiving "connection refused" in the
cases when the postmaster was gone!


You didn't say that, you said it froze. Please be more accurate about
your bug reports in future. A minimum requirement is that you give the
exact text of any error messages you get.

It does sound like you were seeing a postmaster crash. As Nigel
suggested, it would be very useful to see a debugger stack trace
from such a crash.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 22 '05 #10
Hi guys,
=?iso-8859-1?q?MaRCeLO=20PeReiRA?=
<ga********@yahoo.com.br> writes:
And, yes, I was receiving "connection refused" in the
cases when the postmaster was gone!


You didn't say that, you said it froze. Please be
more accurate about
your bug reports in future. A minimum requirement
is that you give the
exact text of any error messages you get.


Sorry!! I will be more accurate next time.

To tell you the truth, I wasn't running in troubles
when I sent the first message, so I did not had the
error messages to send to the list.

I will be better next time! ;-)
It does sound like you were seeing a postmaster
crash. As Nigel
suggested, it would be very useful to see a debugger
stack trace
from such a crash.


Sure I will do that!! Thanks!!

Regards,

Marcelo

Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora:
http://mail.yahoo.com.br

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 22 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

57
by: Egor Bolonev | last post by:
why functions created with lambda forms cannot contain statements? how to get unnamed function with statements?
13
by: Ioannis Vranos | last post by:
Why in this code the form *does not refresh* when it gets the focus/after some time? #using <mscorlib.dll> #using <system.windows.forms.dll> #using <system.dll> #using <system.drawing.dll>
6
by: Steven K | last post by:
Hello, I am having a problem where my computer is freezing when I run a ASP.net project. It freezes in the debugger, or if I try to run it as localhost. I cannot even access the windows...
1
by: boB | last post by:
When I try to run a program - any program - my environment all of a sudden starts freezing up. Even an empty solution. It will build, but never run the built program and the GUI won't respond and...
2
by: Job Lot | last post by:
Is there any way of freezing columns in Windows Forms Data Grid control? Thanks
7
by: bearophileHUGS | last post by:
Most of my ideas seem usless or stupid, but I think expressing them here doesn't harm much. This is an idea for Py 3.0, because it's not backward compatible. Dicts and sets require immutable...
6
by: hem | last post by:
Hi, I have the following small program which read password from user after echoing off. But the problem is, it is freezing for some time (not sure about the duration) before going to the next...
2
by: Pat | last post by:
I'm having some problems with forms freezing up on me. I have a front end linked to tables in 2 back ends. Users can open a form (quotes) which is linked to a table in be1. while adding a...
0
by: Ivovh | last post by:
Since this morging I have a problem with VS .NET 2005. Evertime when it hits a breakpoint my whole computer freezes. I have to reset it to work again. Before it always worked fine and I didnt do...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.