John

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: CPU Usage Problem #63033
    John
    Participant

    I don’t know if this applies to your case, but I wanted to share what just happened with one of the sites I admin.

    I started seeing some CPU issues where the mysqld process hit 100% utilization when accessing the Events screen in the admin. I started noticing this on the 2.x version recently, and decided to finally upgrade to the latest 3.x version, which offered some minor improvement but there were still some issues.

    While still running 2.x, the events screen would not come up and the mysqld process would hit 100% CPU until I restarted it from the shell. After doing some basic WP DB maintenance, I decided to upgrade EC Pro to the latest version. This did help some. The CPU still hits 100% for a varying amount of time, but generally around 10-15 seconds instead of seemingly indefinitely before the upgrade.

    The only thing I had noticed different lately is that someone entered two recurring events that dated into the future as far as the year 2032. Though silly, it shouldn’t be a problem. Pulling up the All Events list took a very long time. Paginating through took a long time. Narrowing the events list down with a text search seemed to help, if only a little.

    I ended up editing the two recurring events that were recurring for 1000 weeks and made them recur for only 52 weeks. This solved the huge mysqld spike problem and returned everything to normal.

    If users can enter crazy amounts of recurring events, chances are they eventually will. Maybe some performance improvements could happen here.

Viewing 1 post (of 1 total)