I tried to import a SVN-repository and got stuck on some SSL-issues. After solving those, the import seemed to get stuck at 0%. When I finally noticed that something was wrong, quite some time had passed.
This is the first error after the SSL-certificate was fixed, was this:
```
[29-Jun-2015 14:04:22 Europe/Stockholm] [2015-06-29 14:04:22] EXCEPTION: (PhutilProxyException) Permanent failure while executing Task ID 309683. {>} (PhabricatorWorkerPermanentFailureException) Commit "43374" does not exist. at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:23]
[29-Jun-2015 14:04:22 Europe/Stockholm] arcanist(head=stable, ref.master=e97cdc6c9a6c, ref.stable=29839e8c72c5), phabricator(head=stable, ref.master=2fbc65e39649, ref.stable=7f22a0e0fd43), phutil(head=stable, ref.master=88f6ecedbd45, ref.stable=ea6830cc8019)
[29-Jun-2015 14:04:22 Europe/Stockholm] #0 <#2> PhabricatorRepositoryCommitParserWorker::loadCommit() called at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:31]
[29-Jun-2015 14:04:22 Europe/Stockholm] #1 <#2> PhabricatorRepositoryCommitParserWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:91]
[29-Jun-2015 14:04:22 Europe/Stockholm] #2 <#2> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:162]
[29-Jun-2015 14:04:22 Europe/Stockholm] #3 <#2> PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
[29-Jun-2015 14:04:22 Europe/Stockholm] #4 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
[29-Jun-2015 14:04:22 Europe/Stockholm] #5 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
```
After noticing this, I've tried to remove the SVN repository in question, as instructed by running `bin/remove destroy rCS`. Restart both apache, phd daemons, and finally the whole server... Hower, those errors still continue to show up constantly:
```
~/phabricator$ bin/phd debug task
Launching daemons (in debug mode):
(Logs will appear in "/var/tmp/phd/log/daemons.log".)
PhabricatorTaskmasterDaemon (Static)
phabricator/scripts/daemon/ $ ./phd-daemon '--trace' '--verbose'
>>> [2] <event> daemon.didLaunch <listeners = 2>
>>> [3] <connect> phabricator_daemon
<<< [3] <connect> 918 us
>>> [4] <query> INSERT INTO `daemon_log` (`daemon`, `host`, `pid`, `daemonID`, `runningAsUser`, `argv`, `explicitArgv`, `envHash`, `envInfo`, `status`, `dateCreated`, `dateModified`) VALUES ('PhabricatorTaskmasterDaemon', 'cs1', '3598', '3598:y4ewcnv', 'phabricator', '[\"--trace\",\"--verbose\"]', '[]', 'f73fefb876e1fbc33e71d3879f6999afc72c229f', '{\"version\":1,\"keys\":\"22i1Mz7MGwus\",\"values\":{\"auth.email-domains\":\"av9oIGyxbzc1\",\"config.ignore-issues\":\"tZn8TIpKCvfy\",\"differential.require-test-plan-field\":\"
<<< [4] <query> 51,869 us
<<< [2] <event> 78,881 us
2015-06-29 3:32:52 PM [INIT] Starting process.
>>> [5] <event> daemon.didLogMessage <listeners = 2>
>>> [6] <query> INSERT INTO `daemon_logevent` (`logID`, `logType`, `message`, `epoch`) VALUES ('334', 'INIT', 'Starting process.', '1435584772')
<<< [6] <query> 2,959 us
<<< [5] <event> 4,498 us
>>> [7] <exec> $ exec ./exec_daemon.php 'PhabricatorTaskmasterDaemon' '--trace' '--verbose'
<<< [7] <exec> 500,895 us
2015-06-29 3:32:53 PM [STDE] >>> [0] <connect> phabricator_config
<<< [0] <connect> 4,660 us
>>> [1] <query> SELECT * FROM `config_entry` WHERE namespace = 'default' AND isDeleted = 0
<<< [1] <query> 302 us
>>> [2] <connect> phabricator_worker
<<< [2] <connect> 881 us
>>> [3] <query> SELECT id, leaseOwner FROM `worker_activetask` WHERE (leaseOwner IS NULL) ORDER BY priority ASC, id ASC LIMIT 1
<<< [3] <query> 576 us
>>> [4] <query> UPDATE `worker_activetask` task
SET leaseOwner = '3625:1435584772:cs1:1', leaseExpires = UNIX_TIMESTAMP() + 7200
WHERE (leaseOwner IS NULL) AND (id IN (313325))
<<< [4] <query> 39,441 us
>>> [5] <query> SELECT task.*, taskdata.data _taskData, UNIX_TIMESTAMP() _serverTime
FROM `worker_activetask` task LEFT JOIN `worker_taskdata` taskdata
ON taskdata.id = task.dataID
WHERE task.leaseOwner = '3625:1435584772:cs1:1' AND leaseExpires > UNIX_TIMESTAMP() ORDER BY priority ASC, id ASC LIMIT 1
<<< [5] <query> 8,200 us
<<VERB>> PhabricatorTaskmasterDaemon Working on task 313325 (PhabricatorRepositorySvnCommitMessageParserWorker)...
>>> [6] <connect> phabricator_repository
<<< [6] <connect> 800 us
>>> [7] <query> SELECT * FROM `repository_commit` WHERE `id` = 45722
<<< [7] <query> 398 us
>>> [8] <query> START TRANSACTION
<<< [8] <query> 221 us
>>> [9] <query> DELETE FROM `worker_activetask` WHERE id = 313325
<<< [9] <query> 412 us
>>> [10] <query> INSERT INTO `worker_archivetask` (`duration`, `result`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`, `dateCreated`, `dateModified`) VALUES ('0', '1', 'PhabricatorRepositorySvnCommitMessageParserWorker', '3625:1435584772:cs1:1', '1435591972', '0', '313323', '2000', NULL, '313325', '1435584773', '1435584773')
<<< [10] <query> 13,115 us
>>> [11] <query> COMMIT
<<< [11] <query> 3,844 us
[2015-06-29 15:32:53] EXCEPTION: (PhutilProxyException) Permanent failure while executing Task ID 313325. {>} (PhabricatorWorkerPermanentFailureException) Commit "45722" does not exist. at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:23]
arcanist(head=stable, ref.master=e97cdc6c9a6c, ref.stable=29839e8c72c5), phabricator(head=stable, ref.master=2fbc65e39649, ref.stable=7f22a0e0fd43), phutil(head=stable, ref.master=88f6ecedbd45, ref.stable=ea6830cc8019)
#0 <#2> PhabricatorRepositoryCommitParserWorker::loadCommit() called at [<phabricator>/src/applications/repository/worker/PhabricatorRepositoryCommitParserWorker.php:31]
#1 <#2> PhabricatorRepositoryCommitParserWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:91]
#2 <#2> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:162]
#3 <#2> PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
#4 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
#5 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
>>> [8] <event> daemon.didLogMessage <listeners = 2>
>>> [9] <query> INSERT INTO `daemon_logevent` (`logID`, `logType`, `message`, `epoch`) VALUES ('334', 'STDE', '>>> [0] <connect> phabricator_config\n<<< [0] <connect> 4,660 us\n>>> [1] <query> SELECT * FROM `config_entry` WHERE namespace = \'default\' AND isDeleted = 0 \n<<< [1] <query> 302 us\n>>> [2] <connect> phabricator_worker\n<<< [2] <connect> 881 us\n>>> [3] <query> SELECT id, leaseOwner FROM `worker_activetask` WHERE (leaseOwner IS NULL) ORDER BY priority ASC, id ASC LIMIT 1\n<<< [3] <query> 576 us\n>>> [4] <query>
<<< [9] <query> 2,621 us
<<< [8] <event> 3,911 us
2015-06-29 3:32:53 PM [FAIL] Process exited with error 255
```
The commit id and task id is constantaly increasing by 1.
Any pointer on how to get rid of these? Or what kind of info I need to find?
I'm perfectly fine with //not// importing the SVN-repository again (it's mostly HW design in that for the moment). However, I'd like to not have the phd daemons constantly being in need of a restart.