Skip to content

[BUG] metrics:timer() call failed : no memory, context: ngx.timer #3026

@LiloBzH

Description

@LiloBzH

What happened?

Hi

Issue with metric. problem of memory

The bug was reported to be patched in version 1.6.5, but that's not the case :(

How to reproduce?

nothing. reboot and wait !

Configuration file(s) (yaml or .env)

services:
  bunkerweb-aio:
    image: bunkerity/bunkerweb-all-in-one:1.6.6
    container_name: bunkerweb-aio
    ports:
      - "80:8080/tcp"
      - "443:8443/tcp"
      - "443:8443/udp"
    environment:
      TZ: "Europe/Paris"
      
      SERVER_NAME: "xxxxxxxxxxxxxxxx.com"
      MULTISITE: "yes"
      DISABLE_DEFAULT_SERVER: "yes"
      xxxxxxxxxxxxxxxx.com_USE_TEMPLATE: "ui"
      xxxxxxxxxxxxxxxx.com_USE_REVERSE_PROXY: "yes"
      xxxxxxxxxxxxxxxx.com_REVERSE_PROXY_URL: "/admin"
      xxxxxxxxxxxxxxxx.com_REVERSE_PROXY_HOST: "http://127.0.0.1:7000"

      # API settings
      SERVICE_API: "no"
      API_USERNAME: "xxxxxxxxxx"
      API_PASSWORD: "xxxxxxxxxxxx"
      API_ROOT_PATH: "/admin" # Match REVERSE_PROXY_URL

    volumes:
      - bw-storage:/data
    networks:
      - bw-universe

volumes:
  bw-storage:

networks:
  bw-universe:
    name: bw-universe

Relevant log output

[NGINX.ERROR] 2026/01/02 10:29:18 [error] 389#389: *223617 [METRICS] can't (safe) set requests_4 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:18 [error] 389#389: *223617 [TIMER-4] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:18 [error] 386#386: *223614 [METRICS] can't (safe) set requests_1 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:18 [error] 386#386: *223614 [TIMER-1] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:18 [error] 387#387: *223621 [METRICS] can't (safe) set requests_2 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:18 [error] 387#387: *223621 [TIMER-2] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 389#389: *223629 [METRICS] can't (safe) set requests_4 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 388#388: *223625 [METRICS] can't (safe) set requests_3 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 388#388: *223625 [TIMER-3] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 389#389: *223629 [TIMER-4] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 385#385: *223627 [METRICS] can't (safe) set requests_0 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 385#385: *223627 [TIMER-0] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 387#387: *223635 [METRICS] can't (safe) set requests_2 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:24 [error] 387#387: *223635 [TIMER-2] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:23 [error] 386#386: *223631 [METRICS] can't (safe) set requests_1 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:24 [error] 386#386: *223631 [TIMER-1] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:28 [error] 389#389: *223643 [METRICS] can't (safe) set requests_4 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:28 [error] 389#389: *223643 [TIMER-4] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:28 [error] 388#388: *223641 [METRICS] can't (safe) set requests_3 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:29 [error] 388#388: *223641 [TIMER-3] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:29 [error] 387#387: *223648 [METRICS] can't (safe) set requests_2 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:29 [error] 387#387: *223648 [TIMER-2] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:29 [error] 385#385: *223646 [METRICS] can't (safe) set requests_0 : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:29 [error] 385#385: *223646 [TIMER-0] metrics:timer() call failed : no memory, context: ngx.timer
[NGINX.ERROR] 2026/01/02 10:29:29 [error] 386#386: *223652 [METRICS] can't (safe) set requests_1 : no memory, context: ngx.timer

BunkerWeb version

1.6.6

What integration are you using?

Docker

Linux distribution (if applicable)

Proxmox / CT Debian 13.2 / 6.17.4-2-pve

Removed private data

  • I have removed all private data from the configuration file and the logs

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions