Comments (8)
@1n5aN1aC I have a cron job for that...
0 3 * * * docker exec redis redis-cli BGREWRITEAOF
from mailserver.
Since Redis 2.4 the AOF rewrite is automatically triggered by Redis, however the BGREWRITEAOF command can be used to trigger a rewrite at any time.
If you're using the AOF with Redis 2.2 you'll need to run BGREWRITEAOF from time to time. Redis 2.4 is able to trigger log rewriting automatically
The documentation says that it is not necessary because BGREWRITEAOF
is triggered automatically to avoid that precisely. I missed something ?
On my personal serv, aof file is only 24MB size, and 87MB on another and bigger mail server, after 2 years.
from mailserver.
My understanding from the documentation is that it is only 'called automatically' because the directives I mentioned are in the default config file. My understanding was that the default config file is not being used. (as no config file is being used)
That being said, it's possible it grew so massively from something wrong on my server years ago. Today my db is 67MB. So obviously it's not growing at any serious rate right now.
from mailserver.
I noticed the same. Mine was around 500MB and running redis-cli BGREWRITEAOF
made it 50MB.
from mailserver.
My understanding from the documentation is that it is only 'called automatically' because the directives I mentioned are in the default config file.
That makes sense. I let you make a pull request if you want.
from mailserver.
Is there a reason this isn't left to the user when setting up the redis container? Maybe specifying that foo=bar
should be in the redis config is enough?
from mailserver.
My understanding from the documentation is that it is only 'called automatically' because the directives I mentioned are in the default config file.
That makes sense. I let you make a pull request if you want.
This makes only sense, if you change the config file.
Redis without any config:
127.0.0.1:6379> CONFIG GET auto-aof-rewrite-percentage
1) "auto-aof-rewrite-percentage"
2) "100"
127.0.0.1:6379> CONFIG GET auto-aof-rewrite-min-size
1) "auto-aof-rewrite-min-size"
2) "67108864"
Tested with the docker-compose.sample.yml
from mailserver.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from mailserver.
Related Issues (20)
- Missing root CAs - Untrusted TLS connection HOT 2
- Docker swarm HOT 1
- Outgoing mail marked as spam HOT 1
- Postfixadmin create superadmin account HOT 4
- Postfix missing interdem HOT 1
- Running in Docker Swarm HOT 2
- CVE-2019-11500 - Critical Dovecot vulnerability HOT 7
- Typo in LDAP virtual alias map (true vs yes) HOT 1
- Traefik acme are file detected, but not extracted to pem file HOT 2
- Can spoof inbound mail on local network HOT 3
- DBHOST and REDIS_HOST cannot be IPs HOT 1
- dkim/$DOMAIN/private.key is world readable HOT 1
- New format of acme.json in Traefik 2.0 HOT 7
- How to create a "blackhole" account / an account where mails are automatically discarded? HOT 1
- clamav-unofficial-sigs cron has curl failures HOT 1
- docker compose functionality HOT 4
- Question:Deployment on working Server
- Status of this repo / docker image HOT 62
- Postfixadmin mails refused HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailserver.