04-16-2018 06:42 AM
Hello!
Got the very big log files in tomcat/logs/
Inside Something like:
.............
127.0.0.1 - - [13/Apr/2018:00:00:19 +0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1522634233889&toCommitTime=1522637833889&maxResults=2000&baseUrl=%2Fsolr4%2F
archive&hostName=Alf&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1523566815
085&lastIndexedChangeSetCommitTime=1520949052219&lastIndexedChangeSetId=15&lastIndexedTxCommitTime=1521097033889&lastIndexedTxId=83 HTTP/1.1" 200 115
127.0.0.1 - - [13/Apr/2018:00:00:19 +0300] "GET /alfresco/service/api/solr/transactions?fromCommitTime=1522637833889&toCommitTime=1522641433889&maxResults=2000&baseUrl=%2Fsolr4%2F
archive&hostName=Alf&template=&instance=0&numberOfShards=1&port=8080&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=MOD_ACL_ID&lastUpdated=1523566815
085&lastIndexedChangeSetCommitTime=1520949052219&lastIndexedChangeSetId=15&lastIndexedTxCommitTime=1521097033889&lastIndexedTxId=83 HTTP/1.1" 200 115
.................
Again and again so logs folder summary rise to 50+ Gb..
What is this and how to fix it?
07-01-2022 10:05 AM
Noticed this happening on our server. The api calls are split into hourly chunks when solr is polling alfresco for latest transactions. If you havn't changed any documents or document permissions (ACLs) for a while then these API calls get very numerous and repeat every 10 secs or so. We had a test server in this position where we hadn't touched it for a couple of months and noticed the CPU going crazy. By uploading a new document and changing a doc permissions made it all go back to normal.
05-28-2018 03:12 PM
Greetings, I am currently having the same problem. I noticed when I saw that the hard disk of the server was full, when I checked I noticed that it had files logs with a weight of more than 2GB.
I have not found a solution to my problem yet.
05-29-2018 09:59 AM
Check the above link Oscar.
Probably you need to purge some logs under tomcat/logs or deactivate localhost-access logs in tomcat configuration.
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.