Saving takes forever (well, not forever, but more than a few days)
-
I’ve found a few posts here in the forums that mentioned it taking a really long time to save entries.
I’ve observed this on my own system. To test it out, and see just *how* long is a long time, I saved an entry on Tuesday afternoon, and it hung. I resolved to leave that tab un-touched in FireFox until it finished.
After about 10 seconds of waiting (possibly less), it was visible on my site.
There were a few pings that it had to send. It seemed like those happened after about 1-2 minutes. I visited the sites that I had referenced, and my pingbacks were there in the comments.
It’s Friday at 5:00 pm, and the tab still says “loading” with the little turning icon.
??Here’s what I’ve noticed that seems to affect the problem:
1. If I save a draft or “Save and continue editing”, then any subsequent saves will take forever – even after it’s been published, if I edit the entry to correct a spelling mistake, it’ll never finish saving.
2. If I save a post as private, then any subsequent saves will take forever.
3. If I just save it as published right off the bat (which I don’t really like to do, because I prefer to have the chance to re-read an article after I write it), then it takes less than 30 seconds to finish, and all the pings go out fine.I tried disabling all of my plugins and then testing again, and after 3 hours of waiting for it to finish, I gave up and figured it was a lost cause.
So, I’m pretty sure that it’s not a plugin. I’m positive it’s not pings (since those happen just fine in the first minute or less of processing.) Also, I’ve used pings/trackbacks in b2evolution, and it never took longer than a minute or two.
I think that there is a bug in the WordPress code that leads to an infinite loop if a post is re-saved after being saved as draft or private. (I’m not saying this to criticize or anything, WordPress is lovely and I love it. But I think this is a bona fide bug, not just a slow server or problematic ping or blargy plugin.)
I’d love to help dig into the problem, and if any devs would like to log into my system to test it out if you can’t repro the problem, just let me know and I’ll make you a login. I just really don’t know where in the code to look to trace through the process. Even a pointer as to where the problem *might* be would be very very helpful. It must be after the pings and database stuff happens. Is there a loop somewhere that it can’t break out of?
- The topic ‘Saving takes forever (well, not forever, but more than a few days)’ is closed to new replies.