Baffling speed issues Xenforo 2.1.1 on a shared Godaddy server Max_User_Connections errors

We have no idea what your site even is: We have no idea of your traffic, posts etc..
What kinds of scores are you seeing on these tests? (Link your results)








* site is not hosted at GoDaddy *

GA4 results - daily averages: 1,600 visitors, 24,000 page views.

Forum statistics:
Threads 24,059
Messages 752,752
Members 5,839
 
Last edited:
Everyone is confused because you hijacked another thread about godaddy.

if you're bogging, it's probably due to ram and swap. What is your swap/pagefile size and what kind of hdd? frankly, your phone probably has more than 2gb of ram, so it's not surprising that a server isn't performing with that...
 
Your compression and caching are causing issues. Luckily you can solve both issues along with the lack of a cdn by using cloudflare's free plan.


Digitalpoint even offers an addon if you prefer to manage cloudflare details from your admincp vs their site.


Code:
FAILED - (No max-age or expires) - https://forums.redvee.net/styles/fonts/fa/fa-regular-400.woff2?_v=5.15.3
FAILED - (No max-age or expires) - https://forums.redvee.net/styles/fonts/fa/fa-solid-900.woff2?_v=5.15.3
FAILED - (No max-age or expires) - https://forums.redvee.net/styles/fonts/fa/fa-brands-400.woff2?_v=5.15.3
FAILED - (No max-age or expires) - https://forums.redvee.net/js/xf/preamble.min.js?_v=2b0e5ceb
FAILED - (No max-age or expires) - https://forums.redvee.net/js/vendor/jquery/jquery-3.5.1.min.js?_v=2b0e5ceb
and so on....

Code:
782.5 KB total in compressible text, target size = 540.8 KB - potential savings = 241.7 KB

FAILED - (210.8 KB, compressed = 60.4 KB - savings of 150.4 KB) - https://forums.redvee.net/js/xf/core-compiled.js?_v=2b0e5ceb
FAILED - (87.4 KB, compressed = 30.2 KB - savings of 57.2 KB) - https://forums.redvee.net/js/vendor/jquery/jquery-3.5.1.min.js?_v=2b0e5ceb
FAILED - (42.7 KB, compressed = 12.5 KB - savings of 30.2 KB) - https://forums.redvee.net/js/vendor/vendor-compiled.js?_v=2b0e5ceb
FAILED - (3.6 KB, compressed = 1.5 KB - savings of 2.1 KB) - https://forums.redvee.net/js/xf/notice.min.js?_v=2b0e5ceb
FAILED - (3.5 KB, compressed = 1.7 KB - savings of 1.8 KB) - https://forums.redvee.net/js/xf/preamble.min.js?_v=2b0e5ceb

Also, in the webpagetest results, click on the dropdown menu and select "Image Analysis". Following that brings you to a cloudinary page where they offer you compressed images.


Current Images:109.5 KB
Potential after Smart Compression:18.0 KB

One more thing, you should throw this into your .htaccess file also to help cover those items server side if you don't want to use a cdn to do it.


Apache config:
<IfModule mod_brotli.c>
    AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript application/json application/x-font-ttf application/vnd.ms-fontobject image/x-icon
</IfModule>

# Compression for other file types (fallback to gzip)
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript application/json application/x-font-ttf application/vnd.ms-fontobject image/x-icon
</IfModule>

<IfModule mod_expires.c>
    ExpiresActive On
    # Cache-Control directives
    ExpiresDefault "access plus 1 month"
    ExpiresByType text/css "access plus 1 year"
    ExpiresByType application/javascript "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/svg+xml "access plus 1 year"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresByType application/json "access plus 1 week"
    ExpiresByType application/ld+json "access plus 1 week"
    ExpiresByType application/schema+json "access plus 1 week"
    ExpiresByType application/xml "access plus 1 week"
    ExpiresByType text/xml "access plus 1 week"
    ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
    ExpiresByType application/atom+xml "access plus 1 week"
    ExpiresByType application/rdf+xml "access plus 1 week"
    ExpiresByType application/rss+xml "access plus 1 week"
    ExpiresByType text/plain "access plus 1 month"
    ExpiresByType text/x-component "access plus 1 month"
    ExpiresByType application/manifest+json "access plus 1 week"
    ExpiresByType application/x-web-app-manifest+json "access plus 1 week"
    ExpiresByType text/cache-manifest "access plus 1 week"
    ExpiresByType application/pdf "access plus 1 month"
    ExpiresByType application/x-shockwave-flash "access plus 1 month"
    ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
    ExpiresByType font/eot "access plus 1 month"
    ExpiresByType font/opentype "access plus 1 month"
    ExpiresByType application/x-font-ttf "access plus 1 month"
    ExpiresByType application/font-woff "access plus 1 month"
    ExpiresByType application/font-woff2 "access plus 1 month"
    ExpiresByType application/x-font-woff "access plus 1 month"
    ExpiresByType font/woff "access plus 1 month"
    ExpiresByType image/bmp "access plus 1 year"
    ExpiresByType image/webp "access plus 1 year"
    ExpiresByType audio/ogg "access plus 1 month"
    ExpiresByType video/mp4 "access plus 1 month"
    ExpiresByType video/ogg "access plus 1 month"
    ExpiresByType video/webm "access plus 1 month"
</IfModule>

# Additional caching directives for specific resources
<IfModule mod_headers.c>
    Header set Cache-Control "public, max-age=604800" "expr=%{REQUEST_URI} =~ m#^/js/xf/inline_mod\.min\.js#"
    Header set Cache-Control "public, max-age=31536000" "expr=%{REQUEST_URI} =~ m#^/js/xf/thread\.min\.js#"
    Header set Cache-Control "public, max-age=604800" "expr=%{REQUEST_URI} =~ m#^/js/xf/prefix_menu\.min\.js#"
</IfModule>
 
Last edited:
Everyone is confused because you hijacked another thread about godaddy.

if you're bogging, it's probably due to ram and swap. What is your swap/pagefile size and what kind of hdd? frankly, your phone probably has more than 2gb of ram, so it's not surprising that a server isn't performing with that...
Sorry. I guess I should have started a new thread but this one had so much in common with my issues, I thought this would be a good place to start.
 
Last edited:
Top Bottom