[CalendarServer-users] calendarserver 3.2 on Debian unstable throwing error "socket.error: [Errno 22] Invalid argument" out of the box?

Glyph glyph at twistedmatrix.com
Wed Jul 11 10:15:24 PDT 2012


Le Jul 11, 2012 à 6:40 AM, Tobias Balle-Petersen <tobiasbp at gmail.com> a écrit :

> 
> 
> Chris Cleeland-3 wrote:
>> 
>> Based on the commit message here:
>> 
>> https://trac.calendarserver.org/browser/CalendarServer/trunk/twext/python/sendfd.py
>> 
>> it sounds like you might be able to disable this feature.
>> 
> 
> Good spotting Chris!
> 
> I disabled the feature "UseMetaFD" in this file:
> /usr/lib/python2.7/dist-packages/twistedcaldav/stdconfig.py
> 
> The server now responds when connecting at port 8008 and throws no errors in
> the log. That is, "It's working".
> 
> Any idea what feature "UseMetaFD" does (In layman's terms) ? Should I worry
> about it now being disabled?

The UseMetaFD option is not to be set by laymen, so there are no layman's terms for it :).

What it does is change the way file descriptors are distributed among processes.

You should definitely worry about it being disabled.  The option is only still present for tuning and development purposes - basically, to see if the strategy we currently use ever has problems with new or different hardware or operating systems.

Things might work OK for a while with this option disabled, but be aware that the developers don't test in that configuration at all and the ability to disable it may one day disappear.

-glyph


More information about the calendarserver-users mailing list