It seems that it is related to OPCache. Changed it's settings to flush information more ofter and it never happened again.