Getting kerberos to use fds > 256
Christopher Burke
craznar at hotmail.com
Mon Feb 11 20:28:05 EST 2002
tlyu at mit.edu (Tom Yu) wrote in news:ldveljr33pw.fsf at saint-elmos-
fire.mit.edu:
>>> 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.
Multi threaded - yes, but all my kerberos calls are made within a single
mutex protected block....
>
> 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.
Already done ...
--
---
/* Christopher Burke - Spam Mail to craznar at hotmail.com
|* www.craznar.com -
\* Real mail to cburke(at)craznar(dot)com
More information about the Kerberos
mailing list