?
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

awake [Jun. 9th, 2000|02:47 pm]
Brad Fitzpatrick
Awake ... finally. Damn mom was annoying ... trying to wake me up all morning. I stayed up 'till 5am ... what to you expect? Woke up to livejournal being down ... I messed with too much stuff last night. Does anybody know how to determine on FreeBSD what FD_SETSIZE is set at in libc? I remember increasing it oh-so-long-ago from its pathetic 256, but can't remember what I set it to ... I need to know to tell Apache, since it can't even figure it out on its own. Evan? Any of Evan's friends?
LinkReply

Comments:
From: _bassta_
2000-06-09 02:52 pm (UTC)

FreeBSD

Try seaching all the BBS or post on Usenet... I can't tell you since I use glic and I don't use FreeBSD anymore since a long time...
(Reply) (Thread)
[User Picture]From: bradfitz
2000-06-09 03:02 pm (UTC)

Re: FreeBSD

I'm stuck with FreeBSD for now ... I hate it, this version is so old, too... nothing builds on it easily. Fucking annoying. Would rather run Linux.
(Reply) (Parent) (Thread)
[User Picture]From: riftwalk
2000-06-09 03:05 pm (UTC)

Re: FreeBSD

What version of FreeBSD?
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2000-06-09 03:08 pm (UTC)

Re: FreeBSD

2.2.6-RELEASE
(Reply) (Parent) (Thread)
From: _bassta_
2000-06-09 03:10 pm (UTC)

What about this ??

--------------------------------------------
#include
[Error: Irreparable invalid markup ('<sys/types.h>') in entry. Owner must fix manually. Raw contents below.]

--------------------------------------------
#include <sys/types.h>
#include <stdio.h>

int main()
{
fprintf(stderr, "%i\n", FD_SETSIZE);
exit(0);
}
--------------------------------------------
I think it work... well on my linux box with glic anyway...
(Reply) (Thread)
[User Picture]From: bradfitz
2000-06-09 03:12 pm (UTC)

Re: What about this ??

Thanks!

But this sucks now ... my FD_SETSIZE is only 256... Which means I have to rebuild my libc, which I'm not sure how to do painlessly without interrupting service.
(Reply) (Parent) (Thread)
From: _bassta_
2000-06-09 03:14 pm (UTC)

Re: What about this ??

Prepare everything and do it at night ... when there is not so much people online...
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2000-06-09 03:15 pm (UTC)

Re: What about this ??

I don't know HOW to prepare everything. :)
(Reply) (Parent) (Thread)
From: _bassta_
2000-06-09 03:23 pm (UTC)

Re: What about this ??

Well neither do I :) Never had to recompile glibc ... And didn't have FreeBSD anymore...

The only thing I know is you will have to do more than just 'configure' and 'make' ... :)
(Reply) (Parent) (Thread)
From: _bassta_
2000-06-09 03:19 pm (UTC)

Re: By the way ...

I found on the glibc doc that FD_SETSIZE is defined as a macro inside 'sys/types.h'. Read it here
(Reply) (Parent) (Thread)
From: _bassta_
2000-06-09 03:58 pm (UTC)

Re: What about this ??

Euh the correct URL is this one
(Reply) (Parent) (Thread)
[User Picture]From: d4b
2000-06-09 04:46 pm (UTC)

Mom

Mom may have a point. :-)

Don't forget the three-hour time-zone shift tomorrow. :-)
(Reply) (Thread)