delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/12/04:49:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [202.7.176.222]
X-Originating-Email: [arashp AT hotmail DOT com]
From: "Arash Partow" <arashp AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: running out of memory
Date: Wed, 12 Nov 2003 09:48:55 +0000
Mime-Version: 1.0
Message-ID: <BAY9-F26ZuKh31mUaA3000153ac@hotmail.com>
X-OriginalArrivalTime: 12 Nov 2003 09:48:55.0892 (UTC) FILETIME=[301FB940:01C3A902]

Hi Armin,


This is a known problem with the cygwin layer, currently efforts are
underway to exactly define where the problem resides, however it seems
when "processes" are threaded and sockets are used in the process, in some
instances when the socket is closed the cygwin layer doesn't pass the close
onto the winsock, hence the socket as a descriptor (win32 handle) remains.
This causes the following:

1. Win32 Handles not being freed up
2. Virtual and Swap memory not being freed up

You may want to try installing the latest cygwin1.dll as of 10th Nov
from the snapshots section. Some aspects of the problem have been resolved,
this may remedy your current problem.






Arash Partow



__________________________________________________
Be one who knows what they don't know,
Instead of being one who knows not what they don't know,
Thinking they know everything about all things.
http://www.partow.net







>I am running cygwin ( l.5.5 ) on a Win 2k ( 1,8 Ghz; 512 MB Ram) machine
>with rsync as a service. Each night I do a simple
>
>
>rsync -e ssh -a --delete --modify-window=2 /home/"samba all shares"/
>ssh-user AT Win2kserver:/cygdrive/x/backup
>
>
>cron job from a RedHat 8.0 server. This satifies all my present needs.
>However, over a couple of days rsync.exe and sshd.exe processes are
>adding up (over 100 at my last count) until the Win 2k machine runs out
>of memory. Each process eats about 2.000-3.000 K.
>The backup still works ok and I can't find any error messages on my
>linux machine.













..



















.

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019