I have an Alfresco installation where i use rules in order to fire workflows when user loads document in a specific folder.
The system has been in exercise for about two months, having about 20 concurrent users every day. Now there are about 20000 documents.
What is happen now is that occasionally rules don't fire when user upload a document; "occasionally" means that doessn't depend on which document is loaded or in what folder, and neither what rule is associated to a folder.
In order to debug it I've created a folder having a simple rule that converts a document in pdf, this way i can stress-test it loading many documents at a time in that folder expecting to two-folde the number, for example i load five file .doc and i wait to see in the folder five .doc and five .pdf.
what happens is that sometimes i have four .pdf, sometimes two, sometimes none. I have also added another rule executing a log script and what i see is that neither this rule is triggered.
If i upload my files in another folder (having no rules) and then a move those in the "ruled" folder rules are always triggered.
It seems that sometimes Alfresco doesn't catch the upload event.
When i restart Alfresco rules start working again for a period that i think depends on the workload of the system.
This happens only in production, in development and test environment has never happened.
What could be the cause of this behaviour?
Alfresco Community 6.0.7