pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Several PostGreSQL questions.
2+ messages / 2 participants
[nested] [flat]

* Several PostGreSQL questions.
@ 2000-11-17 18:41 Warren Vanichuk <pyber@street-light.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Warren Vanichuk @ 2000-11-17 18:41 UTC (permalink / raw)
  To: pgsql-general@postgresql.org; +Cc: pgsql-admin


Greetings.

We've recently been seeing several database crashes.  The last things seen
in the logs are :

postmaster: StreamConnection: accept: Too many open files in system
postmaster: StreamConnection: accept: Too many open files in system
FATAL 1:  ReleaseLruFile: No open files available to be closed
IpcSemaphoreLock: semop failed (Identifier removed) id=512
IpcSemaphoreLock: semop failed (Identifier removed) id=513
(repeated about 20-30 times)
IpcSemaphoreUnlock: semop failed (Invalid argument) id=515

FATAL: s_lock(40014065) at spin.c:127, stuck spinlock. Aborting.

FATAL: s_lock(40014065) at spin.c:127, stuck spinlock. Aborting.

FATAL: s_lock(40014065) at spin.c:127, stuck spinlock. Aborting.
(repeated about 100 times)

This is PostgreSQL v7.0.2 under a Debian 2.2 system with a custom 2.2.17
kernel installed.  I have the maximum per-process file descriptor limit set
to 1024, and the maximum system file descriptor limit set to 8192, so I'm
confused about the first messages.

I'm also seeing :

Sorry, too many clients already
Sorry, too many clients already
Sorry, too many clients already

notices, but I thought I increased the number of allowed conncetions. 
What's the correct way to go about doing this? :)




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

* RE: [GENERAL] Several PostGreSQL questions.
@ 2000-11-17 20:33 Matthew <matt@ctlno.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Matthew @ 2000-11-17 20:33 UTC (permalink / raw)
  To: 'Warren Vanichuk' <pyber@street-light.com>; pgsql-general@postgresql.org; +Cc: pgsql-admin

If you do a:  

/usr/sbin/lsof |wc  

What is the output?  First number from wc is the number of lines, which in
this case translates to the number of open file descriptors.  If this is
close to your limit, then bump your limit.

> -----Original Message-----
> From:	Warren Vanichuk [SMTP:pyber@street-light.com]
> Sent:	Friday, November 17, 2000 12:41 PM
> To:	pgsql-general@postgresql.org
> Cc:	pgsql-admin@postgresql.org
> Subject:	[GENERAL] Several PostGreSQL questions.
> 
> 
> Greetings.
> 
> We've recently been seeing several database crashes.  The last things seen
> in the logs are :
> 
> postmaster: StreamConnection: accept: Too many open files in system
> postmaster: StreamConnection: accept: Too many open files in system
> FATAL 1:  ReleaseLruFile: No open files available to be closed
> IpcSemaphoreLock: semop failed (Identifier removed) id=512
> IpcSemaphoreLock: semop failed (Identifier removed) id=513
> (repeated about 20-30 times)
> IpcSemaphoreUnlock: semop failed (Invalid argument) id=515
> 
> FATAL: s_lock(40014065) at spin.c:127, stuck spinlock. Aborting.
> 
> FATAL: s_lock(40014065) at spin.c:127, stuck spinlock. Aborting.
> 
> FATAL: s_lock(40014065) at spin.c:127, stuck spinlock. Aborting.
> (repeated about 100 times)
> 
> This is PostgreSQL v7.0.2 under a Debian 2.2 system with a custom 2.2.17
> kernel installed.  I have the maximum per-process file descriptor limit
> set
> to 1024, and the maximum system file descriptor limit set to 8192, so I'm
> confused about the first messages.
> 
> I'm also seeing :
> 
> Sorry, too many clients already
> Sorry, too many clients already
> Sorry, too many clients already
> 
> notices, but I thought I increased the number of allowed conncetions. 
> What's the correct way to go about doing this? :)



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


end of thread, other threads:[~2000-11-17 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-11-17 18:41 Several PostGreSQL questions. Warren Vanichuk <pyber@street-light.com>
2000-11-17 20:33 RE: [GENERAL] Several PostGreSQL questions. Matthew <matt@ctlno.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