Skip to content

Commit 63753ff

Browse files
Faq vacuum messages (#731)
Co-authored-by: Melroy van den Berg <melroy@melroy.org>
1 parent 8b24c69 commit 63753ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/02-admin/FAQ.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ If you want to delete only the messages that are no longer being worked (`dead`)
146146
DELETE FROM messenger_messages WHERE queue_name = 'dead';
147147
```
148148

149+
To free up the disk space used by the now deleted messages, execute the following query:
150+
151+
```sql
152+
VACUUM messenger_messages;
153+
```
154+
149155
## Where can I find my logging?
150156

151157
You can find the Mbin logging in the `var/log/` directory from the root folder of the Mbin installation. When running production the file is called `prod-{YYYY-MM-DD}.log`, when running development the log file is called `dev-{YYYY-MM-DD}.log`.

0 commit comments

Comments
 (0)