By default, Mac OS X imposes a limit of 256 simultaneously open files
per-process. The actual number of files your application may open
simultaneously will be slightly smaller than this amount: the actual
number of files your application can open simultaneously will be
reduced by the number of files opened by the services used by your
application.
In the case of MS Word each time you hit Apple-S to save a new
(hidden) window is opened and kept open! So it's very easy to hit the
limit of 256 open files.
You have to add this line to your .bashrc (startup script) located in
your root directory.
ulimit -S -n 2048
A similar problem occurs with kern.maxprocperuid and kern.maxproc.
The easiest solution to this is to add the following to the bottom of
/etc/rc.common
if [ "${TWEAKS:=-NO-}" = "-YES-" ]; then
ConsoleMessage? "Tweaking stack, data, and processes"
sysctl -w kern.maxproc=1024
sysctl -w kern.maxprocperuid=256
ulimit -H -u512
ulimit -u256 -s8192 -d12288
fi
I have been running into this problem for a couple months at the High School
I administer. I have tried deleting prefs and config files and even wacking
whole home directeries to see if it helps and the only thing that seems to
be reliable is having the users go into word and in preferences/ under file
locations point the documents to their own documents folder. Some posts Ive
read also points out that the auto save feature should be turned off.
I hope this helps
Kevin
On 11/18/05 12:58 AM, "David Riddle" <email@hidden> wrote:
It seems now that it doesn't matter whether it is SMB or AFP (at
least AFP Unix mounts)... Word has been giving spurious messages with
the latter for a long time.
Just in terms of 'normal' file sharing', we used to use NetaTalk
mounts of Unix volumes, but moved to SMB mounts when a combination of
'Too many file open'... 'Not enough memory to complete task', etc.
messages started to become more than the occasional joke.
At least for us, SMB mounts currently seem to be more reliable.
By any chance, are your home directories on a SMB share?
On 11/17/05 2:01 PM, "email@hidden"
<email@hidden> wrote:
Message: 5
Date: Thu, 17 Nov 2005 10:24:01 -0500
From: Brad Schonhorst <email@hidden>
Subject: Microsoft Office - too many files open
To: Client Management <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
We are seeing alot of these messages, "Too many files Open", while
using Microsoft word on our network. Didn't notice it with 10.3
server/client but now it comes up regularly with 10.4.2 client/server.
The window pops up regularly while using Word. Doesn't seem to cause
any problems but gets quite annoying.
Google returns many complaints about this but I was wondering if
anyone on the list has seen it or found a solution.
-Brad
/*======================================\
Brian M. Carr
Microcomputer Applications Specialist
Theatre and Dance Lab (TADL)
Visual Resources Collection (VRC)
WIN 1.138 / DFA 3.218
University of Texas at Austin
1 University Station -- D1400
Austin, TX 78712
V: (512) 232 - 5756
F: (512) 471 - 0824
email@hidden
\======================================*/
--
*********************************************************************
David Riddle, Senior Micro Officer (Macintosh Systems)
Goldsmiths College London
New Cross, London SE14 6NW, UK
LIST owner, MAC-SUPPORTERS, MACOS-X, M-L-C, ITSUPPORT, WEB-SUPPORT, UK-SCHOOLS
Tel: 020 7919 7546 Fax: 020 7919 7556
Mobile: 07966 472340 e-Mail: email@hidden
*********************************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden