So I am fairly new at this game myself, but here is the most effective roster breakup I have found so far (from personal experience with a little advice from some helpful veterans)
I start with looking at the 46 active roster spots I can use. If you have a P and K (highly recommended) then you have 44 left. Being a little OCD, I split that up for 22 on offense and 22 on defense. From there it depends a little bit on your style of play, but this is what I have been using and trying to fill my rosters up with.
Offense- 2 QB, 3 RB, 1 FB, 3 TE, 5 WR, 8 OL
Defense- 4 DE, 4 DT, 6 LB, 5 CB, 3 S (If you really want a 5th DT, take it from the DE or LB position, but your backup DEs and LBs make for good special teamers)
Then you have 7 extra roster spots to do with whatever you want. I do like to have about 2 extra OL, 2 extra DL, and at least 1 more DB.
I know this is a little broader of an answer to your original question. But my take is that if you have 8 DTs on your roster, you're probably undermanned at another position, and may want to weigh those risks. Having 6 (or 7 in extreme cases) should be more than enough.