[GINI-user] gini server leaves FIN_WAIT1 sockets open
Status: Inactive
Brought to you by:
elmi2
From: Olivier K. <ka...@ka...> - 2003-12-29 12:13:18
|
Hi wonderful Gini developpers, I'm facing a slight problem trying to relaunch a gini server that was shutdown maybe rudely: here are some sockets that I can't remove easily without shutting down an interface or forging some tcp packets :-( : [root@www root]# netstat | grep 8000 tcp 0 43903 www.xxx.com:8000 ANice-203-2-1-6.w:22105 FIN_WAIT1 tcp 0 51405 www.xxx.com:8000 ANice-203-2-1-6.w:22123 FIN_WAIT1 no gini processes is running at all: [conferences@www conferences]$ ps auxww | grep gini 2027 6529 0.0 0.4 3920 568 pts/9 R 13:12 0:00 grep gini and gini server complains at start, refusing to start: [conferences@www conferences]$ /usr/local/sbin/gini GINI 0.5.1 (http://gini.sf.net/) (c) 2002, 2003 Krisztian Pifko <mo...@us...> cannot listen! here is the end of the strace, hope it will help you debug: bind(5, {sa_family=AF_INET, sin_port=htons(8000), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already in use) shutdown(5, 2 /* send and receive */) = -1 ENOTCONN (Transport endpoint is not connected) write(1, "cannot listen!\n", 15cannot listen! ) = 15 munmap(0x40016000, 4096) = 0 exit_group(0) = ? and a post on the FIN_WAIT1 problem: http://www.beowulf.org/pipermail/beowulf/1998-October/001818.html Best Regards, Olivier Kaloudoff LUG Linux Azur |