Hi all,

On a site that imports and updates nodes, the import process that is triggered by cron tends to fail sometimes. The import task remains locked until I manually unlock it. This requires me to log into the site every day and see if there's anything stuck and if so, unlock it and manually do an import.

I think it would be a lot easier if locked processes are unlocked automatically so that on the next cron, the import is attempted again. Is there a way to automatically kill zombie imports and unlock the feed importer?

Comments

alfthecat’s picture

Anyone have any guidance on this? I'm now having this issue every day. I've never had this problem with feeds before. Taks is stuck at xx% and I have to unlock it and manually run the import (which always works fine).

lissy’s picture

I'am also looking for a solution how to programmatically unlock the importer in cron batch.

alfthecat’s picture

Hi Lissy,

Check out this thread I started in the Ultimate Cron issue queue. I'm short on time so I haven't tested the solution yet but it looks very viable to me.
https://drupal.org/node/2152335

brianbrarian’s picture

@AlfTheCat - Did you ever find a working solution? I'm having the same problem importing from a large CSV file.

bluegeek9’s picture

Status: Active » Closed (outdated)

Drupal 7 reached end of life and the D7 version of Feeds is no longer being developed. To keep the issue queue focused on supported versions, we’re closing older D7 issues.

If you still have questions about using Feeds on Drupal 7, feel free to ask. While we won’t fix D7 bugs anymore, we’re happy to offer guidance to help you move forward. You can do so by opening (or reopening) a D7 issue, or by reaching out in the #feeds channel on Drupal Slack.

If this issue is still relevant for Drupal 10+, please open a follow-up issue or merge request with proposed changes. Contributions are always welcome!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.