• https://flippish.com/

    I have this wordpress site that is crashing and i cant debug whats causing the problem

    This is my server specs

    Quad-Core 3.2Ghz e3-1230 Xeon Sandy Bridge 8MB cache, 8GB Ram, 2 x 500GB SAS, RAID1, 10TB 68.233.227.250

    Here are my plugins

    Akismet Contact Form 7 Nextend Facebook Connect Simple Local Avatars Theme My Login Watermark My Image WP-PostViews WP Super Cache,

    I got around 20k total visitors a day.

    and im getting this query

    <!– 50 queries. 1.310 seconds–>

    I have just 3 query line on my homepage the others are pulled using ajax from separate php files.

    I cant really tell whats going on.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, your site looks down at this time, this doesn’t seem to be a query issue(1.310 seconds is not a crushing cause time) what have you changed to your site before getting the issue? this looks like a bad php/wordpress script maybe a never end loop check also your ajax that is another place for error…
    I don’t know what changes you’ve made but there is the place to start, if you don’t know of any changes… then you’ll have to disable all plugins, switch to default theme and enable them one by one until you get the faulty part…

    Thread Starter halluzineyt

    (@halluzineyt)

    <ul>
    
    <?php require '../../../wp-load.php';  ?>
    <?PHP require_once('../../../wp-blog-header.php');?>
    
    <?php query_posts('showposts=4&cat=44'); ?>
     <?php while (have_posts()) : the_post(); ?>
    
    	<li>
                                	<div class="image"><a href="<?php the_permalink() ?>"><img src="<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>" style="width:198px;height:115px" 
    
    border="0" alt="" /></a></div>
                                    <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
    
    <p>   <?php $trim_length = 180;  //desired length of text to display
    								$custom_field = 'description';
    								$value = get_post_meta($post->ID, $custom_field, true);
    								if ($value) {
    								echo rtrim(substr($value,0,$trim_length)). '...';
    								}
    									?>
    </p>
    
                                    <div class="share">
                                        <h6><?php if(function_exists('the_views')) { the_views(); } ?></h6>
                                        <div style="float:left">
                                         <a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink() ?>" >Tweet</a>
    									 <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
    
    twttr.widgets.load();
    </script>
                                        </div>
                                        <div style="float:left">
                                      <iframe src="//www.facebook.com/plugins/like.php?href=<?php the_permalink() ?>&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=21&appId=386987348003843" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px;" allowTransparency="true"></iframe>
                                        </div>
    
    					 </div>	   </li>	<?php endwhile; ?>	
    
    </ul>
                  <div class="seemore_live seemore"><a href="https://flippish.com/category/30-seconds-of-pain/"><img src="<?php bloginfo('template_directory');?>/asset/images/see_more.png" border="0" alt="" /></a></div>

    Hello this is the page where i pull my ajax contents this format is same with the others.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘High query getting Out of Memory’ is closed to new replies.