Skip to Content.
Sympa Menu

shibboleth-dev - Re: Oh, one more question about sunra..

Subject: Shibboleth Developers

List archive

Re: Oh, one more question about sunra..


Chronological Thread 
  • From: Derek Atkins <>
  • To: Scott Cantor <>
  • Cc: , "'Dan Pritts'" <>, "'Shibboleth Design Team'" <>
  • Subject: Re: Oh, one more question about sunra..
  • Date: 18 Jul 2003 12:36:12 -0400

We can add this to the 2.0 work-list, to change over from select() to
poll().

-derek

Scott Cantor
<>
writes:

> > The directory server was installed on 2/24/03.
>
> Thanks, that matched the date on the file. I'm assuming that you rebooted it
> at that point?
>
> If so, I'm pretty much lost as to why we just now noticed the problem, since
> I've run the target on and off there for the last several months. Not often,
> but this bug is impossible to miss. ;-)
>
> After thinking about it, it's clear to me that there's a problem with the
> sys/select.h header and the data types it defines if you raise the limit
> past 1024, *and* use a system call to determine the kernel parameter.
> Quoting the man page:
>
> The poll(2) function is preferred over this function. It must be used
> when the number of file descriptors exceeds FD_SETSIZE.
>
> Pretty clear, I guess.
>
> Anyway, there's no harm in having the lower number, since the directory
> there isn't going to be handling large numbers of connections, but I would
> guess that web servers tell sysadmins the same advice, and we'd kind of like
> Shib to work on web servers. ;-)
>
> -- Scott
>

--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH


PGP key available

------------------------------------------------------mace-shib-design-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at

http://archives.internet2.edu/

------------------------------------------------------mace-shib-design--




Archive powered by MHonArc 2.6.16.

Top of Page