[rds-devel] Re: trying to reproduce the crash

Olaf Kirch olaf.kirch at oracle.com
Mon Feb 4 01:48:57 PST 2008


On Monday 04 February 2008 10:19, Or Gerlitz wrote:
> Olaf Kirch wrote:
> > On the other side (host_b) I do this:
> > 
> > 	while sleep 1; do
> > 		rmmod rds
> >     		sleep 1
> >     		insmod rds.ko
> > 		rds-stress -R -r $host_b -s $host_a -p 4000 -c -d4 -t32 -T3 -D64k
> > 	done
> 
> This does not really work for me, as after 2-3 iterations I get the 
> below connect() error and then rmmod also fails, I guess that some of 
> the worker processes are still using the RDS socket, etc, any idea what 
> should I do to let this work?

If that happens, insert (after the rds-stress) something like this:

	if killall -TERM rds-stress; then sleep 2; fi

Olaf
-- 
Olaf Kirch  |  --- o --- Nous sommes du soleil we love when we play
okir at lst.de |    / | \   sol.dhoop.naytheet.ah kin.ir.samse.qurax



More information about the rds-devel mailing list