### Description
Kamailio segfaults on startup. After a bit of digging, it looks like the issue
is caused by trying to publish something related to an expired dalog which is
present in the database:
```
kamailio=# select * from dialog;
id | hash_entry | hash_id | callid |
Hi Daniel / Henning,
I would like to propose a global config to restore the non-threaded default:
enable_tls = no|yes #(EXISTING) boolean
enable_tls_threads = 0 | 1 | 2 #(NEW) int
0: disable thread-wrappers (restores kamailio behaviour)
- default when enable_tls = no
1: thread-wrapper only for
Pre-Submission Checklist
- [X] Commit message has the format required by CONTRIBUTING guide
- [X] Commits are split per component (core, individual modules, libs, utils,
...)
- [X] Each component has a single commit (if not, squash them into one commit)
- [X] No commits to README files for mo
For 5.7 stable I have a draft PR
https://github.com/kamailio/kamailio/pull/3744 that minimises
thread execution: it will run functions in a thread only if process_no = 0.
This restores unchanged
behaviour to all workers. FYC.
On Tue, 6 Feb 2024 at 16:02, Henning Westerholt via sr-dev <
sr-dev@list
no idea what this is?
Henning
On Tue 6. Feb 2024 at 12:34, space88man ***@***.***> wrote:
> Pre-Submission Checklist
>
>- Commit message has the format required by CONTRIBUTING guide
>- Commits are split per component (core, individual modules, libs,
>utils, ...)
>- Each componen
> no idea what this is? Henning
This is related to your comment on the 5,7 stable branch: this PR restricts
thread wrapping to process_no=0, i.e., from workers POV - no change in
behaviour so the same as 5.7.4, 5.7.3 ...
For process_no=0 it will run libssl calls in a thread to prevent thread l
Hi Henning,
Thank you very much for your reply.
I have a question: what do you mean when you talk about using ndb_mongodb
module? Do you mean to use it from the configuration file or inside a module
code?
Our use case is to save all contacts related to an AOR in the same MongoDB
document as an
@space88man: regarding the above comment, you tagged the wrong Henning in the
PR description, the one involved in Kamailio development is @henningw.
The patch in PR seems ok, just wait a bit till merging just in case someone
else wants to take a look.
--
Reply to this email directly or view it
Module: kamailio
Branch: master
Commit: 4d6e37fa048a1aaa2d2fc6655985b4bcb9754258
URL:
https://github.com/kamailio/kamailio/commit/4d6e37fa048a1aaa2d2fc6655985b4bcb9754258
Author: Daniel-Constantin Mierla
Committer: Daniel-Constantin Mierla
Date: 2024-02-06T14:24:08+01:00
core: added tls_thread