Onset of nonlinear regime in beam-plasma interactions