I have always thought that nerve-wracking was correct. One is wracked with pain, or am I wrong on that one, too?

(w)racking my brain for the answer...