Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Open log file errors



On 11/24/03 2:19 PM Rick 'Kaenath' Knecht (postmaster@helmboy.com) wrote:

>notes:
>1. summary have been able to ready the files after the vnode bump w/o
>restarting?

If you are asking if other people have had this problem solved by 
changing the number of vnodes, then yes some people have had the problem 
solved by doing that. If upping the vnodes manually, without rebooting, 
does not temporarily solve your problem then you are experiencing a 
different problem, not related to vnodes.

>2, as recommended in the http://summary.net/talk/200310/msg00025.html
>thread, I went to check out the file at
>/System/Library/StartupItems/SystemTuning/SystemTuning. the only info in
>here is:
>
>#!/bin/sh
>exit 0
>
>Is there somewhere in the server the 'addvnodes=512'  might be hidden?

Starting in 10.2.7 (or around then, I forget the exact version), Apple 
moved this setting to a different place. In newer versions of Mac OS X 
you need to look in /etc/rc for the lines:

# System tuning
sysctl -w kern.maxvnodes=$(echo $(sysctl -n hw.physmem) '33554432 / 512 * 
1024 +p'|dc)

(There should be two lines, the e-mail system might have wrapped the 
second line to make three) and change the 512 there to another number 
(like 1024). The 512 in the original version is the number of vnodes 
allocated for each 32 Meg of RAM installed in the machine. (Alternatively 
you can change the 1024 to a much higher number. The 1024 in the original 
is the number of vnodes to start with, in addition to adding in the 512 
for each 32 Meg.)

Keep in mind that Apple may move this setting again. You need to check 
for this each time you install a system update.

Jason

-----------------
Jason@Summary.Net
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets
-------------
Go to <http://summary.net/list.html> to update subscription info.