pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postmaster problem
5+ messages / 5 participants
[nested] [flat]

* postmaster problem
@ 2002-01-28 00:30 Tyson Oswald <tysono_71@yahoo.com>
  2002-01-28 02:22 ` Re: postmaster problem Andy Ruhl <acruhl@sdf.lonestar.org>
  2002-01-28 04:04 ` Re: postmaster problem Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 2 replies; 5+ messages in thread

From: Tyson Oswald @ 2002-01-28 00:30 UTC (permalink / raw)
  To: pgsql-admin

I just recently upgraded my Linux kernel to
2.4.8-34mdk, and now I cannot connect to postgresql
through psql or pgaccess.  I receive the following
error apon the service starting up. 
pg_ctl: Another postmaster may be running.  Trying to
start postmaster anyway.

This happend apon bootup and also when I restart the
service.  Unix domain sockets is installed in the
kernel and entries are in the /etc/services for
tcp/5432 and udp/5432.

I get this error when I run
psql -d template1
psql: connectDBStart() -- connect() failed: No such
file or directory
 Is the postmaster running locally
 and accepting connections on Unix socket
'/tmp/.s.PGSQL.5432'?

What celse an cause these errors?

thanks,
Tyson Oswald

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: postmaster problem
  2002-01-28 00:30 postmaster problem Tyson Oswald <tysono_71@yahoo.com>
@ 2002-01-28 02:22 ` Andy Ruhl <acruhl@sdf.lonestar.org>
  1 sibling, 0 replies; 5+ messages in thread

From: Andy Ruhl @ 2002-01-28 02:22 UTC (permalink / raw)
  To: Tyson Oswald <tysono_71@yahoo.com>; +Cc: pgsql-admin

On Sun, 27 Jan 2002, Tyson Oswald wrote:

> Date: Sun, 27 Jan 2002 16:30:03 -0800 (PST)
> From: Tyson Oswald <tysono_71@yahoo.com>
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] postmaster problem
>
> I just recently upgraded my Linux kernel to
> 2.4.8-34mdk, and now I cannot connect to postgresql
> through psql or pgaccess.  I receive the following
> error apon the service starting up.
> pg_ctl: Another postmaster may be running.  Trying to
> start postmaster anyway.
>
> This happend apon bootup and also when I restart the
> service.  Unix domain sockets is installed in the
> kernel and entries are in the /etc/services for
> tcp/5432 and udp/5432.
>
> I get this error when I run
> psql -d template1
> psql: connectDBStart() -- connect() failed: No such
> file or directory
>  Is the postmaster running locally
>  and accepting connections on Unix socket
> '/tmp/.s.PGSQL.5432'?
>
> What celse an cause these errors?

This normally means it was shut down without cleaning itself up as far as
I know. If your PGDATA directory has the .pid file still in it and you are
sure postmaster is not running (ps aux | grep -i postmaster shows
nothing), then you know that was the case. I'm too new to know what's OK
to delete and what not to delete, and exactly needs to be done to clean up
an unclean shutdown.

Andy

acruhl@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: postmaster problem
  2002-01-28 00:30 postmaster problem Tyson Oswald <tysono_71@yahoo.com>
@ 2002-01-28 04:04 ` Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 0 replies; 5+ messages in thread

From: Tom Lane @ 2002-01-28 04:04 UTC (permalink / raw)
  To: Tyson Oswald <tysono_71@yahoo.com>; +Cc: pgsql-admin

Tyson Oswald <tysono_71@yahoo.com> writes:
> I just recently upgraded my Linux kernel to
> 2.4.8-34mdk, and now I cannot connect to postgresql
> through psql or pgaccess.  I receive the following
> error apon the service starting up. 
> pg_ctl: Another postmaster may be running.  Trying to
> start postmaster anyway.

That in itself is not an error; it's just telling you that there
was a postmaster lock file already present.  As the message says,
pg_ctl will plow ahead anyway.

If the postmaster doesn't start, then there's some deeper problem,
but you have not told us anything that would help to determine what.
Are there no other messages?  If so, are you perchance redirecting
the postmaster's stderr to /dev/null?  Not a good thing to do if 
you want to debug problems...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* postmaster problem....
@ 2002-02-28 06:05 Nitesh <niteshj@ebotsoft.com>
  2002-03-05 15:38 ` Re: postmaster problem.... Gaetano Mendola <mendola@bigfoot.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Nitesh @ 2002-02-28 06:05 UTC (permalink / raw)
  To: pgsql-admin

I'm using postgres as an backend with java servlet/jsp using linux as 
operating system but when i see the see the CPU process using TOP command 
than what i found that postmaster is using 97% of CPU which raise my system 
speed very slow. so could u pls help me to sort out my problem that how can i 
reduce the postmaster percentage.


Nitesh Jain




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: postmaster problem....
  2002-02-28 06:05 postmaster problem.... Nitesh <niteshj@ebotsoft.com>
@ 2002-03-05 15:38 ` Gaetano Mendola <mendola@bigfoot.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Gaetano Mendola @ 2002-03-05 15:38 UTC (permalink / raw)
  To: Nitesh <niteshj@ebotsoft.com>; pgsql-admin

"Nitesh" <niteshj@ebotsoft.com> wrote:
> I'm using postgres as an backend with java servlet/jsp using linux as
> operating system but when i see the see the CPU process using TOP command
> than what i found that postmaster is using 97% of CPU which raise my
system
> speed very slow. so could u pls help me to sort out my problem that how
can i
> reduce the postmaster percentage.

Did you use enough shared memory ?

Look on postgresql.conf the parameters
sort_mem
shared_buffer

try to put there higher values.

> Nitesh Jain
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2002-03-05 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-28 00:30 postmaster problem Tyson Oswald <tysono_71@yahoo.com>
2002-01-28 02:22 ` Andy Ruhl <acruhl@sdf.lonestar.org>
2002-01-28 04:04 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-02-28 06:05 postmaster problem.... Nitesh <niteshj@ebotsoft.com>
2002-03-05 15:38 ` Re: postmaster problem.... 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