Etymology
Today it means: So as to cause suffering. Full definition →
From racking + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.