I doubt that the batteries were actually boiling, it is usually just the sound of the bubbles of hydrogen and oxygen being produced by the electrolytic action during the normal charging process of a "flooded" lead acid battery. Check out
this site for further information on the bubbling batteries which should put your mind at ease.
Your charger should stop the bulk charge completely
(or switch over to a trickle charge) when it reaches ~58.8V
(2.45V per cell), as this is typically the maximum recommended charging voltage for a 48V lead acid battery, but some chargers can go as high as 60V
(2.5V per cell) if they have a
equalisation charge function.
I have also read that some inverters used for charging lead acid storage batteries from solar panels will actually go as high as 61.2V
(2.55V per cell).
It might be worth checking the resting voltages of each of the 8 batteries, just to confirm that they are all at a similar state of charge.
Further general information on charging lead acid batteries can be found
here.
Alan