[medusa] select error on win32

Sam Rushing rushing@n...
Thu, 17 Jun 1999 09:26:35 -0700 (PDT)


Amos Latteier writes:
> They are using ZServer on win32 on a fairly heavily trafficked site.
> This error halts the server.

> Does anyone (I mean does Sam ;-) have any ideas about what may be
> causing the select loop to fail, and what ZServer may be able to do to
> mitigate these problems?

There are no hard limits on NT, but you have to recompile your
application. In this case you need to have another version of
socket.pyd compiled with FD_SETSIZE=1024 (or some other larger
number).

This is true of most platforms, because FD_SETSIZE is a macro.
On FreeBSD I'm using FD_SETSIZE=8192 without any troubles.

Pay no attention to the WSAStartup 'MaxSock' parameter, it's supposed
to be ignored if you're using winsock2.

-Sam


------------------------------------------------------------------------

eGroups.com home: http://www.egroups.com/group/medusa
http://www.egroups.com - Simplifying group communications