Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
For about the last three weeks now (Ed. actually I don’t remember when it started exactly, I’ve just be tolerating it for a while now and have lost time) my admin-side is getting slower and slower to the point now where every time I click a tab the site just hangs while Firefox spins and spins. I sometimes have to actually click a different tab then return to the one I want to break the hanging process and get a fully-loaded screen. Sometimes the action processes (like successfully saving an article) but the interface doesn’t finish loading like it should. I’m also noticing the front-end behaving the same way. (Can someone just browse around my site and see if it’s sluggish?).
I’ve checked with Joyent and there’s no problems with the server, apparently. Actually, I experience the same problem, to a slightly lesser degree, on my local development site too (both front and back ends).
I’m not using any conditionals in code. Plugins are listed here, a few of which are not even active. The only thing I can think of, as suggested by these Diagnostics errors showing up after upgrading to 4.0.6, is that a file is wacky or something.
Pre-flight check
Some Textpattern files have been modified:
/include/txp_form.php,
/include/txp_import.php,
/include/txp_preview.php,
/lib/IXRClass.php,
/lib/admin_config.php,
/lib/txplib_update.php,
/publish/log.php,
/publish/search.php ?
I thought maybe the Google Analytics could be influencing things as it communicates to Google, but this is ridiculous. I’ll drop it in seconds if that’s the case.
Any ideas?
Last edited by Destry (2008-11-17 09:28:27)
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Well, I doubt this is the problem, but I see that rsx_plugins_list is broken as I have more plugins inactive that what the list is inaccurately reflecting. Looks like I might have to do those manually to get the DL’s as I need anyway.
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
It started off ok for the first couple of clicks but then Firefox just span for about 30 seconds before I got a 500 Internal Server Error. Is that you mucking about with the server or a symptom of what you describe?
I’ve noticed Firefox does seem to leak memory a lot, especially if you have a tonne of tabs open and keep opening / closing new tabs to the same site. Like, when developing a site I tend to have one tab open for Pages, one for Forms, one for Styles, one for the article list, a few for articles I’m working on, one for plugins/composer, and so on. After an hour or two, things start to get sluggish to the point where closing a tab takes 4 or 5 seconds, or it just hangs. Restarting it fixes it.
But that’s probably not related to this instance. It seems server-side to me. I can click two or three links fine, then it occasionally goes into meltdown. Other times it’s fine and I can click merrily away and it works with the usual web-style indeterminate fits and starts. Weird.
Long shot: have you tried the conventional stuff; temporarily turning off logging and the pingbacks from Prefs?
(EDIT: incidentally, if you’re using ied_plugin_composer it might be worth upgrading it — or to 0.8 if you’re running SVN)
Last edited by Bloke (2008-11-17 10:13:37)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Nope, not on the server, currently.
Yeah, I sometimes have a few tabs open for the admin-side, but never more than 3 at a time, usually.
Yeah, that back and forth between hanging and simply being zippy is continuously the case, but lately it’s just been getting more hangy, hangy….dead.
Come to think of it, I’m having the same problems with my mail account in Thunderbird, which is also associated with my Joyent hosting. Small emails taking 5 minutes to go to the Sent folder, or not being able to delete emails from a folder for 10 minutes. That kind of annoying shit.
Long shot: have you tried the conventional stuff; temporarily turning off logging and the pingbacks from Prefs?
That part you’ll have to explain to me and I’d be grateful for it.
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Destry wrote:
Pre-flight check
Some Textpattern files have been modified:
/include/txp_form.php,
/include/txp_import.php,
/include/txp_preview.php,
/lib/IXRClass.php,
/lib/admin_config.php,
/lib/txplib_update.php,
/publish/log.php,
/publish/search.php ?
There definitely seems to be a delay. Did you modify those files? If not I would back them up, notify the devs and upload a them again from a fresh download.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Set Basic Prefs : Logging = none.
Forget I mentioned the ping settings in Advanced Prefs, they’re only when publishing an article. And take a look at the spamhaus.org thing in Advanced Prefs (oft cited as slowing sites) though I think that only applies to comments (I’m not sure).
Also, uber-long shot #2: check the server-side log file isn’t getting bloated. If some pages are — or have — generated a tonne of errors for some reason, it might be taking a while to append to the file.
Last edited by Bloke (2008-11-17 10:22:53)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Thanks Colak.
No, I never hack core files. Those diagnostics just showed up like that when updating to 4.0.6. I thought I read somewhere errors of this nature don’t always mean anything (thanks, diagnostics) so I just ignored them. They didn’t appear like that on my local dev site, but I experience sluggishness there too (to a lesser degree).
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Bloke wrote:
Set Basic Prefs : Logging = none.
Ahhh, that logging. /* hangs head */
I’ve never understood the ping thing. What is that for, exactly?
My spam blacklists have only this: sbl.spamhaus.org. (I think I read somewhere the others are garbage anyway.)
To Dos:
- Check server logging
- replace files indicated in diagnostics
- walk through plugins, turning them off
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
For the record, rsx_plugins_list appears to be working OK now, the plugins list is now updated without me doing anything but waiting.
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Status (nothing improved):
- server logs don’t appear to be abnormal. error_logs are empty.
- I deactived ied_plugin_composer. Changed nothing.
- I turned off logging in preferences. Changed nothing. I turned it back on for referrers only.
- I replaced all the files that are indicated in the diagnostics. This changed nothing, nor did it make those diagnostic errors go away.
- I turned off the Google Analytics link. It didn’t seem to change much, though perhaps just a little on the home page. I turned it back on.
I have just noticed that any page I go to now in front-office, it never fully loads, stalling at about 95%. One clue of this is my right column list bullets don’t appear, which are probably loading last. Anyone see those?
Couple of other things I’ve noticed recently too, but forgot to mention. When I use Terminal to ssh to my site, I’m bumped out after a short time and have to relogin repeatedly (that might just be a time thing though). Also, when I use Transmit3, I’m frequently experience long queues to get even the smallest file transferred. Sometimes the first attempt hangs while a second attempt goes through over the top of the first. The afterwards the first stops and I get a “could not connect” error about the first queue even though the second attempt succeeded. Strange.
I guess it’s time for a fresh install and reimport the DB…see what smokes.
Last edited by Destry (2008-11-17 12:51:41)
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Maybe you should also check your MySQL db. There might be a lot of overload and errors. In example, you should frequently do db optimization and reparing. That is just important as defragmenting your computer’s hard driver now and then (once in week to once in couple months, depending on usage and needs).
To be able to optimize or repair db, you either need to run commands to your server, use couple of lines of code, or most ppl find phpmyadmin (or compatible) as fine (because the interface that is a lot of easier for non-techs). So open up your MySQL db tool, what ever you are using, and star optimizing/repairing work ;)
Last edited by Gocom (2008-11-17 12:54:46)
Offline
Re: Sloooooooooooooooooooooooooooowwwww, fumbling admin-side. Why?
Ed. Oops you edited it out. ;)
I can run the commands, I just need to know what they are exactly. Oh Goooooglllllllee…
Last edited by Destry (2008-11-17 13:01:59)
Offline