Hello,
I have tried to redis caching with maxscale, and it seems to cause it to crash. I am not sure if there is something I am missing. any help would be appreciated.
configuration:
[maxscale]
threads=auto
substitute_variables=true
[server1]
type=server
address=#############
port=3306
[MariaDB-Monitor]
type=monitor
module=mariadbmon
servers=server1
user=$MAXSCALE_USERNAME
password=$MAXSCALE_PASSWORD
monitor_interval=2s
[Read-Write-Service]
type=service
router=readwritesplit
servers=server1
user=$MAXSCALE_USERNAME
password=$MAXSCALE_PASSWORD
filters= RedisCache
[RedisCache]
type=filter
module=cache
storage=storage_redis
storage_redis.server=#######
selects=assume_cacheable
cached_data=shared
invalidate=current
[Read-Write-Listener]
type=listener
service=Read-Write-Service
protocol=mariadbprotocol
port=3306
crash information:
2025-09-24 04:47:24 alert : MaxScale 24.02.7 received fatal signal 11. Commit ID: 47bf8de8d87fbf6ed8ee5f272930a0189c00096f, System name: Linux, Release string: Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish), Thread: Worker-00 2025-09-24 04:47:24 alert : Last systemd watchdog notification was 1.53487min ago, notification interval is 0ns. Last 0 notifications: [] 2025-09-24 04:47:24 alert : Statement currently being classified: none/unknown 2025-09-24 04:47:24 notice : For a more detailed stacktrace, install GDB. /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase15dump_stacktraceESt8functionIFvPKcEE+0x3e) [0x7a3927e4b73e]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase15dump_stacktraceEPFvPKcE+0x55) [0x7a3927e4b945]: <binutils not installed> maxscale(+0xefd6) [0x5b76d9f33fd6]: <binutils not installed> /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7a3926fea520]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libcache.so(+0x18f1e) [0x7a39260dff1e]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libcache.so(_ZN7CacheMT9refreshedERK8CacheKeyPK18CacheFilterSession+0x3a) [0x7a39260f753a]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libcache.so(_ZN18CacheFilterSession26store_and_prepare_responseERKN8maxscale10ReplyRouteERKNS0_5ReplyE+0x358) [0x7a39260f5178]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libcache.so(_ZN18CacheFilterSession23handle_storing_responseERKN8maxscale10ReplyRouteERKNS0_5ReplyE+0xf1) [0x7a39260f54c1]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libcache.so(_ZN18CacheFilterSession25client_reply_post_processERKN8maxscale10ReplyRouteERKNS0_5ReplyE+0x65) [0x7a39260f7ca5]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libcache.so(_ZN18CacheFilterSession11clientReplyEO5GWBUFRKN8maxscale10ReplyRouteERKNS2_5ReplyE+0xbc) [0x7a39260f7dec]: <binutils not installed> /usr/lib/x86_64-linux-gnu/maxscale/libcache.so(_ZN1