Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Maximum open files

- - - - -

  • Please log in to reply
6 replies to this topic

#1
z911

z911
  • Member
  • 4 posts
  • Joined 20-July 07
c:\net config server
.
.
.
Maximum open files per session 16384
.

How use more?


How to remove advertisement from MSFN

#2
bj-kaiser

bj-kaiser

    Advanced Member

  • Member
  • PipPipPip
  • 415 posts
  • Joined 05-December 06
  • OS:Windows 7 x86
  • Country: Country Flag
what are you trying to achieve? The limit is per session, and that means per connected user (correct me if I'm wrong). So what do you want to do that goes over that limit?
"Hello IT. Have you tried turning it off and on again?" -- Roy, The IT Crowd

#3
z911

z911
  • Member
  • 4 posts
  • Joined 20-July 07

what are you trying to achieve? The limit is per session, and that means per connected user (correct me if I'm wrong). So what do you want to do that goes over that limit?

Need for use big book-keeping program.
Program open more 16000 files and users have crash...

#4
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
This is a kernel constraint in 32bit Windows (and unix), and while you can somewhat easily modify this on most *nix systems, you are not able to modify this limit in Windows. The SRV redirector allows 16K files open per machine between a server and client, unless the users requesting the files are logged into a 2000 or 2003 server in true Terminal Services mode (not TS admin mode), in which case this is 16K files open per TS session to the remote server, rather than per machine.

You can't change this, so I'd suggest finding a different way to use the bookkeeping program, or find a different program that doesn't require so many open files per user (perhaps one that uses a real database as a back-end, instead of flat files???????). So unless this is just a horridly-written application that does "bad things" on Windows, you've obviously outgrown this solution :).
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#5
nmX.Memnoch

nmX.Memnoch

    MSFN Master

  • Patrons
  • 2,086 posts
  • Joined 15-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

So unless this is just a horridly-written application that does "bad things" on Windows

The fact that it opens 16K+ files at once should tell you that already... :D

#6
z911

z911
  • Member
  • 4 posts
  • Joined 20-July 07

This is a kernel constraint in 32bit Windows (and unix), and while you can somewhat easily modify this on most *nix systems, you are not able to modify this limit in Windows.

kernel or netsvcs?
limit for 10 connections passed, 16k+ files not as?
Do not change OS and bookkeeping program, it Russan specific.

#7
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
It's a redirector limit due to kernel memory constraints, and if you can't replace the software, you're pretty much stuck. Perhaps you could replace the backend server with a Unix box running Samba and try that, as there are some hacks for linux and bsd kernels to allow up to 64K connections per session.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users