Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-07 13:40:48

arkham
Member
Registered: 2005-03-27
Posts: 102
Website

most of my site is suddenly not responding

My domain is http://www.ohword.com/

You may need to use http://www.ohword.com/blog to see a page come up

Everything was working fine yesterday though we did see a much higher level of traffic than we had any other day because a popular site posted about us.

When I woke up this morning there was an im sent overnight from someone who helps me edit the site. He said he removed about 10 spambot comment messages (our first spambotting… the price of higher traffic i guess) and that the site was currently down.

I’ve checked it out and indeed it seems like things are suddenly not responding. But our forum, the textpattern admin tool, the blog and gallery sections all come up at seemingly the usual speed. The homepage, features and reviews page all take forever….

If I put in an individual review url it comes up fast: http://www.ohword.com/reviews/103/sadat-x-experience-education

Individual features come up but are slow: http://www.ohword.com/features/31/black-moon-enta-da-stage

In the db manager I saw that txp_log_hit was showing a 1016 error. I used “Repair” and it no longer says there’s an error.

I did a tag trace in debug mode for the homepage:

<code>
<!— Runtime: 130.41 —>
<!— Queries: 216 —>
<!— Memory: 4476Kb, <txp:upm_image type=“popup” image_id=“38” class=“image” form=“article_thumb_right” /> —>
<!— txp tag trace:
<txp:css />
<txp:output_form form=“head” />
<txp:nhn_livecommentpreview_js />
<txp:page_title />
<txp:output_form form=“headerimg” />
<txp:mem_randimg form=“random_image” category=“headers” />
<txp:output_form form=“navigation” />
<txp:ob1_if_section section=“default”> class=“selected” </txp:ob1_if_section>
<txp:ob1_if_section section=“features, blogs, features2”> class=“selected” </txp:ob1_if_section>
<txp:ob1_if_section section=“reviews”> class=“selected” </txp:ob1_if_section>
<txp:ob1_if_section section=“blog” > class=“selected” </txp:ob1_if_section>
<txp:ob1_if_section section=“gallery”> class=“selected” </txp:ob1_if_section>
<txp:ob1_if_section section=“gallery2”> class=“selected” </txp:ob1_if_section>
<txp:ob1_if_section section=“forum”> class=“selected” </txp:ob1_if_section>
<txp:chh_article_custom listform=“default” limit=10 section=“features” />
<txp:upm_image type=“image” image_id=“141” class=“image” form=“upm_img_popper” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“image” image_id=“115” class=“image” form=“upm_img_popper_center” />
<txp:file_download_link id=“85”><txp:file_download_description /></txp:file_download_link>
<txp:file_download_description />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“image” image_id=“109” class=“image” form=“upm_img_popper_center” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:file_download_link id=“25”><txp:file_download_name /></txp:file_download_link>
<txp:file_download_name />
<txp:upm_image type=“image” image_id=“64” form=“upm_img_popper” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“image” image_id=“62” class=“image” form=“upm_img_popper_center” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“image” image_id=“61” class=“image” form=“upm_img_popper” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“popup” image_id=“37” class=“image” form=“article_thumb_right” />
<txp:upm_image type=“popup” image_id=“39” class=“image” form=“article_thumb_right” />
<txp:upm_image type=“popup” image_id=“38” class=“image” form=“article_thumb_right” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“image” image_id=“28” class=“image” form=“upm_img_popper” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“image” image_id=“26” class=“image” form=“upm_img_popper” />
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:upm_image type=“image” image_id=“24” class=“image” form=“upm_img_popper” />
<txp:zem_link href=“53” title=“Smif N Wessun – Dah Shinin’ Article”>Smif-N-Wessun</txp:zem_link>
<txp:zem_link title=”’%s’”><txp:zem_article_thumb/></txp:zem_link>
<txp:zem_article_thumb/>
<txp:zem_link title=”’%s’”><txp:title/></txp:zem_link>
<txp:title/>
<txp:excerpt />
<txp:output_form form=“homesidebar” />
<txp:chh_article_custom limit=‘10’ section=‘blog,reviews,features,gallery,gallery2’ listform=‘blogsidebar’ />
<txp:title />
<txp:title />
<txp:title />
<txp:upm_image type=“image” image_id=“144” class=“image” form=“upm_img_popper_center” />
<txp:title />
<txp:upm_image type=“image” image_id=“143” class=“image” form=“upm_img_popper_center” />
<txp:title />
<txp:title />
<txp:title />
<txp:title />
<txp:title />
<txp:upm_image type=“image” image_id=“141” class=“image” form=“upm_img_popper” />
<txp:title />
<txp:jnm_recent_comments_unique break=“li” showcomments=“y” commlimit=“3” commclass=“commenters”/>
<txp:article_custom section=“about” listform=“sidebar” />
<txp:mdn_if_custom field=“3” notequal=“hp”>
<li><txp:permlink><txp:title /></txp:permlink></li>
</txp:mdn_if_custom>
<txp:permlink><txp:title /></txp:permlink>
<txp:title />
<txp:zem_link href=“39”>here</txp:zem_link>
<txp:zem_link href=“47”>Read this</txp:zem_link>
<txp:zem_link href=“39”>Contact us</txp:zem_link>
<txp:mdn_if_custom field=“3” notequal=“hp”>
<li><txp:permlink><txp:title /></txp:permlink></li>
</txp:mdn_if_custom>
<txp:permlink><txp:title /></txp:permlink>
<txp:title />
<txp:zem_contact mailto=“rafikam@gmail.com” />
<txp:zem_contact_text label=“Name” />
<txp:zem_contact_email />
<txp:zem_contact_textarea />
<txp:zem_contact_submit />
<txp:mdn_if_custom field=“3” notequal=“hp”>
<li><txp:permlink><txp:title /></txp:permlink></li>
</txp:mdn_if_custom>
<txp:permlink><txp:title /></txp:permlink>
<txp:title /> —>
</code>

I’ve tried switching from chh_article_custom to article but it didn’t solve the problem.

On another note, the reason I use chh_article_custom is because I wasn’t able to get article thumbnails (I use zem_article_image) to work with an article list in any other way. If someone has insight there I’ll be glad to hear it.

Last edited by arkham (2005-12-07 16:12:50)

Offline

#2 2005-12-07 13:44:15

arkham
Member
Registered: 2005-03-27
Posts: 102
Website

Re: most of my site is suddenly not responding

urgh, naturally now after i type all that it seems to all be fine.

Offline

#3 2005-12-07 19:56:44

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: most of my site is suddenly not responding

What TXP version are you on arkham?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#4 2005-12-07 21:15:55

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: most of my site is suddenly not responding

There’s a section in the FAQ about diagnosing performance problems, you might find some of those suggestions helpful.

You’ve turned off debug mode now, so I can’t see the Runtime figure. But if it really is high, that indicates the problem occurs during page generation, and not during rendering (eliminating common causes like Javascript, off-site images, etc).

If the problem really is isolated to specific pages, you have a distinct advantage. Find all the differences between the slow and fast pages, and test them one at a time till you find the cause.


Alex

Offline

#5 2005-12-07 21:21:38

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: most of my site is suddenly not responding

Rereading: txp_log_hit suggests you’re using a logging plugin (I don’t know which). It’s possible this is the cause, since you experienced heavy traffic: INSERT on a large unindexed or unoptimized table can be slow. Try disabling it to see if it makes a difference. If not, also try the suggestions regarding DNS and logging in the FAQ entry.


Alex

Offline

Board footer

Powered by FluxBB