Skip to content

Commit

Permalink
pkg: increase P_MEMORY and S_MEMORY values
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzccl committed Oct 31, 2023
1 parent 6dbd685 commit 1402bdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packaging/debian/opensips.default
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ USER=opensips
GROUP=opensips

# Amount of shared memory to allocate for the running OpenSIPS server (in Mb)
S_MEMORY=64
S_MEMORY=1024

# Amount of pkg memory to allocate for the running OpenSIPS server (in Mb)
P_MEMORY=4
P_MEMORY=512

# Enable the server to leave a core file when it crashes.
# Set this to 'yes' to enable OpenSIPS to leave a core file when it crashes
Expand Down
2 changes: 1 addition & 1 deletion packaging/debian/opensips.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ User=opensips
Group=opensips
RuntimeDirectory=opensips
RuntimeDirectoryMode=775
Environment=P_MEMORY=32 S_MEMORY=32
Environment=P_MEMORY=512 S_MEMORY=1024
EnvironmentFile=-/etc/default/opensips
PermissionsStartOnly=yes
PIDFile=%t/opensips/opensips.pid
Expand Down

0 comments on commit 1402bdc

Please sign in to comment.