Hello,
On 23.11.19 23:23, Henning Westerholt wrote:
Module: kamailio
Branch: master
Commit: 063e6a025b8ca0163af2147f057d29447c6f9760
URL:
https://github.com/kamailio/kamailio/commit/063e6a025b8ca0163af2147f057d294…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-11-23T22:49:28+01:00
core: increase SHM memory pool to 128 MB
- increase SHM memory pool to 128 MB
- even an embedded system like Raspberry Pi has 1 GB RAM nowadays
- make it less likely that new users run into issues because of lack of memory
I am curious about the last remark, can you priovide more details on
issues for new uses because lack of memory? I haven't noticed and such
report on mailling lists or issue tracker later, whondering if it is
some particular use case that can lead to this issue.
Because a start of kamailio with default config file is using less than
3MB of shared memory, being plenty of space to fill up to 64MB with
registrations, transactions, etc... states taken a few minutes ago with
git master branch:
"shmem:max_used_size = 2836288",
"shmem:real_used_size = 2836288",
"shmem:used_size = 2594376"
Then, my actual remark is that I think the new users tend to use the
packages, which use init.d/systemd to start kamailio, and there are
values for pkg and shm sizes in the unit files, so this change doesn't
really make a difference, because kamailio is started with different -m
and -M command line parameters.
Cheers,
Daniel
[...]
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference - April 27-29, 2020, in Berlin --
www.kamailioworld.com