Hello,

Would anyone have insight into the following errors? We saw several thousand of them appear in a short period of time:

Jul 24 10:41:36 vpbx11 /sbin/kamailio[54805]: ERROR: tls [tls_server.c:192]: tls_complete_init(): tls: ssl bug #1491 workaround: not enough memory for safe operation: shm=67537152 threshold1=76546048
Jul 24 10:41:36 vpbx11 /sbin/kamailio[54805]: ERROR: tls [tls_server.c:192]: tls_complete_init(): tls: ssl bug #1491 workaround: not enough memory for safe operation: shm=67536032 threshold1=76546048

However there should have been plenty of shared memory available. These were take around 30 minutes later:

# kamctl stats shmem
{
  "jsonrpc":  "2.0",
  "result": [
    "shmem:fragments = 407525",
    "shmem:free_size = 4117928416",
    "shmem:max_used_size = 4256807952",
    "shmem:real_used_size = 177038880",
    "shmem:total_size = 4294967296",
    "shmem:used_size = 111803416"
  ],
  "id": 56272
}

# kamcmd pkg.stats pid 54805
{
entry: 121
pid: 54805
rank: -1
used: 1249880
free: 6475408
real_used: 1913200
total_size: 8388608
total_frags: 1185
}

# ps -ef | grep kama | wc -l
148

Thanks in advance for any tips or insight!

--
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782