It could be the OS, but I have seen cabling and displays themselves causing that issue before. I have a friend who has an iMac with an external display that recently would intermittently go black/blank. He had the display checked out, and its internal board had started to fail. He replaced it, and the issue has not come back.
Do both monitors go black, or just one?
I would try running the external displays one at a time, and/or swapping their connection ports if possible to see if that resolves the issue.
C