From: | Kevin Brown <kevin(at)sysexperts(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Too-many-files errors on OS X |
Date: | 2004-02-23 13:02:35 |
Message-ID: | 20040223130235.GM2608@filer |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I wrote:
> Larry Rosenman wrote:
> > I had to hack on the code some more for FreeBSD:
> > (the realloc call needed the multiplication). I ran this same code
> > on UnixWare.
>
> I feel like a moron, having missed that. Probably explains the "bad
> file number" error I was getting on AIX, too...
And sure enough, that was it. Got the same results on AIX 5 as on other
systems:
kbrown(at)m048:~$ ./eatfds /usr/lib/librpm.so.0 /usr/lib/librpmbuild.so.0
dup() failed: Too many open files
Was able to use 1997 file descriptors
dup() failed: Too many open files
Was able to use 1997 file descriptors after opening 2 shared libs
kbrown(at)m048:~$ uname -a
AIX m048 1 5 0001063A4C00
--
Kevin Brown kevin(at)sysexperts(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Rawnsley | 2004-02-23 13:12:31 | Re: Too-many-files errors on OS X |
Previous Message | Kevin Brown | 2004-02-23 12:52:09 | Re: Too-many-files errors on OS X |