Skip site navigation (1) Skip section navigation (2)

RE: initdb failure - postgres hangs with 100% CPU

From: "Jon Williams" <jonw(at)digimax(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: RE: initdb failure - postgres hangs with 100% CPU
Date: 2001-06-28 16:36:26
Message-ID: 000001c0fff0$7b00ae50$386870ce@herbgotti (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin
You need to have ipc-daemon running 1st

I found these 2 url's to be very informative.


-----Original Message-----
From: pgsql-cygwin-owner(at)postgresql(dot)org
[mailto:pgsql-cygwin-owner(at)postgresql(dot)org] On Behalf Of Michael Williams
Sent: Thursday, June 28, 2001 3:18 PM
To: pgsql-cygwin(at)postgresql(dot)org
Cc: cygwin(at)sources(dot)redhat(dot)com
Subject: [CYGWIN] initdb failure - postgres hangs with 100% CPU

I am attempting to create a postgresql database under

$ uname -a
CYGWIN_NT-4.0 WCA22291271 1.3.2(0.39/3/2) 2001-05-20
23:28 i686 unknown

on a WinNT Workstation. WinNT 4.0 SP5

$ echo $PGDATA

nbk3r4y(at)WCA22291271 ~
$ initdb -d > initdb.log 2>&1 &
[2] 213

nbk3r4y(at)WCA22291271 ~
$ tail -f initdb.log
This database system will be initialized with username
This user will own all the data files and must also
own the server process.

Creating directory /usr/share/postgresql/data
Creating directory /usr/share/postgresql/data/base
Creating directory /usr/share/postgresql/data/global
Creating directory /usr/share/postgresql/data/pg_xlog
Creating template1 database in
Running: /usr/bin/postgres -boot -x1 -C -F
-D/usr/share/postgresql/data -d templ

At this point the NT system hangs.  The Win Task
manager shows the proesser pegged at 100% utilization
by initdb.  cgywin "top" tells the same story.

  %   Pid  Tid  Pri      Key    Start Address 

  99%     340     609 2502656 2195456   0:00:45.745
   0%      30    4529 1118208 1605632   0:00:07.671

initdb never comes back.

This user ID has NT local administrator rights.

Please let me know why postgres is dieing at this


Michael Williams

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail

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

In response to

pgsql-cygwin by date

Next:From: Michael WilliamsDate: 2001-06-28 19:18:20
Subject: initdb failure - postgres hangs with 100% CPU
Previous:From: Robby SlaughterDate: 2001-06-26 00:26:15
Subject: RE: Latest Cygwin Installer & postgres initdb

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group