Made another test with mode=0, xlog ends up on the `slow timer` process, not `timer`:
```
Process:: ID=9 PID=13311 Type=slow timer
Feb 5 12:34:22 /usr/sbin/kamailio[13311]: ERROR: <script>: rtimer sql
Feb 5 12:34:22 /usr/sbin/kamailio[13311]: DEBUG: db_cluster [dbcl_api.c:368]:
db_cluster_raw_query(): executing db cluster raw query command
Feb 5 12:34:22 /usr/sbin/kamailio[13311]: DEBUG: db_cluster [dbcl_api.c:369]:
db_cluster_raw_query(): serial operation - cluster [k1] (9/0)
```
whereas the SSL error is seen on:
```
Process:: ID=10 PID=13312 Type=timer
Feb 5 12:32:42 /usr/sbin/kamailio[13312]: ERROR: db_mysql [km_dbase.c:124]:
db_mysql_submit_query(): driver error on query: SSL connection error: socket layer receive
error (2026)
Feb 5 12:32:42 /usr/sbin/kamailio[13312]: ERROR: <core> [db_query.c:181]:
db_do_raw_query(): error while submitting query
Feb 5 12:32:42 /usr/sbin/kamailio[13312]: DEBUG: db_cluster [dbcl_api.c:369]:
db_cluster_raw_query(): serial operation - failre on cluster [k1] (9/0)
Feb 5 12:32:42 /usr/sbin/kamailio[13312]: DEBUG: db_cluster [dbcl_api.c:369]:
db_cluster_raw_query(): serial operation - cluster [k1] (1/0)
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/406#issuecomment-180310874