Announcement

Collapse
No announcement yet.

Very Slow Performance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Very Slow Performance

    I've got my V18 site at a stage to go live in a very basic form with lots of work to do still and more products to add but need to get orders coming in again

    I turned ordering back on to test but anything using a script takes 7-10 seconds (Add-to cart, etc)
    I have suspended ordering for now but you can see an example on this front page https://www.golfteewarehouse.co.uk/index.html

    Clicking on the top menu is fast but clicking on any section image takes over 7 seconds

    The webhost is Host-It - Any suggestions what I can take to the web host to check
    Darren Guppy
    Golf Tee Warehouse
    Golf Tees and Golf Accessories.

    #2
    I see what you mean. I would just ask them about the very slow running of the scripts and let them look at it. It looks to me like it's probably a server issue rather than a sellerdeck one.

    By the way, your 'How to find us' map seems to think it's a product. You probably need to change the layout on that.
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Your site is https://www.golfteewarehouse.co.uk but your section links go to e.g.https://golfteewarehouse.co.uk/cgi-b...&NOLOGIN=1

      So two problems. Missing www. from the cgi-bin URL which could cause problems with the Cart display and cookies.
      The section links operate via Perl and it could be running slowly on your server causing the delays you see.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Originally posted by NormanRouxel View Post
        Your site is https://www.golfteewarehouse.co.uk but your section links go to e.g.https://golfteewarehouse.co.uk/cgi-b...&NOLOGIN=1

        So two problems. Missing www. from the cgi-bin URL which could cause problems with the Cart display and cookies.
        The section links operate via Perl and it could be running slowly on your server causing the delays you see.
        Originally I had an htaccess file redirecting non-www to www address but Host-It support reset it to a default one when we had problems updoading

        Will adding that redirect back help in any way to fix one issue
        Darren Guppy
        Golf Tee Warehouse
        Golf Tees and Golf Accessories.

        Comment


          #5
          This was the content of my old htaccess file some of which is probably no longer needed or bad practice can you advise which if any I should include


          Code:
          Options +FollowSymLinks
          
          RewriteEngine on
          # RewriteCond %{HTTP_HOST} ^golfteewarehouse.co.uk [NC]
          # RewriteRule ^(.*)$ https://www.golfteewarehouse.co.uk/$1 [L,R=301]
          
          
          # Redirect non-www urls to https://www
          RewriteCond %{HTTP_HOST} !^www\.golfteewarehouse\.co.uk
          RewriteRule (.*) https://www.golfteewarehouse.co.uk/$1 [R=301,L]
          
          #Redirect anything else non http to https
          RewriteCond %{HTTPS} off
          RewriteRule ^(.*)$ https://www.golfteewarehouse.co.uk/$1 [R=301,L]
          
          ErrorDocument 404 /acatalog/404_Page.html
          
          #Gzip
          
          <IfModule mod_deflate.c>
          # DEFLATE by type - html, text, css, xml
          AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml
          # DEFLATE by type - javascript
          AddOutputFilterByType DEFLATE application/x-javascript application/javascript text/javascript text/x-js text/x-javascript
          </ifmodule>
          
          #End Gzip
          
          # BEGIN EXPIRES
          
          <IfModule mod_expires.c>
          ExpiresActive On
          ExpiresDefault "access plus 30 minutes"
          ExpiresByType text/html "access plus 30 minutes"
          ExpiresByType image/gif "access plus 1 week"
          ExpiresByType image/jpeg "access plus 1 week"
          ExpiresByType image/jpg "access plus 1 week"
          ExpiresByType image/png "access plus 1 week"
          ExpiresByType image/ico "access plus 6 months"
          ExpiresByType text/css "access plus 1 week"
          ExpiresByType text/javascript "access plus 1 week"
          ExpiresByType text/js "access plus 1 week"
          ExpiresByType text/x-js "access plus 25 days"
          ExpiresByType text/xml "access plus 1 week"
          ExpiresByType application/javascript "access plus 1 week"
          ExpiresByType application/x-javascript "access plus 1 week"
          </IfModule>
          
          # END EXPIRES
          
          
          RewriteCond %{HTTP_HOST} ^golfteewarehouse\.com$ [OR]
          RewriteCond %{HTTP_HOST} ^www\.golfteewarehouse\.com$
          RewriteRule ^(.*)$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/$1" [R=301,L]
          
          RewriteCond %{HTTP_HOST} ^wholesalegolftees\.co\.uk$ [OR]
          RewriteCond %{HTTP_HOST} ^www\.wholesalegolftees\.co\.uk$
          RewriteRule ^(.*)$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/$1" [R=301,L]
          
          RewriteCond %{HTTP_HOST} ^rhinogolf\.co\.uk$ [OR]
          RewriteCond %{HTTP_HOST} ^www\.rhinogolf\.co\.uk$
          RewriteRule ^/?$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/" [R=301,L]
          
          RewriteCond %{HTTP_HOST} ^rhinogolf\.uk$ [OR]
          RewriteCond %{HTTP_HOST} ^www\.rhinogolf\.uk$
          RewriteRule ^/?$ "https\:\/\/www\.golfteewarehouse\.co\.uk\/" [R=301,L]
          
          # php -- BEGIN cPanel-generated handler, do not edit
          # Set the “ea-php53” package as the default “PHP” programming language.
          <IfModule mime_module>
          AddHandler application/x-httpd-ea-php53 .php .php5 .phtml
          </IfModule>
          # php -- END cPanel-generated handler, do not edit

          This is the new one


          HTML Code:
          #SSL Redirect
          RewriteEngine On
          RewriteCond %{HTTPS} off
          RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
          
          #Block Access to specific sellerdeck files
          <FilesMatch "\.(htaccess|htpasswd|fil|session|authorise|mail)$">
          Order Allow,Deny
          Deny from all
          </FilesMatch>
          Darren Guppy
          Golf Tee Warehouse
          Golf Tees and Golf Accessories.

          Comment


            #6
            I’m with Host-it and very occasionally the website gets a little sticky on internal links and hangs for a while.

            I normally just email support quick asking them to give the server a kick or reboot and it usually does the trick.

            however it is most likely to be another issue mentioned above.
            Regards

            Jason

            Titan Jewellery (Swift Design)
            Zirconium Rings
            Damascus Steel Rings

            Comment


              #7
              This is the response from Host-It



              Hi,

              Just looking at the site and a few things I have note is that some content is not loading or missing,

              When navigating to a random page I found the below,
              https://golfteewarehouse.co.uk/acata...ed.html#SID=13


              Code:
              DevTools failed to load source map: Could not load content for https://golfteewarehouse.co.uk/acatalog/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
              DevTools failed to load source map: Could not load content for https://golfteewarehouse.co.uk/acatalog/bootstrap.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
              DevTools failed to load source map: Could not load content for https://golfteewarehouse.co.uk/acatalog/popper.min.js.map: HTTP error: status code 404,

              when looking in the browser developer tools this is showing the slow loading resources always seem to be coming from "actinicextras.js?DAYNO=VIWC" this may not be the cause but something I noticed when looking at pages, I also noticed during the page load a few of the slowest loading urls/links are as below, not sure if this is just something that needs cleaning up in the software due to the upgrade or not but this does seem a little odd as we don't have any other users reporting this. I also see in the performance insights it's highlighting "Issue Stylesheet blocking rendering" which may be something to investigate.

              Code:
              https://golfteewarehouse.co.uk/cgi-bin/aj000042.pl?ACTIONS=GetBreadcrumbTrail&REF=106&SID=12&ROOTCLASS=ajs-bc-home&PRODCLASS=ajs-bc-prod&timestamp=1670241067555
              
              https://golfteewarehouse.co.uk/cgi-bin/st000042.pl?ACTION=GETSTOCK&REF=106&SID=12&timestamp=1670241067715
              
              https://golfteewarehouse.co.uk/cgi-bin/dx000042.pl?ACTION=GETALLPRICES&SID=12&v_106_3=on&v_106_1=&v_106_2=&timestamp=1670241070107
              Darren Guppy
              Golf Tee Warehouse
              Golf Tees and Golf Accessories.

              Comment


                #8
                The Network test now fails as does a site publish

                Network test

                Code:
                The web server returned error code 502 - Bad Gateway. The web server returned a bad response. Contact Sellerdeck support

                Upload
                Code:
                The web server returned an unknown response.
                
                Possible Cause:
                You are attempting to download orders
                before uploading to the web site
                Incorrect CGI-BIN URL in the web site details
                Incorrect permissions on the CGI script on
                the server (UNIX servers only)
                Script corruption - Could be caused by:
                Binary ftp transfer during manual installation
                Incomplete transfer
                Garbled transfer
                etc.
                Old or bad version of Perl running on server
                Http server error
                Wrong Path to Perl specified in the
                web site details
                Unknown
                Recommendation:
                Abort
                Resolution:
                Check cgi-bin script permissions
                Compare cgi-bin script against local script to
                check for corruption
                Upgrade Perl on server (needs at least 5.002)
                Run the Web | Configure Web Site Details command to verify your setup
                Re-install the web site
                Review server response for hints
                
                The response was:
                <HTML>
                <HEAD><TITLE>Script Error!</TITLE></HEAD>
                <BODY>
                <BLINK><B><FONT COLOR="#FF0000">
                Script Error</FONT></B></BLINK>
                </BODY>
                </HTML>
                
                
                
                Command: Filename:
                Darren Guppy
                Golf Tee Warehouse
                Golf Tees and Golf Accessories.

                Comment


                  #9
                  Network Settings

                  Code:
                  HTTPPROXYMODE 0
                  HTTPPROXYADDRESS
                  HTTPPROXYPORT 80
                  HTTPPROXYUSER
                  HTTPPROXYPASSWORD
                  FTPPROXYMODE 0
                  FTPPROXYADDRESS
                  FTPPROXYPORT 21
                  FTPPROXYUSER
                  FTPPROXYPASSWORD
                  SCRIPTID 42
                  SCRIPTEXT .pl
                  SMTPHOST localhost
                  WEBSITEURL https://golfteewarehouse.co.uk/
                  IGNOREPASSIVEERRORS true
                  USERELATIVECGIURLS false
                  PATHTOPERL /usr/bin/perl
                  FTPBUFFERSIZE 4
                  FTPCLIENTTIMEOUT 55000
                  FTPRETRYDELAY 3000
                  FTPKEEPALIVEINTERVAL 30000
                  FTPSILENT false
                  FTPMAXRETRIES 3
                  FTPCONNECTTIMEOUT 60000
                  ONLINESTOREFOLDERNAME acatalog
                  SMTPAUTHREQUIRED false
                  SECURESMTPREQUIRED false
                  SMTPUSERNAME
                  SMTPPASSWORD
                  SMTPPORT 25
                  SMTPTIMEOUT 15
                  COMPRESSIONPACKETSIZE 1024
                  COMPRESSEDUPLOAD true
                  SSLCATALOGURL https://golfteewarehouse.co.uk/acatalog/
                  SSLCGIBINURL https://golfteewarehouse.co.uk/cgi-bin/
                  SSLPATHFROMCGITOCATALOG ../acatalog/
                  SSLFTPHOST secure8.host-it.co.uk
                  SSLFTPUSERNAME ********
                  SSLFTPPASSWORD ********
                  SSLPATHTOCGIBIN /httpdocs/cgi-bin/
                  SSLUSEPASSIVEFTP true
                  SSLFTPPORT 21
                  SSLFTPSECUREFTP true
                  SSLFTPENCRYPTDATA false
                  CATALOGURL
                  CGIBINURL
                  PATHFROMCGITOCATALOG
                  FTPHOST
                  FTPUSERNAME
                  FTPPASSWORD
                  PATHTOCGIBIN
                  USEPASSIVEFTP false
                  FTPPATHFROMCGITOCATALOG
                  FTPPORT 21
                  FTPSECUREFTP true
                  FTPENCRYPTDATA false
                  Darren Guppy
                  Golf Tee Warehouse
                  Golf Tees and Golf Accessories.

                  Comment


                    #10
                    Personally I would use www. on both the website url and the cgi-bin.

                    At the moment you've got www. on neither and yet you sound as if you're doing a redirect to www. on the url which is a bit back to front and convoluted.
                    -----------------------------------------

                    First Tackle - Fly Fishing and Game Angling

                    -----------------------------------------

                    Comment


                      #11
                      Originally posted by Mike Hughes View Post
                      Personally I would use www. on both the website url and the cgi-bin.

                      At the moment you've got www. on neither and yet you sound as if you're doing a redirect to www. on the url which is a bit back to front and convoluted.
                      Thanks I've changed that in three places in the network settings but can't upload to the server

                      It was working previously but despite no making any changes (Network setting test fails and uploads also fail)
                      Darren Guppy
                      Golf Tee Warehouse
                      Golf Tees and Golf Accessories.

                      Comment


                        #12
                        Network test just gives "The web server returned error code 502 - Bad Gateway"

                        I've contacted Host-It support again for any info
                        Darren Guppy
                        Golf Tee Warehouse
                        Golf Tees and Golf Accessories.

                        Comment


                          #13
                          Despite not changing anything server access is working again, strange, although still very slow
                          Darren Guppy
                          Golf Tee Warehouse
                          Golf Tees and Golf Accessories.

                          Comment


                            #14
                            It seems to be working again. Pretty quickly for the static urls but fairly slowly for the perl scripts.

                            That's a good starting point to investigate what might be causing the delay to the perl scripts.

                            Edit: PS. I'd get it all working nice and smoothly first and then focus a bit on the htaccess file after that. It's quite easy for the htaccess script to mess things up so it's much easier to diagnose other problems without it.
                            -----------------------------------------

                            First Tackle - Fly Fishing and Game Angling

                            -----------------------------------------

                            Comment


                              #15
                              Thanks Mike

                              Trying to get Post Code lookup and Sellerdeck payments now, then get back to the slow scripts

                              for Post Codes I get "This license key cannot be used from this web site, the security settings for the license key may not include this domain"

                              And for Sellerdeck Payments get

                              Invalid POST form field value for: ekashu_hash_code
                              Invalid POST form field value for: ekashu_hash_code_type
                              Invalid POST form field value for: ekashu_hash_code_version
                              Darren Guppy
                              Golf Tee Warehouse
                              Golf Tees and Golf Accessories.

                              Comment

                              Working...
                              X