Open Source Content Management System

Replicator Question

  1. Replicator Question

    Thu April 17 2008 13:35:03 UTC
    Hi!

    I spent the last several hours debugging a server with replication
    enabled. I simply wouldn't stay online and load was constantly hovering
    around 20. After some digging, it turns out that the server is
    constantly chewing at a replication queue of 26000 entries.

    From what I gathered so far it seems that it always tries to process
    the entire queue before deleting the successfully imported items. I've
    disabled cron now and am trying to do one clean run, so in a few hours
    I'll know if the import was successful. But I was wondering: Wouldn't it
    be more efficient to remove successfully imported files from the queue
    right away, i.e. in the foreach loop of _real_process, when the $key is
    unset? That way, even partial runs would do some good, or am I missing
    something?


    Bye,

    Andreas
    _______________________________________________
    dev mailing list
    dev@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/dev
    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
Designed by Nemein, hosted by Anykey