When monitoring a real production process using statistical methods, the question of early detection of violations arises. In most cases, several indicators are monitored simultaneously in the production process, and a change in the values of some indicators leads to a change in others. If there is a dependence of indicators for their monitoring, multivariate statistical control tools are used, in particular generalized variance chart. By varying the parameters of the chart, its efficiency can be significantly increased, this allows minimizing the time the process is in an unstable state.Applying the approach of A. Duncan, which he developed for Shewhart charts, a formula for the expectation of the duration of an unstable state of a process was obtained and a Python program was developed to minimize it. To test the set optimization problem, the calculation of the data of two process indicators is given and the optimal parameters of the generalized variance chart are obtained, at which the duration of the process in an unstable state is minimal.