cokll 1 Posted January 29, 2019 Now My Redis to 40GB. How Delete expired key! Thx Share this post Link to post Share on other sites
esditas 8 Posted January 29, 2019 40GB WTF ill think you have a other Problem. I use "P3X Redis UI" to find and work on "Keys" but i dont know help´s you. Share this post Link to post Share on other sites
Sakura 13 Posted January 29, 2019 use fastoredis, and delete all your rawtraveldata keys Share this post Link to post Share on other sites
cokll 1 Posted January 29, 2019 58 minutes ago, Sakura said: use fastoredis, and delete all your rawtraveldata keys Is it okay to delete this? Share this post Link to post Share on other sites
Psychoboy 4 Posted January 29, 2019 I wrote a script to update all my RawTravelData keys to expire after 2 hours every 5 minutes. Keeps the database nice and small and the keys stay around long enough for transfers to happen 1 Share this post Link to post Share on other sites
esditas 8 Posted January 29, 2019 19 minutes ago, Psychoboy said: I wrote a script to update all my RawTravelData keys to expire after 2 hours every 5 minutes. Keeps the database nice and small and the keys stay around long enough for transfers to happen show us the script Share this post Link to post Share on other sites
Emeric 6 Posted January 30, 2019 18 hours ago, cokll said: Now My Redis to 40GB. How Delete expired key! Thx I had the same problem on my server, my Redis DB started to get bigger and bigger (it shouldn't go up more than 10/15 MB) and the only solution was to do a rollback with a previous save of the redis_atlasdb.rdb and all the Saved directory. 1 Share this post Link to post Share on other sites
cokll 1 Posted January 31, 2019 On 1/30/2019 at 2:06 AM, Psychoboy said: I wrote a script to update all my RawTravelData keys to expire after 2 hours every 5 minutes. Keeps the database nice and small and the keys stay around long enough for transfers to happen Can you share the script? 1 Share this post Link to post Share on other sites
Starbuck 24 Posted January 31, 2019 On 1/30/2019 at 1:28 AM, Emeric said: I had the same problem on my server, my Redis DB started to get bigger and bigger (it shouldn't go up more than 10/15 MB) and the only solution was to do a rollback with a previous save of the redis_atlasdb.rdb and all the Saved directory. If you do this, you will get a rollback of all character, built, tamed and ship saved also... That is not an option. 1 Share this post Link to post Share on other sites
Psychoboy 4 Posted January 31, 2019 (edited) I modified this and used it https://gist.github.com/fieg/e3b74fe9bed6ec1f2a1c You need to set the RawTravelData:* to expire Edited January 31, 2019 by Psychoboy Share this post Link to post Share on other sites
cokll 1 Posted January 31, 2019 57 minutes ago, Psychoboy said: I modified this and used it https://gist.github.com/fieg/e3b74fe9bed6ec1f2a1c You need to set the RawTravelData:* to expire Great! Thank you very much. I'll use it right away. Share this post Link to post Share on other sites
Sakura 13 Posted January 31, 2019 There is a HUGE problem with the grid crossing atm. Sometimes people can get stuck between grids, teleporting back and forth. Each time they travel, the rawtraveldata is like 2.7 million characters long. So having that happen a few times will cause the redis database to swell up to an extreme size. Share this post Link to post Share on other sites
KingMarcel 1 Posted February 19, 2019 Can somebody post an example of his configuration for the Redis Script to remove the Keys? Share this post Link to post Share on other sites
tboyeshill 4 Posted February 21, 2019 I used this script to clear mine out with no rolling back or data lost - went of 6.5gb redis to 57mb in 30 minutes (instructions with screen images too assist too) very helpful indeed :) https://github.com/Impulse87/ATLAS-RawTravelDataCleaner and if you need powershell to show in the menu here is a guide to get that to function too: https://www.howtogeek.com/165268/how-to-add-open-powershell-here-to-the-context-menu-in-windows/ 2 Share this post Link to post Share on other sites
MaLioSherGaming 5 Posted February 21, 2019 1 minute ago, tboyeshill said: I used this script to clear mine out with no rolling back or data lost - went of 6.5gb redis to 57mb in 30 minutes (instructions with screen images too assist too) very helpful indeed https://github.com/Impulse87/ATLAS-RawTravelDataCleaner and if you need powershell to show in the menu here is a guide to get that to function too: https://www.howtogeek.com/165268/how-to-add-open-powershell-here-to-the-context-menu-in-windows/ Thanks! Share this post Link to post Share on other sites
tboyeshill 4 Posted February 21, 2019 My pleasure PM me if you need any assistance - I literally just did this (40 minutes ago) worked really well. We were plagued by disconnects during grid transfers players being killed and spawning back in the grid they were and the boats all "vanishing" lost to the transfer. This seems to have corrected that. Share this post Link to post Share on other sites