[opencms-dev] Queue time is getting longer
Christian Steinert
christian_steinert at web.de
Fri Dec 4 12:18:01 CET 2009
Dear Lorenzo
> Good Morning Ahchim.. the new day brought new symptoms.. we used the config
> with the new <export-rule> but it seems that the export still exports
> something that we haven't asked to.
>
this is strange. The configuration from your opencms-importexport.xml
looks perfect - I really wonder why /sites/aaaa.html is exported.
Normally, only resources for /sites/extranet/ should have been exported
with this export run.
Did you restart opencms after you make the configuration change?
If you did then I have really no idea.
Kind regards
Christian
> Here is a brief of the last export:
>
> Publishing resources ...
> Publishing files ...
> ( 1 / 1 ) Publishing file /sites/extranet/css/test/index.html ... o.k.
> ... finished publishing files
> Statistics: published files: 1, published folders: 0, deleted folders: 0,
> duration: 00:00:00
> ... the resources have been published
> Exporting Non-Template Resources ...
> ( 1 / 3,064 ) Exporting /sites/aaaa.html
> ( 2 / 3,064 ) Exporting .....
> (here are 3,064 files of that project, but we asked to export only this "
> /sites/extranet/css/test/index.html "
>
> Here are the rules I created:
>
> <export-rule>
> <name>Extranet</name>
> <description>File della Extranet Promotori</description>
> <modified-resources>
> <regex>/sites/extranet/.*</regex>
> <regex>/system/default/modules/it.oursite.extraneti/.*</regex>
> </modified-resources>
> <export-resources>
> <uri>/sites/extranet/</uri>
> </export-resources>
> </export-rule>
>
> So.. now not only it takes a lot of time to publish all, but the "User's
> last published" list doesn't show all the request in the queue.
>
> Does it makes any sense to you?
>
> Lo'
>
>
>
>
>
>
>
> Christian Steinert wrote:
>
>> Lorenzo Sala wrote:
>>
>>> Ciao Achim,
>>> may be I found the real problem that will solve most of
>>> our
>>> long waits. There is only 1 project that is exporting only the modified
>>> files and it takes about 1 second to export them. This project is the
>>> only
>>> one that has a <export-rule> configuration in the
>>> opencms-importexport.xml.
>>> All the other projects doesn't appear in this file at all. Could this be
>>> what causes CMS to republish ALL the files of all the projects when we do
>>> an
>>> export?
>>>
>>>
>> Yes - exactly. If there is a fitting export-rule for your published
>> file, then opencms will only export those files that are covered by this
>> rule. If there is no such rule, then /all/ exportable resources will be
>> re-exported.
>>
>> So if you define separate export rules for each of your projects, then
>> publishing will only cause the project-specific resources to be exported.
>>
>>
>>> I'm setting up some <export-rule> for the rest of the projects and
>>> tomorrow
>>> we'll see if that worked.
>>>
>>>
>> This will definitely work.
>>
>>
>> Kind regards
>> Christian
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20091204/21db387b/attachment.htm>
More information about the opencms-dev
mailing list