ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

EE process hanging for minutes

September 11, 2013 10:47am

Subscribe [1]
  • #1 / Sep 11, 2013 10:47am

    community1st

    1 posts

    When we post a entry form (add or edit), it takes a few minutes for the server to respond and sometimes it results in network timeout errors. This problem appeared last week but no changes to the code or database have been made for weeks. The client was very concerned about performance so they have a very powerful dedicated server just to host this one site. They also have an identical dedicated server for the dev and staging sites, but the problem does not occur there. I’ve opened a ticket with the hosting company they’ve identified an Apache process that, according to them, is infinitely looping through this:

    stat(”/home/c1smitha/ee_system/expressionengine/cache/ce_cache/be5222/local/videos/messages-alerts-create-a-reminder-alert/preview/preview/xx-small.zip/..”, {st_mode=S_IFDIR|0755, st_size=946176, ...}) = 0
    stat(”/home/c1smitha/ee_system/expressionengine/cache/ce_cache/be5222/local/videos/messages-alerts-create-a-reminder-alert/preview/preview/xx-small.zip/.”, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    getdents(30, /* 0 entries */, 32768) = 0
    close(30) = 0
    lstat(”/home/c1smitha/ee_system/expressionengine/cache/ce_cache/be5222/local/videos/messages-alerts-create-a-reminder-alert/preview/preview/dyn.out”, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    stat(”/home/c1smitha/ee_system/expressionengine/cache/ce_cache/be5222/local/videos/messages-alerts-create-a-reminder-alert/preview/preview/dyn.out”, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
    open(”/home/c1smitha/ee_system/expressionengine/cache/ce_cache/be5222/local/videos/messages-alerts-create-a-reminder-alert/preview/preview/dyn.out”, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 30
    getdents(30, /* 2 entries */, 32768) = 48
    lseek(30, 0, SEEK_SET) = 0
    getdents(30, /* 2 entries */, 32768) = 48


    The ‘ee_system/expressionengine/cache/ce_cache/be5222/local/’ directory has thousands of subdirectories and files in it (sometimes a few directories deep). I’ve also looked into performance issues with getdents() and stat() calls and I see a few others have had this issue with other PHP sites running on Linux, but nobody’s pinpointed a solution or a direction to go in. Then again, this server configuration/file system/memory allocation stuff is outside my area of expertise, so I could just be missing it.

    Has anyone seen this problem and/or know of the issue that is causing this?

    Thank you!

  • #2 / Sep 18, 2013 12:07pm

    community1st

    1 posts

    This remains an unaddressed issue with PHP or Apache. We were able to temporarily remedy the issue by deleting all the cache files, but the bug itself remains unfixed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases