try this one now... :)

Eric Hodel drbrain at segment7.net
Tue Sep 5 05:00:11 UTC 2006


On Sep 4, 2006, at 9:55 PM, Brad Fitzpatrick wrote:

> Eric,
>
> http://www.opengroup.org/onlinepubs/000095399/basedefs/sys/uio.h.html
>
>   "Traditionally, the maximum number of scatter/gather elements the  
> system
>   can process in one call were described by the symbolic value
>   {UIO_MAXIOV}.  In IEEE Std 1003.1-2001 this value is replaced by the
>   constant {IOV_MAX} which can be found in <limits.h>."
>
> Do you have a UIO_MAXIOV defined on FreeBSD 4?

There is a UIO_MAXIOV hidden behind a #ifdef _KERNEL, and its value  
is 1024:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/uio.h? 
rev=1.11.2.2&content-type=text/x-cvsweb-markup&only_with_tag=RELENG_4

-- 
Eric Hodel - drbrain at segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com




More information about the memcached mailing list