From the bureau of parks on immigrating before 1921:

Arrivals were asked 29 questions including name, occupation, and the amount of money carried. It was important to the American government the new arrivals could support themselves and have money to get started. The average the government wanted the immigrants to have was between 18 and 25 dollars ($600 in 2015 adjusted for inflation). Those with visible health problems or diseases were sent home or held in the island's hospital facilities for long periods of time. More than 3,000 would-be immigrants died on Ellis Island while being held in the hospital facilities. Some unskilled workers were rejected because they were considered "likely to become a public charge." About 2% were denied admission to the U.S. and sent back to their countries of origin for reasons such as having a chronic contagious disease, criminal background, or insanity


Then in 1921 a stricter quota was put in place, followed by a ban in 1926 on most immigration form Europe.