listcontent.php slow when there are many pages

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
qbrix
Forum Members
Forum Members
Posts: 24
Joined: Fri Nov 10, 2006 7:56 pm

listcontent.php slow when there are many pages

Post by qbrix »

Hello,
  I'm running CMS 1.0.2 with MANY pages, and thats causing the listcontent.php page in the admin section to load VERY slowly. When the pages are collapsed (or when there was only a couple pages), it runs fine. But for the purpose of needing to add many pages in a large hierarchy, its too slow to even work with. Right now there is about 120 pages, running on a dedicated server (Slackware 10, 2.8Ghz, 1Gb RAM). Very little else is running on it, and everything else runs fast. Also, I set the php memory_limit to 64M, and I'm using eaccelerator.

Any ideas?
Last edited by qbrix on Tue Feb 13, 2007 5:43 pm, edited 1 time in total.
User avatar
chead
Forum Members
Forum Members
Posts: 63
Joined: Tue Feb 06, 2007 4:01 am

Re: listcontent.php slow when there are many pages

Post by chead »

Check out the current blog entry on Shortcuts  (a shameless plug ;D).

Give the Add Page and Collapse & List Pages tips a try!

Another little trick is to use "Apply" instead of "Submit" when saving a page so the pagelist doesn't re-display. If you open a new window to add a page, you can just close it after applying.
Last edited by chead on Wed Feb 14, 2007 1:44 am, edited 1 time in total.
qbrix
Forum Members
Forum Members
Posts: 24
Joined: Fri Nov 10, 2006 7:56 pm

Re: listcontent.php slow when there are many pages

Post by qbrix »

good tips

But, after talking to Ted on irc, he seemed to think that this is irregular. Perhaps I should have mentioned that with my ~120 pages, it takes 11 seconds to load the listcontent.php when its fully expanded. Ted feels that this shouldn't be happening.

:-\
cyberman

Re: listcontent.php slow when there are many pages

Post by cyberman »

Got a modified listcontent version from another user.

Please download it here and tell me how long this version takes to load all pages.
qbrix
Forum Members
Forum Members
Posts: 24
Joined: Fri Nov 10, 2006 7:56 pm

Re: listcontent.php slow when there are many pages

Post by qbrix »

Not much difference. Sometimes it loads a couple seconds faster, but on average its still around the same.
cyberman

Re: listcontent.php slow when there are many pages

Post by cyberman »

Hmm, have you tried to deinstall and delete all unused modules, tags and translations (admin and modules)?
qbrix
Forum Members
Forum Members
Posts: 24
Joined: Fri Nov 10, 2006 7:56 pm

Re: listcontent.php slow when there are many pages

Post by qbrix »

how would that help? other than listcontent.php, the site is VERY fast
cyberman

Re: listcontent.php slow when there are many pages

Post by cyberman »

Don't wanna quote source here. Please make a look at listcontent.php. It requires include.php. Inside this one other files are required. Long speak, short sense ... all translations and modules are loaded by include.php. If they are deleted it MUST be faster ...

Try it or try it not - I'm trying to help you with my support skills :).
cyberman

Re: listcontent.php slow when there are many pages

Post by cyberman »

Have you tried to speed up admin panel like here?

http://forum.cmsmadesimple.org/index.ph ... l#msg50882
Post Reply

Return to “CMSMS Core”