Inrush current into capacitor bank
It's common to use a circuit like this known as pre-charge stage. Initially you limit the inrush with the resistor and then you shunt it with the relay contact. Also, there are inrush current limiters (thermistors) for this with the disadvantage they heat up a lot.  One needs more details about your application in order to give better answers.