본문 바로가기
모바일앱 프로젝트

AWS killed

by Nicole 2021. 3. 18.

1. $ sudo dmesg

The above command can show the elaborations of what caused the error

 

discuss.pytorch.org/t/code-stopping-with-text-killed/13827/2

According to a reference above, obviously Linux kernel has a mechanism of 'killing processes' that takes up all CPU ram.

I have double checked the process when the server ran on localhost.

Same warning with torch occurs.

So, the error is, for sure, coming from the out of memory of RAM.

 

How am I dealing with this?

1) Downsizing the network is one option.

discuss.pytorch.org/t/code-stopping-with-text-killed/13827/2

 

Code stopping with text "Killed"?

I encountered the same issue. When you said it took up too much resources, are you referring to the GPU?

discuss.pytorch.org

2) 

github.com/torch/torch7/issues/605

 

System freeze, or 'Killed' error · Issue #605 · torch/torch7

Hi guys, I've posted in detail about the issue here, but I thought it was worthwhile to create an issue here as well, since causing a system freeze is probably a bug. As I mentioned in the user...

github.com

pytorch.org/docs/stable/notes/faq.html

 

Frequently Asked Questions — PyTorch 1.8.0 documentation

Shortcuts

pytorch.org

www.digitalocean.com/community/questions/out-of-memory-killed

 

Out of Memory Killed | DigitalOcean

Hi Syslog ``` Aug 16 13:01:23 ubuntu-512mb-nyc3-01 kernel: [12176.988105] Out of memory: Kill process 22112 (python) score 587 or sacrifice child Aug 16 13:01:23 ubuntu-512mb-nyc3-01 kernel: [12176.991195] Killed process 22112 (python) total-vm:129969

www.digitalocean.com

>> the last reference when the cause is mysqldb

댓글