• Resolved derweed

    (@derweed)


    Hi,

    the ‘list events per category’ page is *extremely* slow. When we’d hit aroung 5k events in one category (we have 43 flat categories), events-manager crashes with the following error:

    mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1133265 bytes) in <PATH>/wp-content/plugins/events-manager/classes/em-events.php on line 195

    We have a lot of events, about 70% recurring and some single events. And we are getting more and more.

    What can I do about the category-lists? The are constantly crashing. If I lift up the php memory constraints, it works but takes around 8-16 Minutes (!) for one page output. And I will not be able to get arount 4gb of ram (per page request) 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    How much memory do you have allocated?

    Are you using a cache plugin?

    Thread Starter derweed

    (@derweed)

    > How much memory do you have allocated?
    2gb per (FastCGI) process

    > Are you using a cache plugin?
    No, not at the moment. The overall performance is stunning – just the event-category view(s) are superslow. I would use local page caching, but this is not helping as long as the page itself doesn’t render completely.

    Thread Starter derweed

    (@derweed)

    > > How much memory do you have allocated?
    > 2gb per (FastCGI) process
    From our admin: “24gb in total”

    I would definitely test a cache plugin, it fixes that kind of error in many cases.

    Thread Starter derweed

    (@derweed)

    The listing of events in a category that crashes is fixed by caching …what-? the crash? Remember that de listing (now) never completes, so the cach hat … nothing.

    Sorry, I don’t understand what you mean by:

    Remember that de listing (now) never completes, so the cach hat … nothing.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error 500 (PHP Fatal error) when listing events per category’ is closed to new replies.