On Mon, 18 Mar 2002, Tim wrote: [...] > I assume mathopd is a mature > product and won't have any issues with a high load like this.
I haven't heard of any reported crashes lately, although it would be interesting for me if there were any. :) [...] > Another question though, could someone expand on the "BufSize" command? I > have it set to 32000 and top says it's using about 16MB of RAM. Is this > just a network buffer or does it cache pages/images in RAM up to a certain > amount? I've now got lots of free RAM on the server, so I'm not really > worried about how much it takes, I'm more interested in what exactly this > command does and how I should set it for best performance. Mathopd does not cache in RAM. It relies on the operating system for things like buffer cache etc. Mathopd reads files in chunks of BufSize, so the larger your BufSize, the smaller the number of read() system calls. Also a large buffer size may help reduce the number of send() calls to the client, although there is a certain cut-off point above which BufSize no longer has any effect. Cheers Michiel
