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

Re: [HACKERS] I thought we had fixed this for v6.3.2 ...?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: scrappy(at)hub(dot)org (The Hermit Hacker)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] I thought we had fixed this for v6.3.2 ...?
Date: 1998-06-23 18:38:02
Message-ID: 199806231838.OAA06941@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> 
> 
> The machine has 128Meg of RAM, 256Meg of SWAP, and SWAP isn't even being
> touched...
> 
> 
> acctng=> insert into radhist select * from radhist_old;
> FATAL 1:  palloc failure: memory exhausted

Try this before starting postmaster:

	:
	ulimit -d 65536 2>/dev/null
	ulimit -c 0 2>/dev/null
	limit datasize 64m 2>/dev/null
	limit cordumpsize 0 2>/dev/null

Some proc limit is being exceeded.

> acctng=> \q
> > pstat -s
> Device      1K-blocks     Used    Avail Capacity  Type
> /dev/sd0s1b    256000        0   255872     0%    Interleaved
> > psql
> Welcome to the POSTGRESQL interactive sql monitor:
>   Please read the file COPYRIGHT for copyright terms of POSTGRESQL
> 
>    type \? for help on slash commands
>    type \q to quit
>    type \g or terminate with semicolon to execute query
>  You are currently connected to the database: acctng
> 
> acctng=> select count(start_time) from radhist_old;
>  count
> ------
> 295850
> (1 row)
> 
> acctng=>
> 
> 
> 


-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-06-23 18:42:26
Subject: Re: [HACKERS] Problem after removal of exec(), help
Previous:From: David GouldDate: 1998-06-23 18:22:27
Subject: Re: [HACKERS] Problem after removal of exec(), help

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