othree

Entry with link takes 30 second to save

Vote 0 Votes

I have some performance problem while using MT 4.34.

Env: Ubuntu 10.04, Apache 2, run MT in CGI mode
Setting: no plugin, only save article in draft
No spam entry detect. No ping out.

I use performance log to get the performance data.
First I post an entry without any content. It takes 0.58 seconds.
You can see the total time in the end of the line.

[Sun Oct 17 15:56:26 2010] othree-server pt-times: pid=23706, uri=[/mt/mt.cgi?authored_on_time=15%3A55%3A54&magic_token=tO2CjFKsIppYC7nl2o8Mh7reVTHvxwfJQLNYgEKi&excerpt=&status=1&_ignore_tags=&keywords=&basename_manual=0&convert_breaks=0&return_args=__mode%3Dview%26_type%3Dentry%26blog_id%3D1%26id%3D643&__mode=save_entry&text=&text_more=&allow_pings=1&include_asset_ids=&blog_id=1&id=643&to_ping_urls=&category_ids=&itemset_action_input=&text_height=470&_type=entry&allow_comments=1&tags=&_text_=&basename_old=test&action_name=&title=test&authored_on_date=2010-10-17], mem_start=7484, mem_end=24092, Total=0.58203

Then I edit the entry content. Just add one single link.

<a href="http://google.com"></a>

The time it spend to save the entry becomes 31 seconds

[Sun Oct 17 15:57:03 2010] othree-server pt-times: pid=23720, uri=[/mt/mt.cgi?authored_on_time=15%3A55%3A54&magic_token=tO2CjFKsIppYC7nl2o8Mh7reVTHvxwfJQLNYgEKi&excerpt=&status=1&_ignore_tags=&keywords=&basename_manual=0&convert_breaks=0&return_args=__mode%3Dview%26_type%3Dentry%26blog_id%3D1%26id%3D643&__mode=save_entry&text=%3Ca%20href%3D%22http%3A%2F%2Fgoogle.com%22%3E%3C%2Fa%3E&text_more=&allow_pings=1&include_asset_ids=&blog_id=1&id=643&to_ping_urls=&category_ids=&itemset_action_input=&text_height=470&_type=entry&allow_comments=1&tags=&_text_=%3Ca%20href%3D%22http%3A%2F%2Fgoogle.com%22%3E%3C%2Fa%3E&basename_old=test&action_name=&title=test&authored_on_date=2010-10-17], mem_start=7488, mem_end=27460, Total=31.13776

I have done lots of test. See slow query. Use background job. Try fastcgi. But none of them fix this problem.
Since 30 seconds feels like a timeout setting for some web server. It makes me feel like that MT is doing a http request and get timeout during the save process. But I can't find any setting can avoid this behavior.

Does anyone know what is wrong with my setting ?
Or this is a MT bug ?

Reported on Movable Type 4.3

4 Replies

| Add a Reply
  • Ok. I found out what cause this http request
    At System Overview Preferences -> Feedback.
    Disable 'Outbound TrackBacks'.

    No more 30 seconds saving now.

  • sandeepshanu

    Hi,

    I just wanted to know by default, witout any extra plugin what is the ideal time it should take to create an entry?

    Thanks
    Sandy

    • That depends on what templates it has to rebuild and whether you've enabled outbound trackback lookup. There's no simple answer to that question.

    • If you mean publish.
      In my case. My entry template only refers to the previous and next entry.
      All other templates are publish by queue.
      So It generates three pages while I press the save.
      Including other sql operation.
      It takes less than 3 seconds.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012