I always cut them out and weave in the ends... I don't like knots in my knitting anyway, but I also read the same thing in Knitting Without Tears.
If a ball of yarn seems to have an unusual amount of knots, I'd say 3 max
(but just 2 irritates me), return it to the shop. They can return it to the supplier and let them know of a bad batch.