you don't give much information. Aside from pressure drop, pipe size, length, and surface roughness, it's also an issue of configuration off the 2" off of the 10". A branch off the T (probably what you have), will have more pressure drop, and so usually less flow, but driven also by the pressure in the 10".
If one is to design a system for flow, optimal velocity is around 7 ft/sec, or 2.1 m/s. That would mean around 75 gpm. You would be hard pressed to get more than about 100 gpm in the 2 inch line, and virtually assured to be at least 50 gpm.