Tag Archives for connection attempt

Windows XP’s Maximum Inbound Connection

[Dimaz.web.id].Judulnya kelihatan sangat “techie”, tetapi sebenarnya mudah dipahami.
Bermula dari sebuah error yang muncul ketika aku berusaha mengakses shared drive dari sebuah komputer.

No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.

Aku baru tahu kalau Windows XP memiliki batas jumlah koneksi, di mana XP Pro dibatasi 10 koneksi sedangkan XP Home 5 koneksi, dan dibenarkan oleh Microsoft.
Nah, dari beberapa artikel yang kubaca, memang koneksi maksimalnya tidak bisa diapa-apakan. Alasan Microsoft tentang hal ini adalah untuk memperlambat pertumbuhan worm, namun begitu rasanya tidak adil bila Microsoft tidak menyediakan opsi bagi para superuser atau administrator untuk melakukan tweaking pada jumlah koneksi ini.

Dari yang kubaca aku bisa menemukan 2 alternatif solusi.
Yang pertama adalah mempersingkat time-out dari sebuah full connection. Aku akan mengutip paragraf dari sini.

Any file, print, named pipe, or mail slot session that does not have any activity is automatically disconnected after the AutoDisconnect time has expired; the default for the AutoDisconnect time is 15 minutes. When the session is disconnected, one of the ten connections becomes available so that another user can connect to the Windows XP system. Therefore, lowering the AutoDisconnect time can help to reduce some of the problems that users may encounter with the ten-connection limit or the five-connection limit on a system that is not used heavily for server purposes.

You can configure the AutoDisconnect time by running the following command from a command prompt:
net config server /autodisconnect:time_before_autodisconnect
Specify the time in minutes.

Note The Windows Server service is self-tuning. Typically, the server configuration parameters are autoconfigured (calculated and set) each time you start Windows XP. If you run the net config server command in conjunction with the /autodisconnect, /servcomment or /hidden options, the current values for the automatically tuned parameters are displayed and written to the registry. After these parameters are written to the registry, you cannot tune the Server service by using the Networks tool in Control Panel. If you change any of the Server service settings, Windows XP can no longer automatically tune the Server service for your new configuration. To avoid losing the Server service’s automatic self-tuning capability, make the change by using Registry Editor instead from a command line or from Control Panel.
All logical drive, logical printer, and transport level connections combined from a single computer are considered to be one session; therefore, these connections only count as one connection in the ten- connection limit. For example, if a user establishes two logical drive connections, two Windows sockets, and one logical printer connection to a Windows XP system, one session is established. As a result, there will be only one less connection that can be made to the Windows XP system, even though three logical connections have been established.

Err, tapi aku belum menemukan petunjuk registry mana yang bisa diubah sebagai alternatif menggunakan command di atas.

Cara yang kedua adalah memperbanyak half connection atau connection attempt. Cara ini bisa dilakukan dengan patching, petunjuknya ada di sini. Patch nya sendiri bisa didownload di sini. Tapi ingat, risiko ditanggung pembeli :D
Yang perlu diperhatikan adalah baris berikut, yang kukutip dari sini.

This patch on the other hand is to do with the number of connection attempts allowed in any unit time, i.e. 10 per second. Once one of these attempts succeeds and the connection is opened both ways then the next attempt can start, i.e. the attempts are queued and freed from the queue at 10 a second.

Artinya, patch hanya digunakan untuk memperbanyak connection attempt yang diperbolehkan dalam sebuah unit waktu, walaupun total koneksi yang diperbolehkan hanya 10 (pada WinXP Pro) atau 5 (WinXP Home).

Incoming search terms for the article: