[aegir] Cron Queue not running, though task queue works fine.

Kaustubh Srikanth kaustubh at houndbee.com
Fri Sep 10 22:05:41 EST 2010


"/var/aegir/drush/drush.php  @somesite.com cron --backend" ran without
errors for all sites.

Also, looks like we went off-list at some point. But Grace suggested a
fix for this which worked. Quoting below:


This is probably not released cron for sites semaphore
in the variables table.

Try this:

1. cd to the hostmaster site dir: sites/domain
2. run as your aegir user: drush vdel hosting_queue_cron_running

Grace
Omega8.cc

On Fri, Sep 10, 2010 at 3:32 PM, Miguel Jacq <miguel.jacq at gmail.com> wrote:
> Hi,
> On Fri, Sep 10, 2010 at 7:51 PM, Kaustubh Srikanth <kaustubh at houndbee.com>
> wrote:
>>
>> Hi,
>>
>> I've had this for a few weeks and I just can't seem to get my head
>> around why this is happening. The cron is obviously running fine
>> because  the tasks queue has no issues. But the cron queue hasn't run
>> in about 4 weeks now.
>
> Sometimes the cause of this is one of your sites and a module causing cron
> to error out prematurely.
> To start debugging the issue, run the command that is in your crontab, but
> replace 'hosting-dispatch' with 'hosting-cron --debug' and start looking at
> the output.
> You should see hosting-cron fork out a bunch of 'drush cron' commands
> against 5 sites. On each cron run, the sites are meant to rotate so that the
> next sites in your set of 21 are run, then the next 5, and so on.
> Example from the output:
> /var/aegir/drush/drush.php  @somesite.com cron --backend
> Using this example from the hosting-cron command (if the error isn't already
> immediately apparent at that point), start running the 'drush cron' command
> manually on each site from the CLI with --debug instead of --backend, to see
> if there are problems. 'drush cron' simply invokes the hook_cron functions
> in any modules on a Drupal site.
> Good luck,
> Mig
> _______________________________________________
> aegir mailing list
> aegir at lists.aegirproject.org
> http://lists.aegirproject.org/cgi-bin/mailman/listinfo/aegir
>
>



-- 
Kaustubh Srikanth
http://houndbee.com
http://houndbee.com/hcard.html


More information about the aegir mailing list