No, unfortunately it is still not working. I swear it worked once but I stopped 
the service, updated the datasize to 1G instead since I have limited space on 
this host. After that the service always failed to start, even when reset the 
datasize parameter back to 10G.

I ended up downgrading redis from 8.10.3 to 6.2.24p0 since I have another 
instance that works well with that version. It is now working as expected. I 
wonder if the redis-8.10.3 has a problem.

Thanks,

Hakan


November 12, 2026 at 6:01 PM, [email protected] 
mailto:[email protected]  wrote:


> 
> Thank you Kirill, that solved the problem. Much appreciated!
> 
> Hakan
> 
> November 12, 2026 at 5:35 PM, "Kirill A. Korinsky" <[email protected] 
> mailto:[email protected]?to=%22Kirill%20A.%20Korinsky%22%20%3Ckirill%40korins.ky%3E
>  > wrote:
> 
> > 
> > On Thu, 12 Nov 2026 23:52:08 +0100,
> > [email protected] mailto:[email protected]  wrote:
> > 
> > > 
> > > Hi all,
> > >  
> > >  I apologize for my ignorance. I suspect that a simple solution may exist 
> > > for my problem.
> > >  
> > >  I set up an email server recently as well as rspamd and redis. However, 
> > > redis is failing to start with rcctl as follows:
> > >  
> > >  # rcctl start redis
> > >  redis(ok)
> > >  # rcctl check redis 
> > >  redis(failed)
> > >  
> > >  # redis-server returns the following error
> > >  # Accepting client connection: accept: Too many open files in system
> > >  
> > >  # grep maxclients /etc/redis/redis.conf
> > >  # maxclients 10000
> > >  maxclients 96
> > >  
> > >  # redis-server -v
> > >  Redis server v=8.10.3 sha=00000000:0 malloc=libc bits=64 
> > > build=9a7eb7c27d478a16
> > >  # uname -a
> > >  OpenBSD example.com 8.0 GENERIC#4 amd64
> > >  
> > >  
> > >  I couldn't find a manual page for redis. Any pointers will be much 
> > > appreciated.
> > > 
> > I think you need create /etc/login.conf.d/redis with content like that:
> > 
> > redis:\
> >  :datasize=10G:\
> >  :openfiles-cur=1024:\
> >  :openfiles-max=2048:\
> >  :tc=daemon:
> > 
> > See https://man.openbsd.org/login.conf and https://man.openbsd.org/rc.d.8
> > for details
> > 
> > -- 
> > wbr, Kirill
> >
>

Reply via email to