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
Performance Problem loading Forum
Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 27, 2015 - 5:19 pm

kvr28, host is in germany (I dont expect you know them) and is no problem. As described in detail in my first post, performance, stability, server, load, everything on the hosting side looks perfectly normal and as every other aspect of my live installation runs flawlessly and with good performance under normal user load, there is no rational need, to further invest in search in that area.

Everything in my long experience is telling me, here is something blocking something on the software side and causing a loop or long wait cycles during build up of the forum structure. It should be able to debug this in SP itself, if someone tells me how to best do this.

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Nov 27, 2015 - 7:11 pm

I have ran simple press for several years so i am pretty familiar with it.

My sites DNS is run through CloudFlare that caches and greatly improves load time with their RocketLoader. and one site is pretty large and gets tons of traffic and sp works flawlessly (other than a user reg issue) that has me stumped at the moment. frown

My two cents worth is pointing the finger at your webhost. Some just plain suck! I used to use HostGator but it turned into a joke after EIG bought it. Dedicated server sounds like overkill to me. Maybe check out vultr.com and get a vps instance. You can get a 4cpu with 8192mem for $64 month.

Steve / Andy hope I'm not breaking a forum rule by suggesting another host. Just trying to be helpful.

Regards, Ed

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2015 - 7:33 am

I'm not sure what could really be 'debugged' within SP, may have to wait for Andy or Steve to offer input there but in the meantime what others have said is accurate. There is no reason SP especially a fresh install with no real content should load slowly other than the obvious - hosting. 

However not wanting to beat that drum to death, what happens when you disable SP? Does the slowness continue? It might be worth checking a couple of quick things, check the SP error log in the toolbox for errors (not notices) and check the PHP error log. If you've been working with PHP, have been running anything outdated or have installed something that was defective even after removing it's possible you could have a very full PHP error log which can bring your site to a crawl.

Other that that, do you see anything odd when loading the page if your browser displays URLs of what's being loaded at the bottom?

Lastly, do you have a local copy of this install? If so - if nothing's changed and it loads fast locally then likely an external factor is causing the slowness live.

Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2015 - 10:10 am

Folks, I really appreciate you trying to help, especially over the weekend. So I really dont want to be rude, but unfortunately this is not of much help. This type of wild guesses, without taking the time to read, what I already said in detail, only increase my frustration, because I am forced to repeat, what I have already written.

I understand that it needs time to read all, what I have written already, but it is necessary if you truly wish to help.

See it from my perspective:

If I dont write enough and dont give enough detail, you tell me, there is not enough information.

If I adress every piece already - as I more or less tried, you dont read it, because its too much.

Now you please tell me, what shall I do? Hmm? 😉

What I am looking for, is a professional support, that works with me step by step. I dont expect that you solve my problem, it is mine, as long there is no identified issue in SP itself. But I need professional guidance from the SP side, to nail this down.

So let me make this straight. General assumptions and guesses about hosting do not help. I can do them myself, I am well capable of that. What I need, is concrete, qualified input. Concrete hints where to look.

For you, I will sum all this up again below.

Please read the following in full now. Step by step. This sums up everything.

If after that, one of you has a concrete, qualified, professional hunch, what might be going on here, I can guarantee my full attention and gratitude!

1. SP shows a dismal perfomance, when trying to call the main page with forum (eg loading the forum structure needs 40-50 seconds). The dismal performance not only happens when loading the complete structure (all groups and forum), but also loading a single forum too (15 seconds).

2. SP was freshly installed on a running WP System with Mingle, S2 Members and other plugins. PHP is 5.4. Dedicated Apache Server. mySQL 5.1.

3. As of yet, SP consists of 6 groups and 40 forums which are ALL EMPTY in terms of threads. This is the starting forum structure I created in advance, before I present the forums to the community.

To repeat it: there is NO LOAD, NO THREADS, NO CONTENT. An empty SP installation not accessed by users yet - instead of myself.

4. I fully understand, that this behaviour is "not normal" to SP. I am far from saying, this is general SP performance. And I dont blame SP as a cause yet.

But "something" is very wrong here. I know that myself. All I am seeking, is professional help, to identify the cause.

5. NO, the backbone (hosting, server) is NOT THE PROBLEM. Your stories about personal experiences with hosters are nice and I can add some myself from my last 25 years of experience in that business, but they dont add to a solution. Fact is: THE SERVER IS NO ISSUE.

I am fully capable myself of checking its logs and monitoring its load. Everything is fine. The server is idle most of the time and does never ever peak to its limits.

6. The connection between the server (hoster) and the web is also fine. Any other application - ANY - from wordpress to other load - is running within expectations and is showing NO signs of performance degradation.

7. Within the WP installation itself, everything runs fine too! If I  try to load an empty! SP, it needs 40-50 seconds. But a second later, if I try to load Mingle with all its load and content or any other part of my wordpress installation, everything is OK performancewise and works as expected!

So what ever the problem is, it ONLY shows when SP loads its structure. Please recognize the major difference: it dont say SP is the cause. I say: it only shows, when SP loads!

8. So there is no slowness that might go away when I disable SP. The slowness iexists ONLY, when SP loads its structure!

The admin options of SP behave perfectly performance wise. When I am within a thread and using the SP editor, everything is perfectly fine. And so on.

BUT WHENEVER SP LOADS ITS STRUCTURE (groups, forum, etc) the performance there seems to be in a "loop" and nothing happens for a long time. This points a little bit to the database as cause as far as I see this.

9: What did I try already?

9.1. I disabled step by step every plugin used, including Mingle, S2 Members, Security you name it: NO EFFECT.

9.2. I installed the debug tool, that Mr. Papa mentionend. In WP Debug Mode the Server ran into an 500 internal server error when loading SP. Dont ask me why - maybe timeout . All other parts of WP work perfectly even in debug mode. This debug tool is not updated for more than one year, and compatibility to current WP is in question. So it makes no sense to invest too much in searching for the cause of this 500.

9.3. I disabled every of the 12 SP Plugins I use (beside Theme reboot) with NO EFFECT on the general issue.

9.4. I played with most of the options in the SP admin panel but found nothing, that affected the performance issue.

9.5. I checked HTML calls and relinks but there is nothing of reference that could cause this, as I disabled almost anything in SP Options that could cause an outbound link - for example Avatars are either individuell uploaded or SP standard, no gravatars.

Simple: I am lost after hours and hours of work.

Where does this leave me?

Maybe the last step before dumping SP is a complete reinstall. But I want to do this only as the last option, because I already spent hours customizing SP in building the new structure with all rights and groups and forums and giving them good, user friendly descriptions, so that the community immediately knows  what to do.

Some theories on what might happen from my experience:

(1) A strange sideeffect/incompatibility with another part of the installation. I hope this is not the case, because after deactivating every other plugin, I am out of options here.

(2) A database inconsistency or type of locking in SQL caused by whatever. This sounds more reasonable, as this behaviour is related to loading the SP structure only! I ran an optimization of the SQL database with a tool, but with no effect on performance.

(3) Some strange parameter on the server I cant monitor myself easily, for example some memory area that is too small or something like that. Not probable but possible. I would need hints here, where to look. Is there a special area, where SP has a known strain on servers?

(4) An inconsistency to PHP 5.4 oder any other basic part of my installation. Not probable, but possible.

All this are just shots in the dark. As I said, I am lost and if I am forced to completely redo all the customization I already did, I am in the mood to throw SP out of the window. 😉

What do I want from support - from you?

First - hearing ANY professional hunch AFTER reading all my bullets above. I am open to ANY idea, I just dont want to repeat over and over again, what I already said.

Second - an explanation how to debug this "40 seconds" optimaly. I am looking for a tool, with that I idealy could execute SP Step by Step and identify, where the time of the 40 seconds is spent.

SOMEWHERE in this 40 seconds of loading the SP structure, must be a loop or a hangup or a deadlock or whatever. When having identified this call/routine/function causing the hangup, I will soon have the solution together with your guidance.

So I am happy to install and debug whatever you propose to take a closer look into the 40 seconds of loading the SP structure when loading SP from the main page.

Please keep in mind that although I am an "old" IT professional with a lot of experience in software and hardware, I am by no means an expert in modern web programming or web hosting. So whatever you propose must have this in mind.

Thats it. Now I hope, I made finally clear, what this is all about.

I dont expect anything over the weekend from your service. As I said, we all have family and it is not your job, to debug my installation. As long as there is no identified problem of SP, this is all my problem, I am aware of that.

But a professional step by step approach starting next week, to help me debug the situation from a SP viewpoint, is all I am asking for.

Thanks!

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Nov 28, 2015 - 10:13 am

Hari, what is your forum url?

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2015 - 10:23 am

sent you via form of your website. thxs.

PS: Forget the link. I did not think far enough. It cant work that easy way, as the forum is behind a S2 members paywall and cant be seen from outside. You would need an access code and I would need to provide you with admin access to see all forums in full. Impementing all this would cost me more time to explain, than it would help.

Unfortunately I need to figure that problem out myself within my system, supported by hints and guidance from others.

But your question was indirectly helpfull. As a test, I now called the forum link not as an admin with full access, but with lower access rights, only seeing 2 of the 40 forums as a test.

The result is: 6 seconds instead of 40.

So there is obviously not ONE major bottleneck, but loading every forum and group takes its (too much) time.

Maybe the problem is related to the S2 Members access logic. Unfortunately I cant just kill S2 Members in general as this protects my content. And shortly deactivating it, didnt make any effect.

But it is still a valid theory, that the access rights slow things down to much, because of some sort of interface problem of SP with S2 Members access logic.

I will do some more thinking.on that assumption, until the SP guys come up with further ideas.

Anyway FidoSysop, thanks for trying to be helpful. I appreciate that. At least it created another idea/path to follow. Have a nice weekend.

Avatar
FidoSysop
Clearwater Florida
Member

VIP
sp_UserOfflineSmall Offline
Nov 28, 2015 - 12:02 pm

Hi Hari, that makes sense. I noticed about a 50% difference between your wordpress home and forum page when running a speed test on Pingdom.com..

Your sites performance grade is really impressive on pingdom. I wished mine got that high of a score!

I have no idea what S2 members paywall is (cdn?) but if you are loading sp's scripts through it that could be the bottleneck.

Personally if your worrying about content scrapers and spam bots attacking your forum content, slap it behind CloudFlare pro act firewall. You can also run in https / tls encryption provided by cf. I run my sites in full https with certificates on both ends and authenticated server pulls to stop any possible scrapers or sniffers on my server ip.

Best wishes and hope you get it figured out soon. Any other questions let me know.

Regards, Ed.

  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2015 - 3:28 pm

could you share the link with us (yelllow swordfish, Ike and mr papa) as well...  if you dont want to post, please send to all of us via PM with a link to this topic so we know for sure what it concerns...I can take a look at some of this missing data I asked for...

doesnt matter on age of plugin (ie wp debug) if there is no reason for it to be updated...

this is a mostly singular issue as general issues are not experiencing so we have to ask lots of questions... same for S2 Member as a fair number of simple press users use it...  nor is 40 forums a particular problem either - though not recommended have seen hundreds of forums...  we just need to dig in and see if we can see anything..

Avatar
Hari
Member
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2015 - 4:23 pm

Mr. Papa, all three of you got mail as requested. Sorry for an additional zero-content-mail, I did some misstyping in the first time (didnt expect that "enter" sends the mail ;))

Let me say, that I highly value you looking into this on holiday weekend. I dont expect this and the problem is not time critical in terms of hours, as the forum is not live yet. So take your time for your families!

All I want is, to sort this out during the course of the coming week.

As far as S2 Members is concerned, I did some additional thinking and I agree with you - I dont think this has to do with the problem.

Reason is, that from my understanding, your rights management in SP uses the WP Roles and there is simply no "authorization ping pong" with S2 members involved before accessing a forum, that could cause a performance degradation.

What you need to know in addition is, that in my SP customization I have SP 8 user groups, based on 7 wp roles provided by WP/S2M.

In addition I have 4 "access sets" set in SP admin panel (dont know the right term, as I see the SP admin in german in front of me, need to guess ;))

The mix of 8 user groups together with 4 access sets, is used in different combination on the 40 forums, to explicitly direct the user to the right forum, he should have access to.

This as information just in case, the access rights mechanic of SP has to do with the problem.

You can contact me here, but much better directly via the mail of my account, as I dont check this PM regulary. But contacting me via my mail, will normaly result in response within an hour.

Thanks again! Hari

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2015 - 5:12 pm

afraid we will need some sort of access to the forum so we can access the page.. without it, cannot see much...

ideally, in order to look around, it would be both a wp admin and sp admin... if not doable, it at least needs to be able to access the wp page...  please pm the account details to the same 3 folks...

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: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620