Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-16 Thread Angus Robertson - Magenta Systems Ltd
> I guess either sockets are not closed > properly or someone tried a DoS. The application had about 30 open sockets, most had been open for a few days, there are no clients connecting and disconnecting, just traffic moving around. And the PC is on my LAN, behind a Sonicwall, so unlikely to be

Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-15 Thread Fastream Technologies
Though, you can shorten the interval for the TIMW_WAIT state from registry. If you do not know how, let me know. I usually set it to 60 secs instead of the default 240. Regards, SZ On 12/15/07, Arno Garrels <[EMAIL PROTECTED]> wrote: > > Wilfried Mestdagh wrote: > > Hello Angus, > > > > there w

Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-15 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello Angus, > > there was another one (forgot wich one). you need to see how many in > use for non-paged memory (used by socket and overlapped IO). Won't that be just workarounds? I guess either sockets are not closed properly or someone tried a DoS. In the latter case

Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-15 Thread Primož Gabrijelčič
> Sent: Saturday, December 15, 2007 8:14 PM > To: twsocket@elists.org > Subject: Re: [twsocket] Recovering from Error 10555, No buffer space > available > > > there was another one (forgot wich one). you need to see how many > > in use for non-paged memory (used by socket a

Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-15 Thread Angus Robertson - Magenta Systems Ltd
> there was another one (forgot wich one). you need to see how many > in use for non-paged memory (used by socket and overlapped IO). Now found GetPerformanceInfo (XP and better only), which has some useful elements: SIZE_T KernelTotal; SIZE_T KernelPaged; SIZE_T KernelNonpaged; once I fi

Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-15 Thread Wilfried Mestdagh
Hello Angus, there was another one (forgot wich one). you need to see how many in use for non-paged memory (used by socket and overlapped IO). --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Saturday, December 15, 2007, 19:16, Angus Robertson

Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-15 Thread Angus Robertson - Magenta Systems Ltd
> I recall it is winapi call GlobalMemoryStatus I check GetProcessMemoryInfo and GlobalMemoryStatus every 30 seconds in another application, but it was not running on the PC that lost TCP today, which has 3 gigs of RAM. This logging is from a couple of days ago, if the memory load reaches 98% or

Re: [twsocket] Recovering from Error 10555, No buffer space available

2007-12-15 Thread Wilfried Mestdagh
Hello Angus, I recall it is winapi call GlobalMemoryStatus. It fills a struct and one of the members of the struct is the available RAM. 1/8 size of ram is the maximum amount of non pageable memory the machine can grow. So that is the max amount available for sockets and overlapped IO. --- Rgds,