Re: nxlucene persistent transport

Julien Anguenot <[email protected]> Fri, 27 Apr 2007 15:16:38 +0000
Newsgroups gmane.comp.web.zope.cps.devel
Organization Nuxeo SAS
Message-ID <[email protected]>
Salut Jean-Marc,

Jean-Marc Orliaguet wrote:
> every now and then, using CPSLuceneCatalog,  there are messages like:
> INFO nuxeo.lucene.xmlrpc.PersistentTransport Connection lost. Sleeping a
> bit. Retry number 1

Supposed to. Either Zope cannot contact the NXLucene server either
NXLucene has been reseting the connection.

The thing is that I'm using twisted.web which doesn't support properly
HTTP/1.1. twisted.web2 is much more better in this regard but wasn't
stable enough at that time.

> appearing in the log file.
> 
> I suppose that the idea of a persistent connection is that it should
> stay open until the server is shut down.

yep it is. You can check the code. It's pretty straightforward. This is
used when the xml-rpc connection is initialized.

> are these normal messages or is there any fine-tuning to be done on the
> server(s)?

Well, no if the NXLucene nor the Zope server are restarted. It's hard to
debug. Though, this is harmless since Zope will reconnect.

This code is just for optimization purpose on this wonderful HTTP
protocol :) So if you only see this every now and then that's not really
something you should be worry about.

Cheers,

	J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMhPYGhoG8MxZ/pIRAszdAJsHmZ8rhb2IE1A/h6eevK3Bzz347QCeMePt
MxwsnzfnEt+LpEyNz4m7om8=
=1tkp
-----END PGP SIGNATURE-----