Discussion:
10055 WSAENOBUFF error
(too old to reply)
news.microsoft.com
2006-11-15 11:16:41 UTC
Permalink
Hi,

Development machine:
XP Professional
1 GB RAM
1,5 GB Page file

My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..

If I do this my client app has a lot of problems with WSAENOBUFF error
when connecting to server, I cannot figure out what could be the problem.


1. There is a lot of memory available. Only around 400 MB is in use when
I get WSAENOBUFF
2. I have opened only around 20-30 sockets

I have tried fiddling with a lot of registry settings and have this
configuration at the moment


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\

6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\

00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\

42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\

00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\

35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\

00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\

6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\

00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\

34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\

00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\

6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\

00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\

41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\

00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\

6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\

00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\

30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\

00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpClassIdBin"=hex:
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpClassIdBin"=hex:
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\

6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\

00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\

00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\

00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\

00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\

00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00




TIA
Arkady Frenkel
2006-11-15 13:22:25 UTC
Permalink
check http://support.microsoft.com/kb/q196271/
Arkady
Post by news.microsoft.com
Hi,
XP Professional
1 GB RAM
1,5 GB Page file
My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..
If I do this my client app has a lot of problems with WSAENOBUFF error
when connecting to server, I cannot figure out what could be the problem.
1. There is a lot of memory available. Only around 400 MB is in use when I
get WSAENOBUFF
2. I have opened only around 20-30 sockets
I have tried fiddling with a lot of registry settings and have this
configuration at the moment
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\
42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\
00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\
35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\
00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\
6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\
00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\
34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\
00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\
41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\
00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\
30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\
00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\
00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\
00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\
00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00
TIA
Haris Zukanović
2006-11-15 17:36:34 UTC
Permalink
Thanx Arkady,
but I have allready seen this kb article and I have tried it. It doesn't
fix the problem.

My setting in registry is
Post by Arkady Frenkel
Post by news.microsoft.com
"MaxUserPort"=dword:0000fffe
Also, in the same context when
Post by Arkady Frenkel
Post by news.microsoft.com
Performance Options -> Advanced -> Memory usage -> System cache,
I discovered problems with other software which uses internet.
For example,
1. Internet explorer 6.0 fails to load a web page occasionally, or it
doesn't load some of the images contained in the web page.. I assume the
problems could be related

2. The above is also true for Firefox 1.5

3. Globalscape's CuteFTP Professional occasionally fails when making the
data connection to server
150 Opening ASCII mode data connection for file list port
fails with 10055 while connect to port 21 for control connection is
always ok



TIA for any other suggestions
Post by Arkady Frenkel
check http://support.microsoft.com/kb/q196271/
Arkady
Post by news.microsoft.com
Hi,
XP Professional
1 GB RAM
1,5 GB Page file
My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..
If I do this my client app has a lot of problems with WSAENOBUFF error
when connecting to server, I cannot figure out what could be the problem.
1. There is a lot of memory available. Only around 400 MB is in use when I
get WSAENOBUFF
2. I have opened only around 20-30 sockets
I have tried fiddling with a lot of registry settings and have this
configuration at the moment
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\
42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\
00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\
35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\
00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\
6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\
00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\
34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\
00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\
41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\
00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\
30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\
00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\
00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\
00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\
00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00
TIA
Arkady Frenkel
2006-11-16 06:12:12 UTC
Permalink
The other only reason is lack of non-pageable memory in kernel mode
Arkady
Post by Haris Zukanović
Thanx Arkady,
but I have allready seen this kb article and I have tried it. It doesn't
fix the problem.
My setting in registry is
Post by Arkady Frenkel
Post by news.microsoft.com
"MaxUserPort"=dword:0000fffe
Also, in the same context when
Post by Arkady Frenkel
Post by news.microsoft.com
Performance Options -> Advanced -> Memory usage -> System cache,
I discovered problems with other software which uses internet.
For example,
1. Internet explorer 6.0 fails to load a web page occasionally, or it
doesn't load some of the images contained in the web page.. I assume the
problems could be related
2. The above is also true for Firefox 1.5
3. Globalscape's CuteFTP Professional occasionally fails when making the
data connection to server 150 Opening ASCII mode data connection for file
list port
fails with 10055 while connect to port 21 for control connection is always
ok
TIA for any other suggestions
Post by Arkady Frenkel
check http://support.microsoft.com/kb/q196271/
Arkady
Post by news.microsoft.com
Hi,
XP Professional
1 GB RAM
1,5 GB Page file
My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..
If I do this my client app has a lot of problems with WSAENOBUFF error
when connecting to server, I cannot figure out what could be the problem.
1. There is a lot of memory available. Only around 400 MB is in use when
I get WSAENOBUFF
2. I have opened only around 20-30 sockets
I have tried fiddling with a lot of registry settings and have this
configuration at the moment
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\
42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\
00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\
35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\
00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\
6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\
00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\
34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\
00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\
41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\
00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\
30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\
00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\
00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\
00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\
00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00
TIA
Arkady Frenkel
2006-11-16 06:54:53 UTC
Permalink
You can try to increment it due to
http://support.microsoft.com/?kbid=312362
be aware that default size of non-paged memory( when -1 set ) is 25% of your
RAM
Arkady
Post by Arkady Frenkel
The other only reason is lack of non-pageable memory in kernel mode
Arkady
Post by Haris Zukanović
Thanx Arkady,
but I have allready seen this kb article and I have tried it. It doesn't
fix the problem.
My setting in registry is
Post by Arkady Frenkel
Post by news.microsoft.com
"MaxUserPort"=dword:0000fffe
Also, in the same context when
Post by Arkady Frenkel
Post by news.microsoft.com
Performance Options -> Advanced -> Memory usage -> System cache,
I discovered problems with other software which uses internet.
For example,
1. Internet explorer 6.0 fails to load a web page occasionally, or it
doesn't load some of the images contained in the web page.. I assume the
problems could be related
2. The above is also true for Firefox 1.5
3. Globalscape's CuteFTP Professional occasionally fails when making the
data connection to server 150 Opening ASCII mode data connection for file
list port
fails with 10055 while connect to port 21 for control connection is
always ok
TIA for any other suggestions
Post by Arkady Frenkel
check http://support.microsoft.com/kb/q196271/
Arkady
Post by news.microsoft.com
Hi,
XP Professional
1 GB RAM
1,5 GB Page file
My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..
If I do this my client app has a lot of problems with WSAENOBUFF error
when connecting to server, I cannot figure out what could be the problem.
1. There is a lot of memory available. Only around 400 MB is in use
when I get WSAENOBUFF
2. I have opened only around 20-30 sockets
I have tried fiddling with a lot of registry settings and have this
configuration at the moment
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\
42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\
00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\
35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\
00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\
6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\
00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\
34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\
00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\
41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\
00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\
30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\
00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\
00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\
00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\
00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00
TIA
Arkady Frenkel
2006-11-16 07:01:34 UTC
Permalink
Sorry! Instead of "non-paged memory" have to be "kernel memory" ( both paged
and non-paged)
Arkady
Post by Arkady Frenkel
You can try to increment it due to
http://support.microsoft.com/?kbid=312362
be aware that default size of non-paged memory( when -1 set ) is 25% of
your RAM
Arkady
Post by Arkady Frenkel
The other only reason is lack of non-pageable memory in kernel mode
Arkady
Post by Haris Zukanović
Thanx Arkady,
but I have allready seen this kb article and I have tried it. It doesn't
fix the problem.
My setting in registry is
Post by Arkady Frenkel
Post by news.microsoft.com
"MaxUserPort"=dword:0000fffe
Also, in the same context when
Post by Arkady Frenkel
Post by news.microsoft.com
Performance Options -> Advanced -> Memory usage -> System cache,
I discovered problems with other software which uses internet.
For example,
1. Internet explorer 6.0 fails to load a web page occasionally, or it
doesn't load some of the images contained in the web page.. I assume the
problems could be related
2. The above is also true for Firefox 1.5
3. Globalscape's CuteFTP Professional occasionally fails when making the
data connection to server 150 Opening ASCII mode data connection for
file list port
fails with 10055 while connect to port 21 for control connection is
always ok
TIA for any other suggestions
Post by Arkady Frenkel
check http://support.microsoft.com/kb/q196271/
Arkady
Post by news.microsoft.com
Hi,
XP Professional
1 GB RAM
1,5 GB Page file
My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..
If I do this my client app has a lot of problems with WSAENOBUFF error
when connecting to server, I cannot figure out what could be the problem.
1. There is a lot of memory available. Only around 400 MB is in use
when I get WSAENOBUFF
2. I have opened only around 20-30 sockets
I have tried fiddling with a lot of registry settings and have this
configuration at the moment
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\
42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\
00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\
35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\
00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\
6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\
00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\
34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\
00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\
41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\
00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\
30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\
00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\
00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\
00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\
00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00
TIA
Haris Zukanović
2006-11-17 08:28:49 UTC
Permalink
Indeed, I thank you Arkady!
I set NonPagedPoolSize to 512MB and the problem seems to have
disappeared. Before it was set to 0, and I have no idea which size by
default was in use.

I discovered that the programs which got 10055's used large send a recv
buffers. Probably that was the source of problems, since these should be
in NonPagedPool as far as I know

Anyway, thanx once more
Post by Arkady Frenkel
Sorry! Instead of "non-paged memory" have to be "kernel memory" ( both paged
and non-paged)
Arkady
Post by Arkady Frenkel
You can try to increment it due to
http://support.microsoft.com/?kbid=312362
be aware that default size of non-paged memory( when -1 set ) is 25% of
your RAM
Arkady
Post by Arkady Frenkel
The other only reason is lack of non-pageable memory in kernel mode
Arkady
Post by Haris Zukanović
Thanx Arkady,
but I have allready seen this kb article and I have tried it. It doesn't
fix the problem.
My setting in registry is
Post by Arkady Frenkel
Post by news.microsoft.com
"MaxUserPort"=dword:0000fffe
Also, in the same context when
Post by Arkady Frenkel
Post by news.microsoft.com
Performance Options -> Advanced -> Memory usage -> System cache,
I discovered problems with other software which uses internet.
For example,
1. Internet explorer 6.0 fails to load a web page occasionally, or it
doesn't load some of the images contained in the web page.. I assume the
problems could be related
2. The above is also true for Firefox 1.5
3. Globalscape's CuteFTP Professional occasionally fails when making the
data connection to server 150 Opening ASCII mode data connection for
file list port
fails with 10055 while connect to port 21 for control connection is
always ok
TIA for any other suggestions
Post by Arkady Frenkel
check http://support.microsoft.com/kb/q196271/
Arkady
Post by news.microsoft.com
Hi,
XP Professional
1 GB RAM
1,5 GB Page file
My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..
If I do this my client app has a lot of problems with WSAENOBUFF error
when connecting to server, I cannot figure out what could be the problem.
1. There is a lot of memory available. Only around 400 MB is in use
when I get WSAENOBUFF
2. I have opened only around 20-30 sockets
I have tried fiddling with a lot of registry settings and have this
configuration at the moment
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\
42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\
00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\
35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\
00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\
6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\
00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\
34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\
00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\
41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\
00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\
30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\
00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\
00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\
00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\
00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00
TIA
Arkady Frenkel
2006-11-19 08:32:15 UTC
Permalink
Great, OTOH you can try zero buffering instead, if you set with setsock opt
suze of kernel socket buffer to 0, it use
buffers from user app and not copy it to kernel.
Arkady
Post by Haris Zukanović
Indeed, I thank you Arkady!
I set NonPagedPoolSize to 512MB and the problem seems to have disappeared.
Before it was set to 0, and I have no idea which size by default was in
use.
I discovered that the programs which got 10055's used large send a recv
buffers. Probably that was the source of problems, since these should be
in NonPagedPool as far as I know
Anyway, thanx once more
Post by Arkady Frenkel
Sorry! Instead of "non-paged memory" have to be "kernel memory" ( both
paged and non-paged)
Arkady
Post by Arkady Frenkel
You can try to increment it due to
http://support.microsoft.com/?kbid=312362
be aware that default size of non-paged memory( when -1 set ) is 25% of
your RAM
Arkady
Post by Arkady Frenkel
The other only reason is lack of non-pageable memory in kernel mode
Arkady
Post by Haris Zukanović
Thanx Arkady,
but I have allready seen this kb article and I have tried it. It
doesn't fix the problem.
My setting in registry is
Post by Arkady Frenkel
Post by news.microsoft.com
"MaxUserPort"=dword:0000fffe
Also, in the same context when
Post by Arkady Frenkel
Post by news.microsoft.com
Performance Options -> Advanced -> Memory usage -> System cache,
I discovered problems with other software which uses internet.
For example,
1. Internet explorer 6.0 fails to load a web page occasionally, or it
doesn't load some of the images contained in the web page.. I assume
the problems could be related
2. The above is also true for Firefox 1.5
3. Globalscape's CuteFTP Professional occasionally fails when making
the data connection to server 150 Opening ASCII mode data connection
for file list port
fails with 10055 while connect to port 21 for control connection is
always ok
TIA for any other suggestions
Post by Arkady Frenkel
check http://support.microsoft.com/kb/q196271/
Arkady
Post by news.microsoft.com
Hi,
XP Professional
1 GB RAM
1,5 GB Page file
My app uses Winsock and is a client/server application.
It is working fine until I set system setting
Performance Options -> Advanced -> Memory usage -> System cache
so it uses more memory for system cache..
If I do this my client app has a lot of problems with WSAENOBUFF
error when connecting to server, I cannot figure out what could be
the problem.
1. There is a lot of memory available. Only around 400 MB is in use
when I get WSAENOBUFF
2. I have opened only around 20-30 sockets
I have tried fiddling with a lot of registry settings and have this
configuration at the moment
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DataBasePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,65,00,74,00,63,00,00,00
"NameServer"=""
"ForwardBroadcasts"=dword:00000000
"IPEnableRouter"=dword:00000000
"Domain"=""
"Hostname"="haris"
"SearchList"=""
"UseDomainNameDevolution"=dword:00000001
"EnableICMPRedirect"=dword:00000001
"DeadGWDetectDefault"=dword:00000001
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34,00,33,00,34,00,\
00,00,00,00
"MaxUserPort"=dword:0000fffe
"Tcp1323"=dword:00000003
"TcpWindowSize"=dword:0001fe78
"GlobalMaxTcpWindowSize"=dword:0001fe78
"TcpNumConnections "=dword:0000fffe
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000000
"SackOpts"=dword:00000001
"DefaultTTL"=dword:00000040
"TcpMaxDupAcks"=dword:00000002
"Tcp1323Opts"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp]
"LLInterface"="WANARP"
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,45,00,33,00,33,00,38,00,43,00,43,00,\
42,00,39,00,2d,00,31,00,35,00,34,00,32,00,2d,00,34,00,44,00,37,00,35,00,2d,\
00,39,00,45,00,38,00,43,00,2d,00,41,00,42,00,39,00,43,00,30,00,45,00,36,00,\
35,00,42,00,39,00,42,00,37,00,7d,00,00,00,54,00,63,00,70,00,69,00,70,00,5c,\
00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,\
6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,00,73,00,5c,00,7b,00,39,00,45,\
00,46,00,46,00,41,00,36,00,32,00,32,00,2d,00,46,00,33,00,46,00,41,00,2d,00,\
34,00,43,00,37,00,44,00,2d,00,39,00,46,00,42,00,30,00,2d,00,38,00,44,00,38,\
00,39,00,44,00,34,00,30,00,41,00,42,00,31,00,44,00,37,00,7d,00,00,00,00,00
"NumInterfaces"=dword:00000002
"IpInterfaces"=hex:b9,cc,38,e3,42,15,75,4d,9e,8c,ab,9c,0e,65,b9,b7,22,a6,ff,9e,\
fa,f3,7d,4c,9f,b0,8d,89,d4,0a,b1,d7
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,34,00,42,00,34,00,45,00,32,00,\
41,00,44,00,2d,00,31,00,45,00,30,00,36,00,2d,00,34,00,37,00,30,00,30,00,2d,\
00,39,00,39,00,30,00,34,00,2d,00,31,00,44,00,44,00,36,00,34,00,44,00,37,00,\
42,00,42,00,38,00,46,00,42,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"LLInterface"=""
"IpConfig"=hex(7):54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,\
6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,\
00,61,00,63,00,65,00,73,00,5c,00,7b,00,41,00,41,00,46,00,43,00,46,00,39,00,\
30,00,31,00,2d,00,43,00,35,00,30,00,37,00,2d,00,34,00,44,00,33,00,42,00,2d,\
00,39,00,32,00,33,00,30,00,2d,00,35,00,39,00,31,00,42,00,32,00,39,00,41,00,\
41,00,35,00,39,00,44,00,46,00,7d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9EFFA622-F3FA-4C7D-9FB0-8D89D40AB1D7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{A4B4E2AD-1E06-4700-9904-1DD64D7BB8FB}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,34,00,30,00,\
00,00,00,00
"SubnetMask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,\
00,35,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,00,\
38,00,00,00,00,00
"DefaultGatewayMetric"=hex(7):30,00,00,00,00,00
"NameServer"="10.0.0.138"
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpServer"="255.255.255.255"
"Lease"=dword:00000e10
"LeaseObtainedTime"=dword:453516c9
"T1"=dword:45351dd1
"T2"=dword:45352317
"LeaseTerminatesTime"=dword:453524d9
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"MTU"=dword:000005d4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{AAFCF901-C507-4D3B-9230-591B29AA59DF}]
"UseZeroBroadcast"=dword:00000000
"EnableDeadGWDetect"=dword:00000001
"EnableDHCP"=dword:00000001
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"DefaultGatewayMetric"=hex(7):00,00
"NameServer"=""
"Domain"=""
"RegistrationEnabled"=dword:00000001
"RegisterAdapterName"=dword:00000000
"TCPAllowedPorts"=hex(7):30,00,00,00,00,00
"UDPAllowedPorts"=hex(7):30,00,00,00,00,00
"RawIPAllowedProtocols"=hex(7):30,00,00,00,00,00
"NTEContextList"=hex(7):30,00,78,00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,\
32,00,00,00,00,00
"DhcpIPAddress"="10.0.0.5"
"DhcpSubnetMask"="255.255.255.0"
"DhcpServer"="10.0.0.138"
"Lease"=dword:00001c20
"LeaseObtainedTime"=dword:452fb5f1
"T1"=dword:452fc401
"T2"=dword:452fce8d
"LeaseTerminatesTime"=dword:452fd211
"IPAutoconfigurationAddress"="0.0.0.0"
"IPAutoconfigurationMask"="255.255.0.0"
"IPAutoconfigurationSeed"=dword:00000000
"AddressType"=dword:00000000
"DhcpRetryTime"=dword:00000e10
"DhcpRetryStatus"=dword:00000000
"DhcpNameServer"="10.0.0.138 10.0.0.138"
"DhcpDefaultGateway"=hex(7):31,00,30,00,2e,00,30,00,2e,00,30,00,2e,00,31,00,33,\
00,38,00,00,00,00,00
"DhcpDomain"="lan"
"DhcpSubnetMaskOpt"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,\
00,35,00,35,00,2e,00,30,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{E338CCB9-1542-4D75-9E8C-AB9C0E65B9B7}]
"UseZeroBroadcast"=dword:00000000
"EnableDHCP"=dword:00000000
"IPAddress"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"SubnetMask"=hex(7):30,00,2e,00,30,00,2e,00,30,00,2e,00,30,00,00,00,00,00
"DefaultGateway"=hex(7):00,00
"EnableDeadGWDetect"=dword:00000001
"DontAddDefaultGateway"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Winsock]
"UseDelayedAcceptance"=dword:00000000
"HelperDllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,74,00,63,00,70,00,69,00,70,00,2e,00,64,00,6c,00,6c,00,\
00,00
"MaxSockAddrLength"=dword:00000010
"MinSockAddrLength"=dword:00000010
"Mapping"=hex:0b,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,06,00,00,00,02,\
00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,06,00,00,00,00,00,\
00,00,00,00,00,00,06,00,00,00,00,00,00,00,01,00,00,00,06,00,00,00,02,00,00,\
00,02,00,00,00,11,00,00,00,02,00,00,00,02,00,00,00,00,00,00,00,02,00,00,00,\
00,00,00,00,11,00,00,00,00,00,00,00,00,00,00,00,11,00,00,00,00,00,00,00,02,\
00,00,00,11,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00
TIA
Roman Ryl...
2006-12-03 05:52:37 UTC
Permalink
Hi,
Post by Arkady Frenkel
The other only reason is lack of non-pageable memory in kernel mode
I have exactly the same problem. The application starts giving 10055
WSAENOBUFF errors and it's obviously because of running low non-paged
memory (perfmon shows this clearly). There are on the order of 15
network connections and there are no reconnections (and thus reaching a
limit of 5000 anonymouse socket - KB 196271).

I have no idea why non-paged memory is leaking. This does not happen on
Windows 2003 Server systems where the application runs fine with even
greater number of connections (40+). On Windows XP the problem also
depends on certain unknown factors - Pool Nonpaged Bytes may start
increasing soon after application start, or may be stable for 24 and
more hours and start climbing up after that. It is system's Pool
Nonpaged Bytes that increase (Memory\Pool Nonpaged Bytes performance
counter), while the counter of the application process remains
constant.

Roman
Arkady Frenkel
2006-12-03 16:14:45 UTC
Permalink
But 15 is very low number, what happen if you open 15 IEs , just a hint
Arkady
Post by Roman Ryl...
Hi,
Post by Arkady Frenkel
The other only reason is lack of non-pageable memory in kernel mode
I have exactly the same problem. The application starts giving 10055
WSAENOBUFF errors and it's obviously because of running low non-paged
memory (perfmon shows this clearly). There are on the order of 15
network connections and there are no reconnections (and thus reaching a
limit of 5000 anonymouse socket - KB 196271).
I have no idea why non-paged memory is leaking. This does not happen on
Windows 2003 Server systems where the application runs fine with even
greater number of connections (40+). On Windows XP the problem also
depends on certain unknown factors - Pool Nonpaged Bytes may start
increasing soon after application start, or may be stable for 24 and
more hours and start climbing up after that. It is system's Pool
Nonpaged Bytes that increase (Memory\Pool Nonpaged Bytes performance
counter), while the counter of the application process remains
constant.
Roman
Roman Ryl...
2006-12-03 16:28:19 UTC
Permalink
Arkady,
Post by Arkady Frenkel
But 15 is very low number, what happen if you open 15 IEs , just a hint
In my case the difference from IE is that all these 15 connections are
fetching a lot of data. These are video streams coming from IP cameras
such as 25 frames per second, 30 kilobytes per frame. 15 cameras, 24/7
activity.

Roman
Arkady Frenkel
2006-12-04 06:27:07 UTC
Permalink
Use zero-buffering in such case
Arkady
Post by Haris Zukanović
Arkady,
Post by Arkady Frenkel
But 15 is very low number, what happen if you open 15 IEs , just a hint
In my case the difference from IE is that all these 15 connections are
fetching a lot of data. These are video streams coming from IP cameras
such as 25 frames per second, 30 kilobytes per frame. 15 cameras, 24/7
activity.
Roman
Loading...