Page 1 of 1

Blog hangs when calling XML-RPC after saving for public

Posted: Sat Sep 02, 2006 1:18 pm
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?

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

Posted: Sat Sep 02, 2006 1:20 pm
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

Update

Posted: Sat Sep 02, 2006 1:22 pm
by adriano
I restarted the webserver and all fine. But how is this possible?

Re: Update

Posted: Sat Sep 02, 2006 1:24 pm
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

Posted: Sat Sep 02, 2006 1:28 pm
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?

Re: Update

Posted: Sat Sep 02, 2006 1:34 pm
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!

Re: Update

Posted: Sat Sep 02, 2006 1:37 pm
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