Forces struggle to contain riots