Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5147

Copt lib incorrect processes memory limit with G postfix

    Details

      Description

      MEMORY LIMIT REACHED! Profiling was stopped to save memory for script processing.

                                          • Stats for script *************************
                                            Total time: 1339005643.4812
                                            Memory limit : 8G
                                            Memory usage : 2.25M - 13.5M (11.25M)
                                            Memory peak : 13.5M
                                            SQL selects count: 22
                                            SQL executes count: 6
                                            SQL requests count: 1
                                            Time:0.000728 SQL: SET NAMES utf8
                                            Total time spent on SQL: 0.000728
                                            • End of script ***************************

      It happens in "ini_get('memory_limit') * 0.8 * 1024 * 1024)" formula. The formula doesn't consider all postfixes except 'M'.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dotneft Alexey Pustovalov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: