Getting kerberos to use fds > 256

Tom Yu tlyu at MIT.EDU
Mon Feb 11 20:10:03 EST 2002


>>>>> "craznar" == Christopher Burke <craznar at hotmail.com> writes:

craznar> Cesar.Garcia at morganstanley.com (Cesar Garcia) wrote in 
craznar> news:15464.24167.753532.322011 at imus.ms.com:

>> You might want to initialize the context when you application
>> starts up and reuse the same context. This would be more efficient
>> as well.

This may be a bad idea in a multi-threaded application.

craznar> THanks again ... kerberos no longer seems to be the limiting
craznar> factor - now I am getting error 22 returned after alot
craznar> heavier load.

This _may_ be because libkrb5 is not thread-safe... this is a
multi-threaded application, right?  It may be best to use a big lock
around all calls into libkrb5.

---Tom



More information about the Kerberos mailing list