  In this paper, we study the regularity of the ergodic constants for the
viscous Hamilton--Jacobi equations. We also estimate the convergent rate of the
ergodic constant in the vanishing viscosity process.
