[695] in Pthreads mailing list archive
File Descriptors?
daemon@ATHENA.MIT.EDU (Andrew N. Edmond)
Sun Aug 3 23:54:00 1997
Date: Sun, 3 Aug 1997 20:38:59 -0700 (PDT)
From: "Andrew N. Edmond" <edmond@shaman.lycaeum.org>
To: pthreads@MIT.EDU
Cc: mysql@tcx.se
I am trying desperately to figure out how to get mit-pthreads (v1.60b6) to
use more than FreeBSD's 256 default (FD_SETSIZE) file descriptors.
When I try to set a higher number by including this before the sys/types.h
include (like so:)
#define FD_SETSIZE 1024
it still doesn't work. So I went in and did an entire OS recompile with
1024 FD_SETSIZE for standard libraries, and built mitpthreads again.
Still, I get the following error message:
/usr/ports/databases/mysql/work/mysql-3.20.22/mit-pthreads/pthreads/fd_kern.c:179:
Phtreads kernel panic.
Abort (core dumped)
The section of code at fault:
----- fd_kern.c ---------
while ((count = machdep_sys_select(dtablesize, &fd_set_read,
&fd_set_write, &fd_set_except,
timeout)) < OK)
{
if (count == -EINTR)
return 0;
PANIC();
}
-------------------------
Anybody have any clue on how to fix/remedy this problem?
Andy
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
\-/ :::::::: Andrew N. Edmond - finger for PGP key :::::::::: \-/
/-\ :::::: ............ :::::: /-\
\-/ ::: edmond@lycaeum.org :::::: an1@anon.nymserver.com ::: \-/
/-\ : Director of the Lycaeum :: the Nymserver Administrator : /-\
\-/ ::: www.lycaeum.org :::::: www.nymserver.com ::: \-/
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::