ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Tracking on/off and cache issues

September 23, 2010 2:52pm

Subscribe [3]
  • #1 / Sep 23, 2010 2:52pm

    steph_rose

    17 posts

    Hello all,

    Our team here is hoping that you can shed some light on an issue we are having.

    We currently have two load-balanced servers with an install of /system/ on each. We are syncing the servers.
    - From the main of the two servers, we are syncing everything except the /cache/ folders.
    - From the secondary server, we’re syncing back all of the uploaded media folders—/images/, /documents/, etc.

    In our current setup, we have no problems with syncing or any sort of website update lag. When we edit something, be it a post or a template, both servers pick it up pretty much immediately.

    However, our servers tend to go up&down; (we lose ping and web service) for about 1-2 minutes at a time sporadically. The loads are very high, even though our traffic is not extremely substantial.

    After scouring the forums, I decided to turn off all of those 4 tracking options in
    Admin > System Preferences > Tracking Preferences
    to see if that would help.

    I had to use $conf[‘disable_all_tracking’] = “y”; because the file wasn’t directly writable (which is fine).

    When we did this, the result was:
    - The servers did not go down anymore! (Yay)
    - But we had issues with caching, or something. Essentially, once we did this, if we edited a story or posted a new post, it would take forever to show up on the opposite server for some reason. Syncing was still on, but it seemed as if EE could not detect when something was new anymore. I don’t know.

    In any case, does anyone know why this would be? When the tracking is disabled, does EE lose a monitoring ability that it could possibly need to update correctly?

    If so, which one? What I’d really like to do is turn off the tracking prefs I can, and leave ones on that affect EE in this adverse way for us.

    Any insight into this matter would be greatly appreciated.

    Thanks,
    Stephanie

  • #2 / Sep 24, 2010 3:55am

    John Henry Donovan

    12339 posts

    steph_rose,

    What version and build of EE are you using?
    Are you using any extensions?

    There is a breakdown of tracking config variables and what they relate to as a preference here

    I had to use $conf[‘disable_all_tracking’] = “y”; because the file wasn’t directly writable (which is fine).

    Why wasn’t it writable?

    Under your Global Weblog Preferences what do you have Clear all caches when new entries are posted?  set to?

    CP Home ›  Admin ›  Weblog Administration ›  Global Weblog Preferences

  • #3 / Sep 24, 2010 10:31am

    steph_rose

    17 posts

    We are using EE 1.6.9.

    Yes, we are using extensions. The list is as follows:

    Calendar (v 1.0.3)
    jQuery for the Control Panel
    Edit Tab AJAX
    Gypsy
    Textile Editor Helper
    ja_reCAPTCHA
    LG TinyMCE
    MD Show Expired

    as well as two really small plugins I wrote, but this issue persisted way before I wrote them, and they are quite basic.

    Thank you for the link. I’ve looked at that before, the breakdown of the tracking config variables, and what I don’t get is just why one of those could adversely affect the clearing of the cache…they don’t seem to have anything to do with it.

    The config.php file just doesn’t have permissions set as writable. I can change no problem though.

    And yes, the Global Weblog Preferences > Clear all caches when new entries… has been set to Yes.

    Thank you for your response so far, and in advance for any other advice you all can offer.

  • #4 / Sep 24, 2010 4:48pm

    Sue Crocker

    26054 posts

    And yes, the Global Weblog Preferences > Clear all caches when new entries… has been set to Yes.

    I’ve seen cases where you manually had to go in and remove the cache files. Not certain what was causing the issue, though.

    But you’re right, it’s weird. If you temporarily turn off your extensions via the big green button, does the problem go away?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases