Re: Sloooow
Andreas Hartmann <[email protected]> Wed, 11 Aug 2010 13:48:00 +0200
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
Am 11.08.10 12:12, schrieb Martin Dominguez: > > Why Lenya is so slow in some operations? I detected that it happens when I > deactive o delete a document. I know that my site is very large, but > sometimes it is imposible to work... When a document is deactivated, Lenya checks all other documents for links to this document, so that it can warn you about dead links. ATM each of those documents has to be parsed, which takes a very long time. Maybe this also happens when a document is deleted (not sure there). You could change the code to deactivate this check, or to make it configurable. Another option would be to use Lucene for the link management, so that we could just look in the search index for the incoming links. I already implemented a prototype that was very promising. Consult these threads for further information: http://www.mail-archive.com/[email protected]/msg13699.html http://old.nabble.com/API-for-document-search-ts16446012.html#a24513472 I guess I could commit the code to the 2.1 branch when I find the time. -- Andreas > > But, when I publish, I have no problem, and navigation speed is quite > good... > > Data: > Lenya 2.0.3 with Jetty build-in > XenServer Virtual Machine with 4GB RAM and two proccesors (I tried up to 6GB > RAM and 4 proccesors) > > Documents: 5505 > Sitetree nodes: 5125 > > Content-dir Size: 6,3GB > > What can I do to try solve it? > > Thanks in advance. Regards. > > MartÃn.- > > -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: +41 (0) 43 818 57 01