Timeout After Publishing a New Entry (minor)

Found a bug? Tell us!!
Post Reply
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

Timeout After Publishing a New Entry (minor)

Post by johncanary »

Hello!

When publishing (save, 'publish') a new entry in probably 20% of all cases the success/error reports for XML-RPC trackback and report about Announcements (Plugin)(pings, xml-rpc) to those kind of services does not show.

The admin interface starts writing in lime (green) color, that it does the XML-RPC request. Then after a while the browser reporst 'Done' and nothing is happening anymore.

Normally you get the list of URI that have been contacted together with the indication, if it was successfull or not. This list is very helpful. At the end of the list is the Link to view the new post.

I think that in all cases where I did not get the report, the publishing, trackbacking, etc. worked just fine. But it is kind of irritating that I don't get the report all the time.

Any configuration option to increase a time out, or whatever?
--
Serendipity 1.1.2 and PHP 4.3.11
http://blog.fcon21.biz/
Browsers Mozilla and Firefox
Event Plugins:

Code: Select all

   1. [C] Tagging of entries
      version: 2.89
   2.
      [C] Sample!
      Allows you to insert HTML-Code into the HEAD-area of your blog. You can use this for meta-tags or JavaScript inclusion.
      version: 1.3
   3.
      [C] Markup: NL2BR
      Convert newlines to BR tags
      version: 1.7
   4.
      [C] Markup: Serendipity
      Apply basic serendipity markup to entry text
      version: 1.3
   5.
      [C] Markup: Emoticate
      Convert standard emoticons into graphic images
      version: 1.4
   6.
      [C] Spam Protector
      A variety of methods to prevent comment spam
      version: 1.61
   7.
      [C] Spartacus
      [S]erendipity [P]lugin [A]ccess [R]epository [T]ool [A]nd [C]ustomization/[U]nification [S]ystem - Allows you to download plugins from our online repository
      version: 2.9
   8.
      [C] Trackback-Control
      Allows granular control over how trackbacks are sent when creating entries
      version: 1.10
   9.
      [C] Links to next/previous entry
      Allows viewing the next/previous entry when viewing
      version: 1.33
  10.
      [C] Announce entries
      Send notification of new entries to online services
      version: 1.07
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Timeout After Publishing a New Entry (minor)

Post by garvinhicking »

Hi!

Have yo utried if it works peroply when not using the 'announce entry' services?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

Post by johncanary »

I am not 100% sure, but I believe that I did not have that problem, before I used the announce plugin. I announce to 12 services, which does take a lot of time.

But as I said all trackbacks seem to be done. It is hard to tell in this spam overloaded world, with all that paranoia, moderation, badly configured blogs, ... without clear policies. I never lost a trackback to one of my own blogs. Even when this happended.

I have two suggestions for a possible solution:

1.) Don't buffer the reporting for the XML-RPC requests and announcments. To me it seems to be buffered at least when the Announcement plugin is active.

2.) Write some output (spaces) while the plugins are working to prevent some software components on the chain fall into timeout.

I'll watch it, but I am not posting that often.

The Announcement Plugin is an important one, if you want to attrack readers.

Yours
John
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes,trackbacks are performed before XMLRPC pings are sent, so those have higher priority.
1.) Don't buffer the reporting for the XML-RPC requests and announcments. To me it seems to be buffered at least when the Announcement plugin is active.
Buffering only depends on whether you're using mod_php or PHP as a cgi module.
2.) Write some output (spaces) while the plugins are working to prevent some software components on the chain fall into timeout.
For PHP, that's not an option. Its network handling straight goes to the PHP core, and thus there's no mean to prevent timeouts or to help "keep alive".

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
johncanary
Regular
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain
Contact:

Post by johncanary »

Thanks for your comments.
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14
Post Reply