On Fri, Dec 28, 2018 at 11:16 AM My Kindle <zhpe78 at 163.com> wrote: > > Hi > > i will very appreciate if you can tell me how i can set my ocserv . > i always get log with ocserv[892]: sec-mod: maximum number of stored TLS sessions reached (64) , my ocserv is slow when users connect it . i have tried to search on Google . but i did't get useful information . so i send this email to you . Sorry to bother you and happy new year to you all : ) Hi, You can increase this number (64) but indirectly, via the `max-clients` configuration option. If you set max-clients to 512, then the number of cached sessions will be increased to 1024 (2x). However, this change or the informational message itself do not imply a performance drop. They only affect new session establishment, and I am not sure what does ocserv is slow means in your case. Could you clarify? regards, Nikos