Jump to content

firstimpression

Approved members
  • Posts

    52
  • Joined

  • Last visited

Posts posted by firstimpression

  1. Hi,

    Is there any documentation how exactly the "pruning" of bucket tables work?

    My issues right now:

    1. Sometimes bucket tables have leftovers because maintenance script did not run at a certain hour. An expected behavior would be that any subsequent run would take care of everything that is left unprocessed in the bkt tables. But in reality I have to manually run the "republish.php" script to take care of those leftovers. 

    2. Let's say I have 1 master server and 2 slave servers. If the maintenance runs in the order: maintenance-distributed on slave 1, maintenance on master, maintenance-distributed on slave 2 - it looks like the data pulled from slave 2 would be left in master's bucket tables forever (until I run on republish.php). The cause is that after the record in "log_maintenance_statistics" is made, the maintenance would not do anything again for the same hour.

    Any ideas how to solve that?

     

     

  2. @kanuns, this is totally possible.

    If you set up MySQL replication you can replicate your set up whenever MySQL slaves will be able to connect to master.
    If you know IP addresses of your remote servers then you can run maintenance-distributed to pull statistics to master server.

    With this scheme you will have all the stats on the master server. To have all the rest of the stuff synchronized you will have to write a few scripts that will put graphic assets to your remote servers. 

     

  3. Don't do this.

    https://github.com/revive-adserver/revive-adserver/issues/102

    Even after 6 years of this discussion I want to confirm that InnoDB is still ridiculously slow with Revive when logging impressions at high frequency. Tried a lot of InnoDB settings, in the end reverted the "bkt" tables to MyISAM.
    I think ON DUPLICATE KEY UPDATE in all logging scripts causes a type of lock that makes all the mentioned InnoDB advantages useless.

  4. Are you absolutely positive that error logging is enabled, and still there are no error messages in logs?

    Keep in mind that you can enable:

    • Revive's native logging
    • Webserver logging
    • PHP error logging

    Those are different logs that work on different levels of systems, enable them all and check them all.

    Does the error appear instantly, or after some long time?

  5. I performed a normal upgrade from 3.2.2, and everything worked except upgrade of DeliveryLimitations plugin (request returned Error 500). Now when I try to manually enable the plugin, getting error 500. The PHP error log would pop the error below.

    PHP Fatal error:  Class 'Sinergi\\BrowserDetector\\Browser' not found in /var/ox/lib/OX/Plugin/Component.php on line 64, referer: http://localhost/admin/plugin-index.php
    PHP Stack trace:, referer: http://localhost/admin/plugin-index.php
    PHP   1. {main}() /admin/plugin-index.php:0, referer: http://localhost/admin/plugin-index.php
    PHP   2. OX_PluginManager->enablePackage($name = 'openXDeliveryLimitations', $reparse = *uninitialized*) /var/ox/www/admin/plugin-index.php:192, referer: 
    PHP   3. OX_Plugin_ComponentGroupManager->enableComponentGroup($name = 'Client', $extends = 'deliveryLimitations') /var/ox/lib/OX/Plugin/PluginManager.php:504, referer: http://localhost/admin/plugin-index.php
    4. OX_Component->getComponents($extension = 'deliveryLimitations', $group = 'Client', $recursive = TRUE, $enabledOnly = FALSE) /var/ox/lib/OX/Plugin/ComponentGroupManager.php:641, referer: http://localhost/admin/plugin-index.php
    5. OX_Component::factory($extension = 'deliveryLimitations', $group = 'Client', $component = 'BrowserVersion') /var/ox/lib/OX/Plugin/Component.php:189, referer: http://localhost/admin/plugin-index.php

    How to fix this? Do I have to separately install Sinergi browser detector...?

    Thank you

  6. The problem of malvertising is becoming bigger issue all the time. I'd suggest adding an option to sandbox iframe tags, so that the stuff that runs in iframe would not be able to:

    • perform top-window redirects
    • run javascript (serve static HTML only)
    • open any new windows (not clickable)
    • prevent content from using plugins (eg. if you want to block video when you sell placement for HTML ads only)
       
  7. I was wondering if switching PHP's session storage to Memcached would not brake Revive Adserver admin interface and API.

    If it would not, my next question if setting session handler to a UNIX socket would still work okay,

    I am concerned about that, for example, because I see in Flexy in Translator.php the following:
    'compileDir' => ini_get('session.save_path') . '/HTML_Template_Flexy_Translate',
    Obviously, in case of session.save_path like /var/run/memcached/memcached.sock the compilation would not work. Not sure if the above thing is any relevant for Revive admin interface.

    Thank you.

×
×
  • Create New...