MaxMind says the database is updated Tuesday and Friday (EST)
The task start time is 2023/11/7 7:34 (JST)
The database file structure at 2023/11/7 7:36 (the database is not updated) is:
[ec2-user@ip-*-*-*-* data]$ cd plugins/filters/geoip/
[ec2-user@ip-*-*-*-* geoip]$ ll
total 12
drwxr-sr-x 2 root root 6144 Nov 7 07:36 1699310163
drwxr-sr-x 2 root root 6144 Oct 25 11:48 CC
-rw-r--r-- 1 root root 129 Nov 7 07:36 metadata.csv
[ec2-user@ip-*-*-*-* geoip]$ ll 1699310163/
total 108644
-rw-r--r-- 1 root root 55 Nov 7 07:36 COPYRIGHT.txt
-rw-r--r-- 1 root root 162 Nov 7 07:36 elastic-geoip-database-service-agreement-LICENSE.txt
-rw-r--r-- 1 root root 8259666 Nov 7 07:36 GeoLite2-ASN.mmdb
-rw------- 1 root root 4586190 Nov 7 07:36 GeoLite2-ASN.tgz
-rw-r--r-- 1 root root 66295079 Nov 7 07:36 GeoLite2-City.mmdb
-rw------- 1 root root 32084851 Nov 7 07:36 GeoLite2-City.tgz
-rw-r--r-- 1 root root 398 Nov 7 07:36 LICENSE.txt
-rw-r--r-- 1 root root 116 Nov 7 07:36 README.txt
The database file structure at 2023/11/8 7:36 (the database is updated) is:
[ec2-user@ip-*-*-*-* data]$ cd plugins/filters/geoip/
[ec2-user@ip-*-*-*-* geoip]$ ll
total 16
drwxr-sr-x 2 root root 6144 Nov 8 07:36 1699310163
drwxr-sr-x 2 root root 6144 Nov 8 07:36 1699396588
drwxr-sr-x 2 root root 6144 Oct 25 11:48 CC
-rw-r--r-- 1 root root 129 Nov 8 07:36 metadata.csv
[ec2-user@ip-*-*-*-* logstash-consumer-ip-trans-jhc]$ ll data/plugins/filters/geoip/1699310163/
total 0
[ec2-user@ip-*-*-*-* logstash-consumer-ip-trans-jhc]$ ll data/plugins/filters/geoip/1699396588/
total 108644
-rw-r--r-- 1 root root 55 Nov 8 07:36 COPYRIGHT.txt
-rw-r--r-- 1 root root 162 Nov 8 07:36 elastic-geoip-database-service-agreement-LICENSE.txt
-rw-r--r-- 1 root root 8259666 Nov 8 07:36 GeoLite2-ASN.mmdb
-rw------- 1 root root 4586196 Nov 8 07:36 GeoLite2-ASN.tgz
-rw-r--r-- 1 root root 66295079 Nov 8 07:36 GeoLite2-City.mmdb
-rw------- 1 root root 32084858 Nov 8 07:36 GeoLite2-City.tgz
-rw-r--r-- 1 root root 398 Nov 8 07:36 LICENSE.txt
-rw-r--r-- 1 root root 116 Nov 8 07:36 README.txt
Problem description: After checking the changes in the above dates, it was proved that the new database has been downloaded and the old database itself has been deleted, but the old database directory has not been deleted (it should be deleted under normal circumstances). What is the reason for this?
3. Check the log information:
Error log : 2023-11-08T07:36:50.940+09:00 { 2058 rufus-scheduler intercepted an error:
How to solve the rufus-scheduler intercepted an error error in the log?
I think the error is caused by resources being occupied by other threads when deleting the old database directory. Do I need to modify any configuration files?
1. Environment introduction:
2. Start as ECS task
MaxMind says the database is updated Tuesday and Friday (EST)
The task start time is 2023/11/7 7:34 (JST)
The database file structure at 2023/11/7 7:36 (the database is not updated) is:
The database file structure at 2023/11/8 7:36 (the database is updated) is:
3. Check the log information:
2023-11-08T07:36:50.940+09:00 { 2058 rufus-scheduler intercepted an error:
4. My question:
rufus-scheduler intercepted an error
error in the log?