Problem first encountered four weeks ago (mid January 2014).
Cron failed to complete. Now able to track it down to weblinks.
Initially was with weblinks-6.x-2.5 but also occurs with current 6.x-2.x-dev

If both weblinks_checker and pralexa are disabled cron completes successfully.
If either one is enabled cron fails to complete.

Not sure if this problem is a bug or related to bad weblink entries.
Everything was the same prior to this occurring. No new weblink entires.

Would appreciate any thoughts on this.

Thanks.

Comments

gstegemann’s picture

I have no idea yet.

Do you have any further information, like "recent log entries" from your site, OS error messages or any cron log messages? Did the status one of your weblink entries change?

izmeez’s picture

The watchdog does not contain anything helpful.
There is nothing in my webroot error.log file.
I had to disable modules to determine which was causing cron to fail and found that both the pralexa and weblinks_checker components were causing the problem.
Once they were disabled cron was able to run.
I am not sure if there is any specific place I can check to see when the status of weblink entries changed.

izmeez’s picture

I see now that I have to re-enable weblinks_checker to see when the status changed.

izmeez’s picture

Category: Bug report » Support request

I am changing this to a support request and at the moment I am leaving it open.
I re-enabled weblinks_checker and reviewed some weblinks that were failing with a"404 - Not found".
After correcting these cron could be run manually.

gstegemann’s picture

Thanks for your feedback.

Maybe Web Links Checker runs into an endless loop when a weblinks entry returns status "404". I will check that.

gstegemann’s picture

I tried to reproduce your problem. I created a weblinks entry which returns status "404". I ran cron several times, but every run completed successfully.

Did you try to run cron directly from your web site (/admin/reports/status/run-cron) and checked the sites status report?

izmeez’s picture

Thanks for your interest and effort to help with this issue.

Yes, I did run it from the status report page and it is running fine. This was after I fixed the entries so I can no longer tell what the underlying problem was. Before that when cron was run from the status report or from drush it would just hang. Now that the problem seems to have gone away I will just have to keep an eye on things and see if it recurs. I'm not sure what else to do to try and dig into the problem.

I haven't enabled Pralexa again, partly because I came accross the issue #2182163: Alexa Pagerank is broken. Fix or drop from D7

gstegemann’s picture

OK.

Regardings page ranks: Google ranks do still work. I still have Pralexa enabled on my test sites and never had cron hangs. The fact that Alexa ranking does not work anymore should not cause cron to hang.

izmeez’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

Thanks for the update and all of your assistance.
I will re-enable Pralexa and see what happens.
So far everything is still working fine.
I'll keep my eyes open to see if the problem occurs again.
Meanwhile, I think this issue can be closed.

izmeez’s picture

Issue summary: View changes
gstegemann’s picture

OK, good to hear.