Skip to content

Container limits #6

@rn123

Description

@rn123

Seems like container limit causes host vm to kill container process. Example with fasttext command and dmesg output.

root@de7f79f064e0:/workspace/wordembeddings# ./fastText/fasttext skipgram -input     /tmp/tmpsxvC6d/7f6f69c4-19cf-4fbe-8b39-27be374879c7.txt -output test/blah
Read 0M words
Number of words:  235
Number of labels: 0
Killed


[1518776.719042] Task in     /docker/de7f79f064e0493cb0e68d369d5b74378225c10853b24e17b25e776b6f745d74 killed as a  result of limit of /docker/de7f79f064e0493cb0e68d369d5b743 78225c10853b24e17b25e776b6f745d74
[1518776.719045] memory: usage 1572844kB, limit 1572864kB, failcnt 1812700
[1518776.719046] memory+swap: usage 0kB, limit 18014398509481983kB, failcnt 0
[1518776.719048] kmem: usage 0kB, limit 18014398509481983kB, failcnt 0
[1518776.719049] Memory cgroup stats for    /docker/de7f79f064e0493cb0e68d369d5b74378225c10853b24e17b25e776b6f745d74:   cache:704KB rss:1571848KB rss_huge:1404928KB mapped_file:608KB writeback:0KB inactive_anon:0KB active_anon:1561564KB inactive_file:0KB active_file:0KB  unevictable:0KB
[1518776.719070] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[1518776.719161] [43371]     0 43371     4508       63      16        0             0 entrypoint
[1518776.719165] [43413]     0 43413   328702    28640     162        0             0 node
[1518776.719169] [43425]     0 43425     4566      130      15        0             0 bash
[1518776.719172] [43436]     0 43436    78029    15294      89        0             0 jupyter-noteboo
[1518776.719175] [46335]     0 46335   629984   348594     733        0             0 fasttext
[1518776.719177] Memory cgroup out of memory: Kill process 46347 (fasttext) score 888 or sacrifice child
[1518776.724781] Killed process 46335 (fasttext) total-vm:2519936kB, anon-rss:1393904kB, file-rss:724kB

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