473,769 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2017
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*******@postg resql.org

Nov 22 '05 #4
=?iso-8859-1?q?MaRCeLO=20P eReiRA?= <ga********@yah oo.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=20P eReiRA?=
<ga********@yah oo.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=20P eReiRA?= <ga********@yah oo.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.marl owe" <sc***********@ ihs.com> escreveu:
On Wed, 28 Jan 2004, Tom Lane wrote:
=?iso-8859-1?q?MaRCeLO=20P eReiRA?=

<ga********@yah oo.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*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #9
=?iso-8859-1?q?MaRCeLO=20P eReiRA?= <ga********@yah oo.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

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

Similar topics

57
3616
by: Egor Bolonev | last post by:
why functions created with lambda forms cannot contain statements? how to get unnamed function with statements?
13
2470
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
1949
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 Taskbar, or anything. I have to power off my computer. It is a brand new machine, XP Pro, VS.NET 2003. Other Notes:
1
1353
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 needs to be killed with Task Manager. It was running fine until I experimented with VBPowerPack copying it into a current folder instead of using Copy Local. Now, even after deleting it completely, I'm frozen no matter what. To make matters worse,...
2
1638
by: Job Lot | last post by:
Is there any way of freezing columns in Windows Forms Data Grid control? Thanks
7
2042
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 keys, like tuples or frozensets, but to me they look like a duplication. So the idea is to remove tuples and frozensets (and replace the few other uses of tuples with lists, like the % interpolation), and to add a freeze operation, to freeze lists,...
6
2816
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 statement and I have to press "enter" multiple times (maximum 4, it is not consistent though). I am trying it on a hp-ux machine with aCC compiler. Any pointers/help would be greatly appreciated.
2
4375
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 record to this form, the user can open a form (stations) linked to a table in be2 which will generate a price, text etc and insert info back into first form (quotes). This works. The problem is that every so often the user opens the 2nd form in...
0
1003
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 anything special today what could have caused this problem. I tested it in a new project and it gave the same situation. In VS 2003 I still can hit breakpoints without freezing Any solutions?
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10216
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7413
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.