Axel Beckert wrote:
Since Debian Etch only has PHP 5.2.0 I and others in the #laconica IRC
channel suspected the following PHP bug fixed in PHP 5.2.6 to be the
reason:

  http://bugs.php.net/bug.php?id=42682
  http://bugs.php.net/bug.php?id=40735
  http://bugs.php.net/bug.php?id=40458
Yep, that's definitely the main problem. stream_select() is broken on PHP 5.2.x before 5.2.6; it fails very badly. I've just added a paragraph in the README to this effect; thanks for the reminder.

I moved identi.ca's Jabber queue daemons from an amd64 server to an i386 server, and that fixed the problem.

stream_select() is an essential system call for any program doing sockets connections (like to a Jabber server). I don't believe it's possible to write a workaround that works in any way similar.
<b>Fatal error</b>:  Maximum execution time of 30 seconds exceeded in 
<b>/home/laconica/laconica-0.6.0/extlib/XMPPHP/XMLStream.php</b> on line <b>343</b><br />
This is interesting; you shouldn't get a max execution time error with 0.6.x scripts. Are you sure you're running the right one?
Oh, and there's btw. a small bug, but I'm not sure if it's a laconica
or PHP bug: The debug messages are not escaped and therefore the XML
send to and received from the Jabber server are not shown in the
browser. You only see them if view the source of the message.
Don't do that. If you're using XMPP, you need to use the queues. It might possibly work to use XMPP without the queues, but it's so utterly Wrong that I'll probably disable it in future versions.
P.S.: Since laconica is no fun without XMPP, we didn't go public with
the server yet.
Move your queue daemons to a non-amd64 server.

-Evan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to