Blog hangs when calling XML-RPC after saving for public

Found a bug? Tell us!!
Post Reply
adriano
Regular
Posts: 10
Joined: Fri Jun 03, 2005 2:03 pm

Blog hangs when calling XML-RPC after saving for public

Post by adriano »

After a while of not writing new articles I wrote today a new blog entry and saved the contend as draft. After finish I saved for public and when Serendipity called the XML-RPC to other blogs, Serendipity hangs and the site is til then unreachable. Well, I do have in the article two links to sites which are not understanding XML-RPC. How do I get access to my site again? I use Serendipity 1.0. Any suggestions?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Blog hangs when calling XML-RPC after saving for public

Post by garvinhicking »

Hi!

Either you can disable the "Announce Entries" plugin that sends XML-RPC pings.

OR it might be that what you're referring to are Trackbacks? In that case you could install the 'Manual Trackback' Eventplugin and in that article disable the automatic trackbacks from getting sent?

Usually after the ping is sent there comes a timeout in case of an error, so you should be able to use serendipity again after that?

Best 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/
adriano
Regular
Posts: 10
Joined: Fri Jun 03, 2005 2:03 pm

Update

Post by adriano »

I restarted the webserver and all fine. But how is this possible?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Update

Post by garvinhicking »

Hi!

Usually this cannot be possible, it might have been a coincidence? All PHP scripts only execute for a specific amount of time, and after that they cannot occupy a webserver anylonger. So even if a PHP script crashes, only that script crashes and the webserver executes as usual.

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/
adriano
Regular
Posts: 10
Joined: Fri Jun 03, 2005 2:03 pm

Post by adriano »

Thanks Garvin for the very fast respond.

Yes, I use the auto "Announce Entries" plugin and til now all works fine - except for some blogs like blogg.de it doesn't work as should - I receive a error.

Now, after restarting the webserver all works fine, the content is saved and after saving again, calling the sites which do not understand Trackbacks gave me a error that there is no ping to sent to.

Maybe there a bug in the "Announce Entries" plugin?
adriano
Regular
Posts: 10
Joined: Fri Jun 03, 2005 2:03 pm

Re: Update

Post by adriano »

garvinhicking wrote:Hi!

Usually this cannot be possible, it might have been a coincidence? All PHP scripts only execute for a specific amount of time, and after that they cannot occupy a webserver anylonger. So even if a PHP script crashes, only that script crashes and the webserver executes as usual.

Regards,
Garvin
Well I thought so, it is a server on which I have many sites hostet and all others where reachable over the net, only that site not. I can not start anything for just one hostetd domain on the server, so I did a global webserver restart to get that site again online. It is mystical?

Lets think about it as it was, now the server works fine and the site is online and Serendipity works fine and saving blog entries works and all is OK.

Thanks for the time, Garvin.

I love Serendipity!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Update

Post by garvinhicking »

Hi!

Hm, in older Serendipity versions (0.9 I think) there was an issue with PHP sessions. If one page was started, the 'session data' was locked, and only freed after the script finished. If the script did not finish, no "parallel" requiests could be executed. This was fixed by using the PHP session_write_close() command, so it should theoretically not be your cause.

If it happens again, you might want to try to use a different browser (where you are not logged in) to access your blog; if the problem is session related, in that different browser with a different cookie it should still work!

About the XML-RPC pings: "blogg.de" sadly has been down for some time and is currently not expected to accept pings again; they will eventually get removed from the list.

I'm very glad to hear you like Serendipity! Have fun! :)

Best 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/
Post Reply