How to fix gap between carpet and wall to prevent rodent?
When the management company sent a pest control specialist out to our apartment to deal with mice, he stuffed coarse steel wool or wire mesh into any little crevasses like that he could find. He claimed the mice couldn't chew through it, didn't like the feel of it. Not a great permanent solution, but maybe a good first try?