1
diggerSS
Re: Configuration settings impacting speed
  • 2011/1/4 2:40

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


Rodney,
As mentioned, I did a re-install so never did nail down the specific problem. I do have a xoops site running "internally" for development. It was on Win XP Pro, now on Win 7-64. I have not tried to access remotely, but will give it a try and let you know.

Digger



2
diggerSS
Re: Configuration settings impacting speed
  • 2011/1/3 6:35

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


Just a follow-up... I re-created the site on HostGator (Linux) and now the load time is around .3 seconds.

Big improvement!

I did not have time to reload the existing site to try to track down the cause of the problem but will try to do this. The new site used the same modules as before, so presumably a bad setting somewhere.

Thanks for all the assistance!



3
diggerSS
Re: Configuration settings impacting speed
  • 2011/1/1 23:03

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


Both the servers are remote (dreamhost.com and web.com).

Both hosts maintain the MySQL database on a separate server, but should be handled OK in mainfile.php. Only thing I can think of now is the "static file compression" which is set to "enabled" on the Windows hosting server in the PHP.INI file in the <windir> which I do not have access to, and do not see a way to override.

Looks like Linux is the next set.

Thanks.



4
diggerSS
Re: Configuration settings impacting speed
  • 2011/1/1 20:16

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


I am not sure how to check the server load. If I call up the old html pages, it displays very quickly which would seem to indicate server and communication lines are OK.

My site has no banner, and only two images: the Xoops_banner was replaced with a 500x80, 11 kb PNG file. the other is a 130x59, 30kb jpeg file sized the same as displayed.

Using the default theme without any modifications. I also have installed zetagenesis, but it is not used.

The initial page displayed is relatively simple with 8 blocks enabled and the banner. If I make all blocks invisible except for 1 (two sentences), and leave the main menu and user login I get:
Timers
XOOPS took 3.276 seconds to load.
XOOPS Boot took 1.648 seconds to load.
Module init took 0.391 seconds to load.
XOOPS output init took 1.237 seconds to load.
Page rendering took 0.167 seconds to load.

- I do not know if making a block invisible stops it from reading that data from the database.

Thanks...



5
diggerSS
Re: Configuration settings impacting speed
  • 2011/1/1 19:18

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


Thanks.

I found there is an IIS 7 setting for "Compression" and "enable static content compression" is set to true at the server level and I cannot find a way to override this. I do not know if this is creating a problem or not.

Looks like I am moving to Linux!

Again, thanks to all for the help!



6
diggerSS
Re: Configuration settings impacting speed
  • 2011/1/1 16:02

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


Thanks for suggestions.

I found turning off GZip helped with load time; it is now around 4 seconds.

Changing the makefile.php :

// Use persistent connection? (Yes=1 No=0)
// Default is "Yes". Choose "Yes" if you are unsure.
define('XOOPS_DB_PCONNECT', 1);

to zero actually increased time by about a half second. I set it back to 1 and times now remaining around 3 - 4 seconds (using 10 retries):

Timers
XOOPS took 3.382 seconds to load.
XOOPS Boot took 1.290 seconds to load.
Module init took 0.290 seconds to load.
XOOPS output init took 1.802 seconds to load.
Page rendering took 0.403 seconds to load.

Before trying to reinstall on a Linux system, just wanted to ensure I exhausted all options...

Still would like to see it closer to the speed of the second site:
Timers
XOOPS took 0.193 seconds to load.
XOOPS Boot took 0.032 seconds to load.
Module init took 0.002 seconds to load.
XOOPS output init took 0.060 seconds to load.
Module display took 0.022 seconds to load.
Page rendering took 0.045 seconds to load.

The Windows (slower site) has XForms module 1, Protector 3.4 (currently disbaled) and Content 1.32 modules installed; the faster site has Content 1.32, SmartFAQ 1.08 and Forum 3.08 modules installed.

The time is from the first page display and both show only system blocks. Blocks have only basic HTML tags (unordered list tags and paragraph tags).

Thanks again for suggestions.



7
diggerSS
Re: Configuration settings impacting speed
  • 2010/12/31 23:47

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


Thanks for the quick reply. The sites are different and the Linux site is much simpler, but a 12 second load time will not work - this is all static data - no forums, etc at this time.

Is there that much of a difference between Linux and Windows on speed?

Any other dumb things I could have missed in setting up the second/slow site?

- If a module is disabled/uninstalled (but still shows on the bottom of the modules screen), can I assume it has no impact?




8
diggerSS
Configuration settings impacting speed
  • 2010/12/31 22:59

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


I am relatively new to Xoops, and have set up two sites. Once works well, the other is slow (12 seconds to load first page.)

I have looked for a "best practices" (or items to avoid) which impact speed. The setup screens do a good job of inidcating settings and implications, but was hoping to find a quick ckeck-list of the stupid things I may have done which would cause the system to run slow.

Both my sites are base on Xoops 2.4.4 and use the Contents (1.32) Module.

The site which runs fast is running on Dreamhost.com on Linux; the one running slow is on Web.com on a Windows system. Both run PHP 5.x

The slow one has:
- cache set to 1 day or more in blocks and system-wide settings
- GZip enabled
- recompile templates = false
- persist connection for mysql = yes

I has tried a number of modules (AMS 3, ArchContact.1. ContactUs .8, Edito 2.31, iMenu 3.1, Liase 1.23, MultiMenu 1.74, News 1.64) which have all been disabled and uninstalled.

I am using MySQL 5.0.77; besides xoops_config and xoops_group_permissions, no table has more than 50 records. the entire DB.

The regular HTML pages and non-xoops pages are served up promptly.

Using debug, I have no errors- just a slow load as follows:
Timers
XOOPS took 12.436 seconds to load.
XOOPS Boot took 2.595 seconds to load.
Module init took 0.665 seconds to load.
XOOPS output init took 7.517 seconds to load.
Module display took 0.063 seconds to load.
Page rendering took 1.274 seconds to load.

I am using default theme; the main page has only 8 blocks, with nothing fancy - just text. (I tried to disable half of these and it did help a little, but the blocks was one of the main advantages for moving to xoops.) I have only a samll graphic at the top and a logo on the page. I used Speed Test (http://www.indeep76.com/) which indicates the image load are not a problem.

Any thoughts? I see that 2.5 is available, but hoping for some guidance on things I may have overlooked before trying the upgrade.

Thanks in advance for any suggestions.



9
diggerSS
xForm email permission problem
  • 2010/6/21 1:40

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


I am using xForms for a simple "contact us" box.

It works fine when logged in as Administrator/webmaster, and email also works fine for lost password.

But when I log out and try to send an email from the form as an unregistered user, I get the error:

"Unexpected results occurred. IN order to keep your data consistent, please refresh your page and try again".

I assume it is a permissions problem, but unable to find where I have a conflict...

Any suggestions?

(Xoops 2.4.4, xForms 1)

Thanks.



10
diggerSS
Re: Content Modules?
  • 2010/5/30 14:16

  • diggerSS

  • Just popping in

  • Posts: 16

  • Since: 2009/10/20


Thanks for the prompt replies.

I have looked at Content by kerkyra and found it very workable for one block, but when I added a second block and tried to connect to menu (with sub-menu), I could not get it to work wihtout a help file or definition of choices. The web-site on the modules page appears to be his demo page... I checked the Wiki without success.

So close... I have tried varius settings, but after finding that setting the "error" radio button removed the content I had added, I came to the community for help...

Is there a place to find help files/instructions on this (and other) modules?

Thanks.





TopTop
(1) 2 »



Login

Who's Online

261 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 261


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits