Re: [HACKERS] 7.3b3 on MacOSX 10.2.1

2002-10-30 Thread Peter Eisentraut
Tom Lane writes:

> No, there should be ~80 tests in all.  I'm not sure why the pg_regress
> script is failing to process the remaining tests when this happens; any
> ideas out there?

It appears that the shell simply aborts on fork failure.  Example:

peter ~$ cat test.sh
ulimit -u 30

for i in $(seq 1 25); do
echo $i
( sleep 5 ) &
echo ok
done

wait
echo "all done"
peter ~$ sh test.sh
1
ok
2
test.sh: fork: Resource temporarily unavailable
peter ~$

In pg_regress, the big loop is probably done in a subshell, because it's
in a pipe, so the outer script can complete.  Detecting failures in
commands in a pipe is of course a bit tricky.

-- 
Peter Eisentraut   [EMAIL PROTECTED]


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Re: [HACKERS] 7.3b3 on MacOSX 10.2.1

2002-10-30 Thread Tom Lane
Adam Witney <[EMAIL PROTECTED]> writes:
> It appears that my ignorance got the better of me It was the first time
> I had run the regression tests on any PostgreSQL installation. But I think I
> am getting the same problems as others. below is the last part of the
> regression tests (I had taken the "All 15 tests passed" as a success!)

No, there should be ~80 tests in all.  I'm not sure why the pg_regress
script is failing to process the remaining tests when this happens; any
ideas out there?

regards, tom lane

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [HACKERS] 7.3b3 on MacOSX 10.2.1

2002-10-30 Thread Adam Witney
On 29/10/02 6:02 pm, "Tom Lane" <[EMAIL PROTECTED]> wrote:

> Adam Witney <[EMAIL PROTECTED]> writes:
>> Just to update the list of supported platforms, 7.3b3 compiles and passes
>> all the regression tests on MacOSX 10.2.1
> 
>> Although don't know if this is relevant but this appears when running the
>> tests:
> 
>> parallel group (20 tests): ./pg_regress: fork: Resource temporarily
>> unavailable
>> ./pg_regress: fork: Resource temporarily unavailable
>>  comments lseg box path timetz point circle reltime tinterval date inet
>> interval timestamp time abstime polygon timestamptz oidjoins
> 
> This suggests that you are hitting the per-user limit on the number of
> processes you can have; try raising that limit.
> 
> I'd expect one of the tests not to have been run when that message
> appears; did you really get successful matches for all tests?
> 
> regards, tom lane

It appears that my ignorance got the better of me It was the first time
I had run the regression tests on any PostgreSQL installation. But I think I
am getting the same problems as others. below is the last part of the
regression tests (I had taken the "All 15 tests passed" as a success!)

Let me know if I can be of any assistance in further checking this out

== running regression test queries==
parallel group (13 tests):  char int4 boolean name varchar float8 bit text
int2 oid int8 float4 numeric
 boolean  ... ok
 char ... ok
 name ... ok
 varchar  ... ok
 text ... ok
 int2 ... ok
 int4 ... ok
 int8 ... ok
 oid  ... ok
 float4   ... ok
 float8   ... ok
 bit  ... ok
 numeric  ... ok
test strings  ... ok
test numerology   ... ok
parallel group (20 tests): ./pg_regress: fork: Resource temporarily
unavailable
./pg_regress: fork: Resource temporarily unavailable
 comments lseg box path timetz point circle reltime tinterval date inet
interval timestamp time abstime polygon timestamptz oidjoins==
shutting down postmaster   ==

==
 All 15 tests passed.
==

rm regress.o



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

http://www.postgresql.org/users-lounge/docs/faq.html



Re: [HACKERS] 7.3b3 on MacOSX 10.2.1

2002-10-29 Thread Tom Lane
Adam Witney <[EMAIL PROTECTED]> writes:
> Just to update the list of supported platforms, 7.3b3 compiles and passes
> all the regression tests on MacOSX 10.2.1

> Although don't know if this is relevant but this appears when running the
> tests:

> parallel group (20 tests): ./pg_regress: fork: Resource temporarily
> unavailable
> ./pg_regress: fork: Resource temporarily unavailable
>  comments lseg box path timetz point circle reltime tinterval date inet
> interval timestamp time abstime polygon timestamptz oidjoins

This suggests that you are hitting the per-user limit on the number of
processes you can have; try raising that limit.

I'd expect one of the tests not to have been run when that message
appears; did you really get successful matches for all tests?

regards, tom lane

---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Re: [HACKERS] 7.3b3 on MacOSX 10.2.1

2002-10-28 Thread Bruce Momjian

Ports list updated:

  http://candle.pha.pa.us/main/writings/pgsql/sgml/supported-platforms.html

---
Adam Witney wrote:
> 
> Just to update the list of supported platforms, 7.3b3 compiles and passes
> all the regression tests on MacOSX 10.2.1
> 
> Although don't know if this is relevant but this appears when running the
> tests:
> 
> parallel group (20 tests): ./pg_regress: fork: Resource temporarily
> unavailable
> ./pg_regress: fork: Resource temporarily unavailable
>  comments lseg box path timetz point circle reltime tinterval date inet
> interval timestamp time abstime polygon timestamptz oidjoins
> 
> Cheers
> 
> Adam
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> ---(end of broadcast)---
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to [EMAIL PROTECTED] so that your
> message can get through to the mailing list cleanly
> 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])



[HACKERS] 7.3b3 on MacOSX 10.2.1

2002-10-28 Thread Adam Witney

Just to update the list of supported platforms, 7.3b3 compiles and passes
all the regression tests on MacOSX 10.2.1

Although don't know if this is relevant but this appears when running the
tests:

parallel group (20 tests): ./pg_regress: fork: Resource temporarily
unavailable
./pg_regress: fork: Resource temporarily unavailable
 comments lseg box path timetz point circle reltime tinterval date inet
interval timestamp time abstime polygon timestamptz oidjoins

Cheers

Adam


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly