The solids in a septic tank can be eaten by aerobic or anaerobic bacteria. These microbes produce methane gas as a byproduct of their digestion process. The optimally pH for septic bacteria is between 6.5 and 7.5.