i have rather simple script restarts process everytime exits, because process designed exit , restart using shell script.
typically, when crashes, exits this:code:#!/bin/bash while true echo "starting." ./program params done
which expected, program throwing exception , script restarts it. now, managed catch weird...code:terminate called after throwing instance of 'exception' ./program.sh: line 6: 16453 aborted ./program params
killed? how? why? specific, bash telling me program executed program.sh being killed. know kernel kill program being memory intensive, simple 200kb program not memory intensive in way, , restarts every ~hour eliminate possible memleaks.code:// program generating output normal, nothing weird. ./program.sh: line 6: 16445 killed ./program params
i've tried looking through log files should contain info, nothings there.
no 1 else has access pc, either directly or remotely. ideas on how track down why/how killed?code:gary@snuggles:/var/log$ sudo grep 16445 * [sudo] password gary: gary@snuggles:/var/log$
bump!
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Finding who (what) killed my process.
Ubuntu
Comments
Post a Comment