To be on the rack

to suffer torture, physical or mental.

See also: Rack

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.