Why did this server run out of disk space?

Less than two hours after I logged into the admin end of this website, which is powered by WordPress, the site went offline, with a 502 Bad Gateway error. What the???? So I logged in via ssh and noticed a serious lag between when I type a letter and when it appears on the screen. I’ve got a problem.