Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#491081: partimage-server: partimaged sockets stay in CLOSE_WAIT state

0 views
Skip to first unread message

Artur Pydo

unread,
Jul 16, 2008, 9:20:21 AM7/16/08
to
Package: partimage-server
Version: 0.6.7-1
Severity: important


The socket opened between partimage server and client stay in CLOSE_WAIT
as long as the partimage server is running.
The save and restore actions between the partimage server and the client
work fine as long as there are some free unused slots on the partimage
server.
Once a backup or restore is finished the used server slot is not
available any more because of the CLOSE_WAIT state of the associated
socket.
After 15 successive connections from clients the partimage server is
unable to process incoming connections anymore. In this case partimaged
console shows that all the clients are in state "finished".

This is the netstat output after 15 successive backups on the box
running partimaged.

$ netstat -n --inet
Connexions Internet actives (sans serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat
tcp 1 0 192.168.1.224:4025 192.168.1.110:53500
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:52100
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.106:49604
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.106:50242
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.106:46488
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:43000
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:52737
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.106:57691
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:37282
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.106:58028
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:37740
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:33034
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:40131
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.106:43207
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:41966
CLOSE_WAIT
tcp 1 0 192.168.1.224:4025 192.168.1.110:48702
CLOSE_WAIT
$

This is the server partimage.log output while the server is failing to
process the next client :

[Main] net.cpp->Banner#120: generated banner: 0.6.7 SSL LOG
[Main] netserver.cpp->AcceptClient#143: Banner: 0.6.7 SSL LOG
[Main] netserver.h->Send#63: before GET: 15
[Main] netserver.h->Send#65: after GET: 15
[Main] netserver.cpp->AcceptClient#148: received banner for client 15:
0.6.7 SSL LOG
[Main] netserver.h->Send#63: before GET: 15
[Main] netserver.h->Send#65: after GET: 15
[Main] netserver.h->Send#63: before GET: 15
[Main] netserver.h->Send#65: after GET: 15
[Main] netserver.cpp->AcceptClient#181: THROW: -35
[Main] exceptions.cpp->CExceptions#88: AcceptClient -> throws: -35
[Main] partimaged-main.cpp->main#389: *** excep catched
[Main] partimaged-main.cpp->main#385: infernal loop

I can do more tests or provide other information if needed.

-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages partimage-server depends on:
ii adduser 3.108 add and remove users and groups
ii libbz2-1.0 1.0.5-0.1 high-quality block-sorting file co
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libgcc1 1:4.3.1-2 GCC support library
ii libnewt0.52 0.52.2-11.2 Not Erik's Windowing Toolkit - tex
ii libpam0g 0.99.7.1-6 Pluggable Authentication Modules l
ii libslang2 2.1.3-3 The S-Lang programming library - r
ii libssl0.9.8 0.9.8g-10.1 SSL shared libraries
ii libstdc++6 4.3.1-2 The GNU Standard C++ Library v3
ii lsb-base 3.2-12 Linux Standard Base 3.2 init scrip
ii openssl 0.9.8g-10.1 Secure Socket Layer (SSL) binary a
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages partimage-server recommends:
ii db4.6-util 4.6.21-8 Berkeley v4.6 Database Utilities

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages