Git repository is not able to mark as imported

Team,

It’s been 4 days we have setup the phabricator to observer the hosted git repository. Unfortunately it is not able to make completed. The status is at around 99.66% for past 3 days and is not moving forward only.

When I run ./phd log, I see below logging.

Daemon 18 WAIT [Fri, 27 Apr 2018 15:46:05 +0000] Waiting 163 second(s) to restart process.
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000] [2018-04-27 15:48:31] EXCEPTION: (PhutilProxyException) Task "1500519" encountered a permanent failure and was cancelled. {>} (PhabricatorWorkerPermanentFailureException) Commit "rFEATUREff815ab3c5c883fe0f833045faf26660e931cd66" (with internal ID "273016") is no longer reachable from any branch, tag, or ref in this repository, so it will not be imported. This usually means that the branch the commit was on was deleted or overwritten. at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:30]
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000] arcanist(head=master, ref.master=ad3087e5e151), phabricator(head=master, ref.master=16af0d35e510), phutil(head=master, ref.master=20eff1c8d14f)
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000]   #0 <#3> PhabricatorRepositoryCommitParserWorker::loadCommit() called at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:46]
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000]   #1 <#3> PhabricatorRepositoryCommitParserWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:123]
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000]   #2 <#3> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:171]
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000]   #3 <#3> PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000]   #4 phlog(PhutilProxyException) called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:34]
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000]   #5 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:219]
Daemon 20 STDE [Fri, 27 Apr 2018 15:48:32 +0000]   #6 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:131]
Daemon 18 INIT [Fri, 27 Apr 2018 15:48:48 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 15:49:05 +0000] Process is preparing to hibernate for 164 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 15:49:05 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 15:49:05 +0000] Waiting 164 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 15:51:49 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 15:52:06 +0000] Process is preparing to hibernate for 163 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 15:52:06 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 15:52:06 +0000] Waiting 163 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 15:54:49 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 15:55:05 +0000] Process is preparing to hibernate for 165 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 15:55:05 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 15:55:05 +0000] Waiting 165 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 15:57:50 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 15:58:09 +0000] Process is preparing to hibernate for 161 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 15:58:09 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 15:58:09 +0000] Waiting 161 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 16:00:50 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 16:01:08 +0000] Process is preparing to hibernate for 163 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 16:01:08 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 16:01:08 +0000] Waiting 163 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 16:03:51 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 16:04:05 +0000] Process is preparing to hibernate for 166 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 16:04:05 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 16:04:05 +0000] Waiting 166 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 16:06:51 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 16:07:06 +0000] Process is preparing to hibernate for 165 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 16:07:06 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 16:07:06 +0000] Waiting 165 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 16:09:51 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 16:10:10 +0000] Process is preparing to hibernate for 162 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 16:10:10 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 16:10:10 +0000] Waiting 162 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 16:12:52 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 16:13:09 +0000] Process is preparing to hibernate for 163 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 16:13:09 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 16:13:09 +0000] Waiting 163 second(s) to restart process.
Daemon 18 INIT [Fri, 27 Apr 2018 16:15:52 +0000] Starting process.
Daemon 18 ZZZZ [Fri, 27 Apr 2018 16:16:09 +0000] Process is preparing to hibernate for 164 second(s).
Daemon 18 DONE [Fri, 27 Apr 2018 16:16:09 +0000] Process exited normally.
Daemon 18 WAIT [Fri, 27 Apr 2018 16:16:09 +0000] Waiting 164 second(s) to restart process.

I did notice that there are some process on git fetch / update are being run. Not really sure what is happening. Could you please show some light on this issue.

I also see that the daemons are running as below

root      2259     1  0 Apr26 ?        00:04:32 php /opt/gtnexus/phabricator/phabricator/scripts/daemon/phd-daemon
root      2260  2259  0 Apr26 ?        00:01:17 php /opt/gtnexus/phabricator/libphutil/scripts/daemon/exec/exec_daemon.php PhabricatorRepositoryPullLocalDaemon
root      2262  2259 44 Apr26 ?        09:53:34 php /opt/gtnexus/phabricator/libphutil/scripts/daemon/exec/exec_daemon.php PhabricatorTaskmasterDaemon
root      2314  2259 44 Apr26 ?        09:53:01 php /opt/gtnexus/phabricator/libphutil/scripts/daemon/exec/exec_daemon.php PhabricatorTaskmasterDaemon
root      2324  2259 44 Apr26 ?        09:53:05 php /opt/gtnexus/phabricator/libphutil/scripts/daemon/exec/exec_daemon.php PhabricatorTaskmasterDaemon
root      5520  2259 44 Apr26 ?        09:31:56 php /opt/gtnexus/phabricator/libphutil/scripts/daemon/exec/exec_daemon.php PhabricatorTaskmasterDaemon

I have the same issue;Importing git repository always show 99.97% two days,but the git repository had storage in /var/repo? Had you resolve the issue?

This was resolved for me after 4 days and I see that the repo is completed imported