Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BD66A74.AA530F01@wapme-systems.de>
Date: Wed, 24 Oct 2001 09:15:00 +0200
From: Stipe Tolj <tolj@wapme-systems.de>
Organization: Wapme Systems AG
X-Mailer: Mozilla 4.7 [de]C-CCK-MCD QXW0322b  (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Alvin Ng <rebooting@hotmail.com>
CC: cygwin@cygwin.com
Subject: Re: Apache/PHP Problem:CLOSE_WAIT sockets
References: <LAW2-F114wGXSXCWV8S0000f066@hotmail.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

> Tested like this:
> gets HTML page from Apache : OK( Port closes)
> gets plain PHP page from Apache: OK( Port closes)
> gets simple PHP script that outputs PGSQL data (script outputs as
> expected): CLOSE_WAIT
> 
>   The script executes the pgClose(database); statement.
> 
> >How did you see about CLOSE_WAIT states in sockets?
> I did a netstat and also used a tool called ActivePorts from Smartline to
> monitor the connections(the tool reports the process that is currently using
> the port)
> 
> I installed the non-cgywin Win32 Apache from Apache Group and the win32 PHP
> from php.net. Seems like there is no problem in this case, even when PHP
> script is talking to the Cygwin PGSQL.

so my suggestion that there is something wrong with socket
communication under Cygwin is more and more enlighted.

I have similar "problems" with Apache's keep-alive, where some process
stay in kell-alive state forever and then suddenly closes the socket.

Can someone from the Cygwin Core team please check this!!! Thanks.


Stipe

tolj@wapme-systems.de
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: info@wapme-systems.de
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

