Memory Consumption, CPU Usage Off the Chart and Tag Sync Doesn't work

This topic contains 45 replies, has 3 voices, and was last updated by  jbissitt 8 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #189835

    jbissitt
    Expired Member
    Post count: 90

    Also the GD Booster I de activated as this more than doubles the site load speed?? I thought this should speed up the site not make it much slower. Please run a pingdom speed test without and without it active and you will see what I mean??

    #189836

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    GDB helps server the code optimally, the server is taking a long time to process to code to server it, GDB then has to run on this code. The code will load faster but your server might take longer to proccess it, also it will not show cache to a logged in user.

    Stiofan

    #189838

    jbissitt
    Expired Member
    Post count: 90

    So if we implement the fix across all site do you think the load will be a lot less on the server then do we can use gd booster? Has the fix reduced server resources then? If so how significant is this as if it’s not much I may have to buy a much more powerful server as even with this dedicated server its not coping at all at the moment?

    Thanks

    #189840

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The hardest thing on your resources just now is the fact you have 1500 cats, do u need 1500 cats? If so then it might be best to try disable some functionality of GD to help you support this. I can’t comment on your other sites as i don;t know how many cats/listings/locations they have.

    Stiofan

    #189841

    jbissitt
    Expired Member
    Post count: 90

    OK. All sites have the same number of cats. I am struggling to understand using the cpf to deal with cats. Do you have a guide or video or something to help me with this?

    #189843

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    #189910

    jbissitt
    Expired Member
    Post count: 90

    All sites have the same cats, is there a way to update one site via cpt and copy it across all 40 to save time?

    #189942

    jbissitt
    Expired Member
    Post count: 90

    I can see how to add different post types but take our sussex sites for exmaple, we have 36000 records imported to relevant cats as places. if I add a new cpt I cant see anyway to easily move records into these. I have read the link provided and I can see how to create different types of listings but how can I re structure the data? i dont see how cpt is going to work without removing all data and running imports of 1,000,000 records across 40 sites again which took weeks because of difficult it is to import and how slow it is??

    Please can you explain or provide another solution?

    Thanks

    #189956

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    The import is slow because of the number of cats again. It might be best to disable this functionality that we apply to count cat listings and ratings. I would concentrate on one site and get it right first. I dont have time at the moment but a quick chat about things might help, early next week would be the earliest.

    Stiofan

    #190025

    jbissitt
    Expired Member
    Post count: 90

    I doubt we will use ratings for a while and maybe not at all because of spam comments but can you clarify what you mean. What functionality could be disabled to prevent counts and reduce resources? How would this effect site use and experience?

    #190034

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I would need to test but some widgets you would not be able to use or would have to remove the count from the category as it would be wrong, not too much functionality lost.

    Stiofan

    #190038

    jbissitt
    Expired Member
    Post count: 90

    If its just that and not much loss then this sounds like a good solution Stiofan and would save us a LOT of time. When will you be able to test this on the Sussex site?

    #190039

    jbissitt
    Expired Member
    Post count: 90

    If we did this we would need it not to revert back when the plugins auto update, is this possible?

    #190057

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have added the changes now, there migh be some i missed but it all seems faster so far for adding reviews and listings, let me know how it is for you.

    For future reference below is the code i have added to your theme functions file

    
    
    //disable some GD features
    remove_filter( 'geodir_count_reviews_by_terms_before', 'geodir_get_loc_review_count_action',10);
    remove_action( 'geodir_update_postrating', 'geodir_term_review_count_update', 100);
    remove_filter( 'geodir_get_term_count_array', 'geodir_get_loc_term_count_filter' );
    remove_action('geodir_update_postrating', 'geodir_term_review_count_force_update_single_post', 100);
    remove_action('transition_post_status', 'geodir_term_review_count_force_update', 100);
    remove_action('edited_term', 'geodir_term_review_count_force_update', 100);
    remove_action('delete_term', 'geodir_term_review_count_force_update', 100);
    remove_filter('get_terms', 'gd_get_terms', 10);
    add_filter( 'geodir_count_reviews_by_terms_before', 'my_geodir_get_loc_review_count_action',10);
    function my_geodir_get_loc_review_count_action(){
    return 1;
    }

    Stiofan

    #191049

    jbissitt
    Expired Member
    Post count: 90

    Thanks so to clarify all we need to do to complete is to paste this into the functions file for each site and the other changes have been made to the plugin and will update automatically with the update Monday?

Viewing 15 posts - 31 through 45 (of 46 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount