DMX -- Locked Up for 6 Months!

You can only fight the law for so long -- DMX got thrown behind bars today, and if he's lucky ... he'll be out for the holidays. The rapper was jailed in Buffalo, NY on Tuesday for failing to comply with a family court ruling. He was slapped with a 6 month sentence, and immediately locked up in Erie County Holding Center. DMX has been repeatedly arrested for all sorts of violations, but hasn't done hard time since 2011 ... when he did a 7 month bit in AZ.