Skip to content

Latest builds requiring 8589934528 bytes of ram to launch #114

@EvilGeniusGames

Description

@EvilGeniusGames

This may be an issue with CKAN/BASE, but I am using OKFN as my base for our project.

when building the latest OKFN, I now receive from CKAN the following error on a 4GB test server.

ckan  | lock engine: pthread robust mutexes
ckan  | thunder lock: disabled (you can enable it with --thunder-lock)
ckan  | uWSGI http bound on 0.0.0.0:5000 fd 3
ckan  | uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 6
ckan  | Python version: 3.8.15 (default, Nov 10 2022, 13:35:13)  [GCC 10.2.1 20201203]
ckan  | Python main interpreter initialized at 0x7f01e8d5ac20
ckan  | python threads support enabled
ckan  | your server socket listen backlog is limited to 100 connections
ckan  | your mercy for graceful operations on workers is 60 seconds
ckan  | mapped 304776 bytes (297 KB) for 2 cores
ckan  | *** Operational MODE: preforking ***
ckan  | *** uWSGI is running in multiple interpreter mode ***
ckan  | spawned uWSGI master process (pid: 26)
ckan  | spawned uWSGI worker 1 (pid: 27, cores: 1)
ckan  | spawned uWSGI worker 2 (pid: 28, cores: 1)
ckan  | spawned uWSGI http 1 (pid: 29)
ckan  | malloc(): Out of memory [core/utils.c line 1801]
ckan  | !!! tried memory allocation of 8589934528 bytes !!!

CKAN from my last build uses

CONTAINER ID   NAME           CPU %     MEM USAGE / LIMIT     MEM %     NET I/O           BLOCK I/O         PIDS
c13eec16c2ca   ckan           0.01%     326.9MiB / 3.644GiB   8.76%     1.21MB / 3.31MB   7.54MB / 0B       7

now it requires 8GB when spooling up and settles back to 5GB

CONTAINER ID   NAME           CPU %     MEM USAGE / LIMIT     MEM %     NET I/O           BLOCK I/O        PIDS
00e113c9a83e   ckan           0.01%     5.282GiB / 7.723GiB   68.40%    521kB / 440kB     56.1MB / 422kB   7

Has anybody run into this before, and can you point me in the correct direction to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions