Jump to content
prodpi

Investigate Slow Site

Recommended Posts

prodpi

I have my site hosted on a virtual dedicated server, and am seeing extreme (IMHO) slow site loading times.  

 

http://www.prodpi.com

 

Framework 3.5.1

I am using W3 Total Cache

Google site analysis reports a 91

 

 

I was wondering if there are paid services via pagelines to investigate what could be causing the slow downs?  Or any tips?  

 

The site is image intensive due to the nature of our work, however we tried our best at image quality/compression to help load times.  

 

I am currently testing on a 30/30 fiber feed.

 

Thanks for any help!

 

Share this post


Link to post
Share on other sites
prodpi

Just a little more info, the Virtual Dedicated server is hosted by GoDaddy.  

 

They claim (of course) that the server, Apache, PHP, and Mysql are all running just fine.

Share this post


Link to post
Share on other sites
prodpi

Ok purged, plugin off and Debug on.

Share this post


Link to post
Share on other sites
Simon

After a quick look, posix functions for PHP are either disabled in php.ini or not installed at all.

 

So if its your VPS, simply install the missing PHP modules, they are built by default not sure why it isnt installed. OR add this filter into a child theme functions.php:

 

add_filter( 'render_css_posix_', '__return_true' );

Share this post


Link to post
Share on other sites
prodpi

This might be a dumb question, I don't think I have a child theme.  Where would I locate this file?  I am contacting my webhost to check on the posix functions.

Share this post


Link to post
Share on other sites
Simon

Just install the free base theme in the store.

 

As for your host, you mentioned its a VPS, surely its up to you to install stuff?

Share this post


Link to post
Share on other sites
prodpi

It is assisted support, as I am not comfortable doing the server stuff.  

Share this post


Link to post
Share on other sites
prodpi

From Assisted Support:

 

 

 

 

 

 


  • POSIX is enabled by default. In looking at your phpinfo.php page it confirms this is enabled:
    http://prodpi.com/phpinfo.php
    12:37:46 PM
  • Jeff J
    This shows '--enable-posix=shared'

Share this post


Link to post
Share on other sites
prodpi

Ok here is what I have done:

 

1.  Installed the "Base Theme" and activated the theme

2.  Add:  add_filter( 'render_css_posix_', '__return_true' ); 

functions.php under the filters section.

 

Homepage did load faster, but it seemed to break a lot of pages, missing content, etc.  At this time I have deactivated the child theme and all is back to where it was.

Share this post


Link to post
Share on other sites
Simon

If you add that filter i posted before, you dont need the posix stuff anyway. All it does is check for posix_geteuid() function

 

 

There is no such flag as --enable-posix

http://www.php.net/manual/en/configure.about.php

 

To get posix functions in php you normally install php-process.

Share this post


Link to post
Share on other sites
Simon

Can you leave it active for more than a few seconds so i can see what happened?

Share this post


Link to post
Share on other sites
prodpi

Active 12:55pm MT

Share this post


Link to post
Share on other sites
prodpi

Menus are strange and don't have third level, also my custom menu items are strange.

 

Looks like some menu items are out of order, and not nested.  

Share this post


Link to post
Share on other sites
Simon

Right well activating a child theme, you have to go to the wordpress admin area/menus and re-assign the menus, effectivly you have changed themes see?

 

 

But other than that its loading < 3s now. CSS is now a static file. To get any faster you need to use a CDN to offload the images.

Share this post


Link to post
Share on other sites
prodpi

Ok great!  Just assigned the menus and back in business.  Much faster as well for me.  Anything else that I should watch out for on the child theme setup?

Share this post


Link to post
Share on other sites
Simon

widgets possible... better to check.

Share this post


Link to post
Share on other sites
prodpi

Great!  I will look into CDN as well.  Thinking using Amazon.

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


×