Jump to content
Sign in to follow this  

502 Bad Gateway, and general slowness

Recommended Posts


The Page Options page can take 90+ seconds to load, if it does at all. I was given this link by someone: http://www.pagelines.com/forum/topic/26952-page-options-page-stops-working-properly-when-trickle-is-implemented/ 


OK. Sooo..... what is the limit?

The docs don't explain this anywhere, but the link talked about sections and core elements blah blah blah. I found in the "store" what sections we have added, and the core elements.
There are 34 sections activated in Core, 18 added sections active, and 2 added sections not active. Is 52 too many sections? How many too many? Is 46 the limit? How does that math relate to a php limit in htaccess?
Where do I tell what's actually used on the site, in the drag & drop section, do I have to click on every possible layout and see what's been built? 
I'm new to this role, and the IT person who decided on Pagelines is no longer here. I don't see why anyone would go with a proprietary framework, but now the damage is done, so I need to make this site useable by us internally (stop the constant timing out when in Pagelines), by viewers who will inevitably bounce after 7-10 second wait times per page, etc.

Share this post

Link to post
Share on other sites



Yes, 52 is a bit much.


Keep in mind that if the amount of memory allocated to PHP is low, each time your page loads with 18 or more sections, plus image, plugins, text, javascripts, jQuery, AJAX, etc, there is a pretty heavy strain on resources.  Deactivate any sections not used.  You don't have to delete them.


Then, when it comes to your server, make sure that PHP resources are increased to 64Mb or higher.  The maximum is 256Mb.


I'd recommend using a service like MaxCDN or Cloudflare to deliver scripts and images, etc., from alternate servers, reducing the load on your machine, and thus increasing speed and performance.  Also, make sure all your custom code is correct (validate it if it's not LESS code).


Make sure all plugins are up to date and current with WP 3.5.3.


Make sure images aren't being scaled by WordPress.  If you want to display an image in the content area, make sure that the image is actually the size desired, not much larger.  Some images can take up more than 2Mb of memory when loading.  This can be a major source of slowness.


Run a Pingdom test at http://tools.pingdom.com and it will tell you where your slowness is happening. Look for long wait times. When you see that, there's some reason the server is waiting for action.

Former PageLines Moderator, Food Expert and Raconteur

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

Sign in to follow this  

  • Similar Content

    • yemoonyah
      By yemoonyah+
      Hi, even though I just got a SSL certificate, I can't get the green padlock to appear due to the following error:
      :A file with an insecure url of "http://yemoonyah.com/wp-content/plugins/pl-section-boxes/check.svg" was loaded via the javascript file: https://yemoonyah.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 on line 3. The insecure URL may not be directly contained in the script file and may exist elsewhere."
      I figured if I delete and re-install the plugin it might fix the problem but will my boxes on the website still be there? Or do I have to redesign everything all over again if I delete the plugin and then re-install it?
    • cstudio
      By cstudio
      I need some help!  I am trying to add a Square booking script.  When I add it to a embed section it crashes the page editor and I am unable to save the page version.  I have tried using different browsers with the same result.
       I can add the script on the backend in the word press content area and get it to show and work, but it look terrible.  A page with in a page.  http://www.zoeanastacia.com/booking/.
      I need help getting the page editor to work properly or to make the wp content section to not look like an 90's iframe.
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
    • yemoonyah
      By yemoonyah+
      I tried to make a simple change on my opt-in page today by reordering two sections.
      Now they won't save and whatever I do, the same 2 section will be stuck to the top.
      This is a huge problem since it is my opt-in page!
      (I'm on the latest WP & PL version)
    • Anthony King
      By Anthony King+
      I have to say that I like the Layout and the Template based sections. Some of them are really impressive.
      One of the things that I would like to request though is the possibility of being able to dynamically rearrange the layout.
      An example of what I am talking about is take the Agency Section. It's current layout starts with the
      Splash Module then the Portfolio Module then the Service Module and so on and so forth.
      What would be great is if we were able to move these modules around. I.e have the Service Module first
      then maybe the Splash, and then the portfolio.