I found a solution that works on debian etch amd64: Add a mirror from dotdeb.org and upgrade php5 to 5.2.6. This version seems to fix the stream_select() bug and works with the jabber client.
On Sun, Sep 28, 2008 at 10:35 PM, Axel Beckert <[EMAIL PROTECTED]> wrote: > Hi, > > thanks for the prompt feedback. > > On Sun, Sep 28, 2008 at 03:15:22PM -0400, Evan Prodromou wrote: > > 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. > > Yeah, but the point is: I'm now running Debian Lenny which sports PHP > 5.2.6 and I still have those problems. > > > I've just added a paragraph in the README to this effect; thanks for > > the reminder. > > Thanks, that surely helps others. I knew about these issues and hoped > they would have gone away with PHP 5.2.6, that's why I moved our > instance to test which I could already upgrade to Debian Lenny. > > So either the bug is still existent in PHP 5.2.6 (Debian package > version 5.2.6-3) or it's another bug. > > > I moved identi.ca's Jabber queue daemons from an amd64 server to an i386 > > server, and that fixed the problem. > > 'kay. > > > 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. > > I don't think so either. Others had those problems with sending mail > directly from PHP (instead of using a local MTA). > > > ><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? > > I guess so. Untarred the 0.6.0 tarball, copied the config.php from > 0.5.0 in there and then switched the symlink to the 0.6.0 path shown > above. > > > 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. > > Okay, will do that. Thanks for the tip. > > > Move your queue daemons to a non-amd64 server. > > Hmmm, I'll see if I can setup a i386 Xen DomU inside my amd64 Dom0. > > Again, thanks for the quick reply. > > Regards, Axel > -- > Axel Beckert - [EMAIL PROTECTED], [EMAIL PROTECTED] - http://noone.org/abe/ > _______________________________________________ > Laconica-dev mailing list > [email protected] > http://mail.laconi.ca/mailman/listinfo/laconica-dev >
_______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
