Plays a role in innate immunity, probably via the atf-7 pathway, to confer resistance to pathogenic bacteria. May also play a role in the regulation of longevity. Expressed in the posterior cells of the intestine in L4 larva. Up-regulated following infection with P.luminescens subsp Hb and E.faecalis bacteria. RNAi-mediated knockdown in larvae results in reduced survival following infection with the pathogenic bacterium P.luminescens. RNAi-mediated knockdown in a glp-1 e2141 mutant background (in which germ cells are deleted) rescues the increased lifespan phenotype of the glp-1 mutant.