At startup, p4.el does a check "p4 -d <dir> help edit". If the perforce server cant handle this request due to a backup happening or something like that, this command takes forever, "hanging" emacs. It should have a tiny, preferably configurable timeout.