After every week approximately, Gateway users cannot connect anymore and see the following error post login:
Error : "Internal server error-43552"
nsconmsg -K newnslog -d statswt0 -g mem_max | grep -i " MEM_AAA"
77 0 8589934590 mem_max_allowed MEM_AAA << Maximum memory allowed for AAA pool
NetScaler NS11.1: Build 51.26.nc, Date: Jan 31 2017, 00:12:01
----------------------------------------------------------------------------------------------------------------------
TotalMEM: (7690550784/7717519360) Allocated: 6826496064(88.45%) ActualInUse: 4091090429(53.01%) Free: 891023296
MEMPOOL MaxAllowd CurAlloc ErrLmtFailed ErrAllocFailed ErrFreeFailed
Bytes (Own%)(Overall%)
----------------------------------------------------------------------------------------------------------------------
MEM_CONN 8589934590 268446208(3.13% 3.48%) 0 1612 0
MEM_POLENG 8589934590 430659968(5.01% 5.58%) 0 0 0
MEM_AUDITLOG 8589934590 107396224(1.25% 1.39%) 0 0 0
MEM_AAA 8589934590 4848615424(56.45% 62.83%) 0 362520 0
MEM_ICA 8589934590 391486976(4.56% 5.07%) 0 0 0
MEM_TBUF 8589934590 186646528(2.17% 2.42%) 0 0 0
AAA_POOL_MEMBERS:
Name CurAllocd CurFree PgAllocd PgAllocFailed
----------------------------------------------------------------------------------
AAASESSION 858948 441728 2309 (62.7%) 362520
AAAPCBINFO 2796 1536 3 (0.1%) 0
Reduce the session timeout to a lower value like 10 minutes. This will help in releasing the memory faster avoiding memory leaks.