i have program, written on c/c++ myself, killed linux. message "killed" appears. willing dig out problem observed inside file /var/log/kern.log:
out of memory: kill process 3915 (my_proj) score 236 or sacrifice child killed process 3915 (my_proj) total-vm:5503376kb, anon-rss:3857420kb, file-rss:40kb
i not know how read information , if there useful information understand why killed happened. can me?
you victim of linux oom killer.
you can tune way oom killer handles oom conditions processes. example, my_proj process 3915 killed earlier. if want not killed oom killer, can :
echo -15 > /proc/3915/oom_adj
Comments
Post a Comment