Skip to content

Instantly share code, notes, and snippets.

# Enable request logging in Odoo using one of the following:
# * pass --log-level=debug_rpc
# * or pass --log-handler=odoo.http.rpc.request:DEBUG (to only debug request times)
# * or set the equivalent config option in the Odoo config file
# Then save the following as a munin plugin to monitor the last 5 minutes of your Odoo config file
# Be sure to set the correct path for the Odoo log file, and adjust the variables as needed
#!/bin/bash
@akhdaniel
akhdaniel / run-multiple-redis-instances.md
Last active June 22, 2024 12:27 — forked from jarvys/run-multiple-redis-instances.md
run multiple redis instances on the same server for centos

Run Multiple Instances of Redis on Centos 7

create a new redis .conf file

$ cp /etc/redis.conf /etc/redis-xxx.conf
$ sudo chown redis:redis /etc/redis-xxx.conf

edit /etc/redis-xxx.conf, illustrated as below