• Resolved jbx

    (@jbx)


    I’ve moved my wordpress installation to a new virtual server and have been observing some serious slowdowns in the order of seconds. I disabled all plugins and started enabling them one by one and after enabling Events Manager the response time slowed drastically, adding 2 or 3 seconds to the time for the initial page to come through. (I am excluding JS and CSS from the story, this is just a pure wget of the HTML of the index page).

    What could be the reason for this? On an older post I read about some possibility of conflicts with some other plugins. What could these be?

    The Mysql database is hosted on the same server, which is virtual but dedicated just for this.

    Thanks.

    http://wordpress.org/plugins/events-manager/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    can I know how many events do you have? also, just to confirm this is working okay on your original setup/server ?

    thanks

    Thread Starter jbx

    (@jbx)

    I have 163 events.

    Yes on the original setup which is just a shared hosting the index page comes up in less than 2 seconds. On the index page (and all pages) I have the events widget.

    I have the same issue but the problem seems from the coupons. I have about 1500 coupons and the class Embooking (I talk from memory I am not sure) is retrieving all coupons for each instance.

    Because of this on the current hosting I get a fatal memory error (allowed memory exhousted, -> the slowest screen is in wp-admin -> Events -> Bookings)

    Thank you

    Thread Starter jbx

    (@jbx)

    I don’t have any coupons or bookings or anything. I just use events and locations (to display the google map).

    Hiya,

    What is the memory capacity of your server? EM is fairly memory intensive so your server might need more…

    Thanks
    Phil

    Thread Starter jbx

    (@jbx)

    Well it has 1GB. Its never really reaching it though when I do top its always consuming something like 700Mb. I doubt a few events would consume lots of memory.

    It could be that WordPress is not allocated enough memory. Try adding this to your wp-config file.

    define( 'WP_MEMORY_LIMIT', '256M' );

    Thread Starter jbx

    (@jbx)

    I will try it, although I doubt this will have any effect. If it was an issue I guess I would have got “Allowed memory size of xxxxxx bytes exhausted”

    I think that’s probably right, but it’s worth checking.

    Do you still have the same problem when Events Manager is the only plugin running?

    What about when using the default theme?

    I confirm the events manager is the issue.

    I did a research and noticed the slowest plugin on my side is events manager pro. After it, it comes events manager plugin.

    After profiling wordpress, for the pro version the slowest part is when it’s calling inside coupons.php (in a while look) the new EM_coupon (it’s called 72000 times in the life of the script, for one page request only).

    I want to note that NOT the queries are the problem, as my slow log is empty and there are a few hundred queries but nothing to be scared of.

    If you have any idea it will be really helpful. Thank you

    Plugin Support angelo_nwl

    (@angelo_nwl)

    can you post this in EMpro forums instead?

    Thread Starter jbx

    (@jbx)

    Mmm, is there any way to disable bookings and coupons completely from loading? I don’t use those, they’re not even in my template.

    Yes, bookings can be disabled in Events > Settings > General > General Options > Enable Bookings?

    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Slow wordpress when I enable Events Manager’ is closed to new replies.