Answer the question
In order to leave comments, you need to log in
Killed in the console when executing the script, what should I do?
The script launched from the console works, the script parses the same type of pages of the same size, at completely different intervals the message Killed appears. I look at the kern log:
Sep 24 08:19:49 servername kernel: [11101333.633259]
Out of memory in UB 13287: OOM killed process 7145 (phantomjs)
score 0 vm:2083576kB, rss:432876kB, swap:0kB
Answer the question
In order to leave comments, you need to log in
The message says that the script used all the memory and the system had to kill it.
If you didn't set limits specifically for it (for example, with the help of cgroups), then they are hardly applicable. However, cgroups will not save you from the fact that the script uses all the memory. Probably, you need to look in the direction of optimizing the script.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question