• Medlem
  • 2007-11-12 19:57


Från Apple, berör Intel servers med 2,3,4 GB Ram!
Värt att ställa om innan problemen börjar!

Issue or symptom

As clients search mounted network volumes, the kernel_task process (pid 0) on the server is allocated more and more RAM. System administrators may notice that the amount of RAM allocated to the kernel_task process may be close to 2 GB. On servers configured with 2 GB or 3 GB of RAM, this can result in server performance degrading, or the server becoming unresponsive, or restarting unexpectedly.

Products affected

Mac OS X Server (Universal) 10.4.7 or later

You can make the following change to /etc/rc.server to improve performance in this situation. This is recommended only if your server has 2 GB, 3 GB, or 4 GB of RAM.

Make a copy of /etc/rc.server with this command:

$ sudo cp /etc/rc.server /etc/rc.server.bak

As the root user, open /etc/rc.server in the text editor of your choice.

Locate this line in /etc/rc.server:
sysctl -w kern.maxnbuf=90000

Change the number 90000 to 20000, so that the line reads:
sysctl -w kern.maxnbuf=20000

Save the changes made to /etc/rc.server.

Restart the server.