studiot

Why is ScienceForums going so slowly these Days?

Recommended Posts

When the latest forum format was introduced, for all its many faults, it was not slow.

For the past few weeks SF have been interminable waits between moving to another page or responding to simple questions like hovering the mouse over the who is online list.
 

Share this post


Link to post
Share on other sites

I'm getting a number of 502 Bad Gateway errors lately, as well.

Share this post


Link to post
Share on other sites

Same here - I thought it was to do with my new network cable...  but I don't thinks so now. Other things are OK.

Share this post


Link to post
Share on other sites

Yes, I've had the 'bad gateway' and I've also found that other sites are not acting like this.

The problem occurs on ( fully up to date) Firefox on an older PC and also on Bing on a fully uptodate windows 10 machine.

If I for instance clcik on to move from page 2 to page 3 on a thread I see the timer circling with the word 'connecting' dosplayed.

I also see 'waiting for scienceforums.net quite often for upt to 30 seconds in the activity box in the bottom right, along with the

waiting for google ads, etc etc .

Edited by studiot

Share this post


Link to post
Share on other sites

I'll look into this soon. We had problems soon after the upgrade, which we were able to fix, but I'm not sure what could be making the site slow now.

Share this post


Link to post
Share on other sites

It looks like we were getting bursts of traffic faster than we could start PHP processes, and didn't have enough spare processes. I bumped the maximum number of spare processes up to 25 (from 10) and the overall cap up to 50.

I'm not sure if that will solve the entire problem, but it should prevent some of the Bad Gateway errors. Let me know what you experience over the next day or so.

Share this post


Link to post
Share on other sites
10 minutes ago, Cap'n Refsmmat said:

Let me know what you experience over the next day or so.

Thanks it's already much better and someone else is concurrently watching HD video over my broadband as well as my use, whereas it's been solo all day here till now.

:)

Edited by studiot

Share this post


Link to post
Share on other sites

Originally thought it was the latest Win 10 update that was buggering things up.
Tried another laptop without the update, and same issues.

Logged on tonite, and seems pretty smooth sailing ( or surfing ) so far.
Thanks Cap'n.

Share this post


Link to post
Share on other sites

much faster thanks once again Capt your doing a great job on responses to problems. Far better than I've seen on other sites from admin staff.

Share this post


Link to post
Share on other sites

Just got 502 Bad Gateway again.(just a hiccup perhaps.Seems fine otherwise)

 

Edited by geordief

Share this post


Link to post
Share on other sites

Spoke too soon...

Gotten progressively worse.
waiting about a minute to navigate between pages, sign in, or save a post.
( feel like I'm on dial-up again )

Share this post


Link to post
Share on other sites
13 minutes ago, geordief said:

Just got 502 Bad Gateway again.(just a hiccup perhaps.Seems fine otherwise)

Yeah, there's a PHP bug that makes it crash occasionally, and you get a 502 when that happens. It seems to happen every few minutes, and one random person trying to load a page when it happens is the lucky winner.

I wasn't able to find any bug reports that matched the crash, but I did just upgrade our PHP install, and will watch to see if that fixes it.

2 minutes ago, MigL said:

Spoke too soon...

Gotten progressively worse.
waiting about a minute to navigate between pages, sign in, or save a post.
( feel like I'm on dial-up again )

Backups just ran and sucked up a lot of CPU. Also I was running the upgrades. Let's see how the next day or so goes and that'll tell us if it's fixed.

Share this post


Link to post
Share on other sites

Wiated 90 seconds for

"waiting for csigstatic .com" whilst moving from page 1 to page 2 of a thread.

waited 45 seconds for ad.doubleclick.net after clcikcing on a thread in "Activity" tab.

Edit

waited 18 seconds after clicking on save to post the above.

'Edit' took less than 5 seconds to work

Edited by studiot

Share this post


Link to post
Share on other sites

I just killed some idle processes on the server and upped the PHP opcode cache memory limit to 128MB instead of 64MB (it was full). Both should help a bit. I'll check in again tomorrow to see if the memory limit is adequate and see if there's anything more I can do.

Share this post


Link to post
Share on other sites

I haven't found any particular problem with speed, but I have had several 502 Bad Gateway messages. None in the last 12 hours.

Share this post


Link to post
Share on other sites

Just made another tweak: allowed nginx (the web server software) to use 16 processes instead of just 4, since we do have 16 cores available on the server. Perhaps that will decrease some of the latency we've been seeing, where it takes multiple seconds before the server even replies to a request.

Share this post


Link to post
Share on other sites

I was locked out with repetive 502's from about 6:15 to 7:20 pm BST. Some pages are taking 15+ seconds to load.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now