From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 17 Mar 1996 07:40:47 -0500 From: forsyth@plan9.cs.york.ac.uk forsyth@plan9.cs.york.ac.uk Subject: File Server memory... Topicbox-Message-UUID: 408be06e-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19960317124047.WqpFfx8Cj6kM9EWY8lyeaWRB6bCDuF4dZjFnb-ILQ9I@z> if you are running a file server on a machine with less than (say) 32mbytes, you might find it worthwhile making the following change to /sys/src/fs/port/main.c: currently: conf.nfile = 30000; i use if (conf.mem < 32*1024*1024) conf.nfile = 15000; else conf.nfile = 30000; you could reduce nfile still further if necessary. this reduces the number of simultaneously open files, but increases the memory available for buffers etc.