A range of concentrations exists in which fermentation inhibitors derived from pretreatment of lignocellulosic feed stocks inhibit growth of lactic acid bacteria without affecting fermentive yeast. By optimizing levels of fermentation inhibitors to fall within this range, yeast fermentations of lignocellulosic biomass can be conducted under non-sterile conditions with ethanol yields comparable to those achieved under sterile conditions. Optimised inhibitor levels can be achieved by controlling the water/biomass ratio of a lignocellulosic biomass during and after pretreatment, for example by washing the fiber fraction of a previously pretreated lignocellulosic biomass with a pre-defined amount of fresh water or recycled process solutions. Crude extracts of liquid fraction or process solutions from pretreatment of lignocellulosic biomass can also provide an effective anti-baterial treatment for first generation starch fermentations.