Might see the obvios,see if water going over overflow.If it's a fill valve with a ball on the end,they tend to do that making a humming sound.Change with a fluidmaster.Might put some food coloring in tank and see if flapper is leaking any water not letting it shut off.
It can be because of blockage in the way of drainage. You can put acid in it so that if there is any thing, it can be resolved other than it, it can also be due to some issues in the drainage pipes. If acid does not work do go for settings.