Maximum loadavg limit exceeded

From Kolmisoft Wiki
Revision as of 06:47, 14 March 2016 by Nerijuss (talk | contribs) (Created page with 'If Asterisk CLI prins message like that: WARNING[2022] pbx.c: Maximum loadavg limit of 4.000000 load exceeded by 'SIP/12345-00001234' (currently 4.030000)! It means that load …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

If Asterisk CLI prins message like that:

WARNING[2022] pbx.c: Maximum loadavg limit of 4.000000 load exceeded by 'SIP/12345-00001234' (currently 4.030000)!

It means that load limit is reached and therefore Asterisk is not accepting new calls to prevent load to go even higher.

Load limit can be adjusted in file /etc/asterisk/asterisk.conf

...
maxload = 4
...

By default it set to number of CPU cores.

We recommend to set this value no more than "number of CPU cores" x 2. For 4 cores CPU it would be value "8".

After editing file please restart Asterisk to apply changes.

/etc/init.d/asterisk restar

If problem continues with increased load limit, solutions are following:

  • Upgrade hardware or current server;
  • Add additional Asterisk server and route traffic through it;
  • Decrease amount of traffic.