Lymphadenitis occurs when the lymph glands become enlarged by swelling, usually in response to bacteria, viruses, or fungi. The swollen glands are usually found near the site of an infection, tumor or inflammation.