[Serusers] Bug in ucontact.c?

Francesco Bottà francesco.botta at eutelia.it
Mon May 23 15:36:36 CEST 2005


Hi all,

I've a question about removing alias from memory and DB. I've a SER instance in WRITE_BACK DB Mode (db_mode=2) and timer_interval param set to 10 seconds. When I should remove an alias from memory&DB (with 'serctl rm alias 'username'), in WRITE_BACK mode, the expire time of this cancelled alias go to something like 'expires=-1116854859' and increase in time but never disappear from memory neither from my DB...indeed, if I set WRITE-THROUGH mode (db_mode=1) all works ok, and the cancelled alias disappears immediately from mem and DB.... 

I've this SER ver installed:

ser -V
version: ser 0.9.2 (i386/linux)
flags: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.197 2004/12/03 19:09:31 andrei Exp $
main.c compiled on 11:28:47 May  6 2005 with gcc 3.3


Any hints? What I'm missing?

Many thanx

Verbal








More information about the sr-users mailing list