Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
New User Problems - Performance + Options Bug
Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2015 - 12:22 pm

I am new to Simple:Press, so please bear with me, if I have overseen something obvious.

I have 2 Problems, that I find no solution for:

First my Setup:

Wordpress + Theme "Generate Press" + S2 Members + Mingle Forum (should be replaced) + other Plugins - all on latest version.

Installation on dedicated Server with PHP 5.4 and with more than enough performance headroom. No performance issues up to Simple:Press

What did I do?

(1) Clean Installation of Simple:Press

(2) Clean Installation of "Template Tags and Widgets"

No other Plugin from Simple:Press yet in use

 

Problem 1 - Performance:

As described, there is no load on the forum yet and there are no posts yet, beside some few test posts in one! test forum.

Whenever I activate "Template Tags and Widgets" the blog becomes completely unresponsive. It needs about 20-30 Seconds to load the Main Page of the Blog. This is completely unacceptable.

Deactivation of the "Template Tags and Widgets" Plugin, returns the Blog to normal access behaviour, after another minute with depressed response times.

So "something" weird is going on, but I have no idea what?

The problem ist not related to the size of the installation. On my seperate test installation with just 4! members for test purposes, the performance problem is identical. I installed there from scratch too.

So "something" seems to block "something" and seems to create some "loops" in the background.

I have zero idea where to look because up to simple:press, no performance issue at all was present.

 

Problem 2: Error Profile Options

Scanning through the Options of Simple:Press, i found, that I cannot change the profile options.

The following error is shown on the options page to the right:

Fatal error: Call to undefined function is_plugin_active() in /....../wordpress/wp-content/plugins/simple-press/admin/panel-profiles/forms/spa-profiles-options-form.php on line 71

All other options of Simple:Press seem to work fine.

 

Please help. Maybe both Problems are related, but I have no idea.

Problem 1 is a showstopper, as a functioning "recent post" widget is mandatory in order to use Simple:Press in my concrete setup.

Thanks in advance!

Michael

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 2, 2015 - 2:10 pm

Let's do the second one first... This is something that took a while to work out as it only affected a small handful if people. There is a fix posted here: https://simple-press.com/suppo.....r/#p156009 - post #3 - if you could app;y that all should be well and is fixed up in the next update.

As to the first issue I am initially a little stumped. Are you using the recent posts widget? If so you can see from our own site here that it really should not show any particular sluggishness and is, of course one of the most popular items in the template tags plugin.

So - as we have no known issues or other reports of problems with the widget let;s start with basics. Do you have any other widgets in use and do they all perform normally? And perhaps I should ask if there is a chance of a link to your forum page so we can take a look?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2015 - 2:44 pm

Hi Yellow Swordfish,

thanks for the fast response. That makes a good feeling!

On 2)

I have read the post you linked and understand, that this will be fixed with the coming update, so I will refrain from changing the PHP, as I plan to go "live" with the new forum not before december.

I am no fan of individual changes in php and css, as I try to keep my installation as "standard" as possible to prevent unintended side effects.My whole installation is without one single individual line and I am doing fine with it - only expections: wp-config and htaccess.

So I will wait for the next version

On 1)

Sure you could have a link, but I guess it will not help, as the forum is not "live", I am testing it in the background - unseen to users.

And I cant give you access to the installation, as this is the "Live" Site with paying Users on. But if just taking a look will help, I will gladly send you the link, just provide me with an email, for correspondence.

Btw I must correct what I said above. On the Test-Installation, the performance problem when accessing the Main Page does *not* exist. And the plugins on the Test Installation are *completely identical*. So it seems not related to a simple plugin incompatibility.

What is different, is that the SQL database on the test installation is nearly empty, where on the live installation it is roughly 100MB.

Yes, I try to use the "recent post widget". And what I recognize is, that even on the "complete empty" test installation, when klicking on the "post link" of a "recent post", it needs 8 Seconds to load the forum with just one! post! This is not good.

But on the Live installation, I can absolutly confirm, that in the moment I activate "Template Tags and Widgets" as a plugin, a call of the Main URL results in load times of 30 seconds and more! Any further klick, for example to return into the simple:press options, needs 30 seconds again. This is completely weird!

I fully understand, that you cant just create a solution from thin air. What I need is help to nail the problem down step by step. Again, everything looks fine, until I activate this plugin.

Let me give you some more data:

PHP 5.4

SQL 100 MB (with Mingle Forum tables included)

Members imported into Simple:Press as "users" - 1400 (just 400 of them are forum users and just 100 of them truely active)

Forums - just one yet - for test purposes only

Posts - just five yet - for test purposes only

No further migration of old posts yet - Mingle Forum runs in parallel

Forum Page is "restriced" to certain levels via S2 Members Membership plugin

One weird idea:

Just a hunch: Is it possible, that the recent post plugin has a bug that creates a "loop" if it configured for example for showing 20 posts, but these 20 are not there? ..

Most users would not recognize that, because they activate the plugin with a loaded forum, I test it, with a forum nearly empty. Again, just a hunch.

Hope it helps, what should I check next? Do you need the Link?

Thanks, Michael

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 2, 2015 - 3:05 pm

Shouldn't be but it is an intriguing idea, So if you only have 5 posts try reducing the number in the widget see what happens...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2015 - 3:14 pm

Additional Info:

It seems to be a load problem. Look at the images below from todays load on the live system, both peaks were the times, when I activated the plugin. Then deactivated afterwards.

I testet this at 21:05 - 21:08 MEZ again, and will have the overview on a minute by minute basis later after 22:00. Will post it here then.

Hope it helps. Looks like a "loop" causing massive load.

PS: Changed to 1 post in the widget - no change. The problem seems to be more serious, see below:

load-day.pngImage Enlargercpu-day.pngImage Enlarger

Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2015 - 3:41 pm

Maybe I found it. Still weird, but ....

as I said, I have Mingle Forum "Live" running. And I am using a "Recent Post" widget from Mingle on the Live site.

So I had another "hunch". I deactivated the Mingle "Recent Post" Widget and activated "Simple Press Recent Post Widget".

Result: No Issue! :facepalm.

I am one of the first with a master in computer science here in germany, graduated in the early 80s, so you could say I have quite some experience and could enroll at NASA to program Voyager in Assembler and Fortran (lol) ..... but I still find something puzzling new every month in the IT world. Weird!

So the problem moves down in priority, but is still there. And I still would like you to take a look.

Because it "should not" exist, as Mingle and Simple:Press are in completly seperated SQL areas.It seems, that the "parallel" usage of some wordpress code, seems to create the "loop".

It is still a problem, because it hinders my migration strategy. I had no intend to migrate all posts from Mingle to Simple:Press, but to run the both forums in parallel, so that "old" posts could still be checked in Mingle for quite some time.

So it would be nice, if you give it a thought, if there is a solution to run both widgets in parallel.

But luckily the problem is not the same priority any more. It now moved from "Showstopper" to "Annoyance".

Thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 2, 2015 - 3:47 pm

So these peaks were just when it was activated? Not when the page was loaded? A forum such as SP is always going to be quite heavy because of the dynamic nature and the level of sophistication, But it looks to me like there is something else going in there.

It;s quite a small number of users and not really a huge database - although experience shows that SP scales very well.

A couple of things do occur however - although this is unlikely to be the reason fr the slow widget.

Firstly do make sure that in Options > Global the CSS and JS combination and caching are turned on if they are not. Also also make sure you have the avatars set up correctly (profiles > avatars). If you are using Gravatars - install our gravatars cache plugin as that makes an enormous difference,

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 2, 2015 - 3:47 pm

Additional: I should also ask what sort of hosting you are using...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2015 - 3:48 pm

We had some overlap. Take a look at 6 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 2, 2015 - 3:57 pm

How curious. (My two suggestions are still worth following up of course).
Take a look in the SP error log (Toolbox). See if anything makes any sense.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625