Article 5GJ6P I am an idiot, need advice. (runaway sqlite3 script)

I am an idiot, need advice. (runaway sqlite3 script)

by
kaz2100
from LinuxQuestions.org on (#5GJ6P)
Hya,

Situation
With a perfect Debian amd64 system, an idiot did something wrong, submitting a crazy query to sqlite3 script.

What happened
A xterm was running "top", and it shows the sqlite3 script ate up entire memory, entire swap... then mouse and keyboard stopped working. I should have stopped the script as soon as possible, but too late. Then x died, user session died. Then, keyboard is back.

It looks like things are back normal after reboot (and take care of several opened files).
What is the best way to recover, if this happens next time?

Is there anything I need to do with sqlite data file? (It looks good now)

I agree I am 100% guilty with no excuse.

regretfully
cheerslatest?d=yIl2AUoC8zA latest?i=sKCK2qyu38c:rl5_wh3oBWw:F7zBnMy latest?i=sKCK2qyu38c:rl5_wh3oBWw:V_sGLiP latest?d=qj6IDK7rITs latest?i=sKCK2qyu38c:rl5_wh3oBWw:gIN9vFwsKCK2qyu38c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments