Date: Wed, 25 Aug 1999 18:04:41 +0200 From: Roelof Osinga <roelof@nisser.com> To: Ludwig Pummer <ludwigp@bigfoot.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Did I lose mail? Message-ID: <37C41419.AC041FE4@nisser.com> References: <Pine.BSF.4.10.9908242329270.75417-100000@toy.chip-web.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ludwig Pummer wrote: > > I can't say. I use qmail. I know that qmail stores files safely and > successfully to disk before telling the remote server that it got the > mail. I've tried it for awhile on a slackware box. Sendmail felt more comfortable. > It won't survive a reboot unless you set it in your kernel or you could > stick your "sysctl -w ..." line into /etc/rc.local. Ok, thanks. > maxfiles is set to 2*(20+16*MAXUSERS), and MAXUSERS is set in your kernel > config. You can also seperately define MAXFILES using an "options" line in > kernel config. nisser:/usr/src/sys/i386/conf$ grep MAX FORSETI options MAXCONS=6 #number of virtual consoles nisser:/usr/src/sys/i386/conf$ grep MAX LINT | grep -v ^# options "MAXDSIZ=(256*1024*1024)" options "NFS_MAXATTRTIMO=60" options "NFS_MAXDIRATTRTIMO=60" options "CAM_MAX_HIGHPOWER=4" options "CHANGER_MAX_BUSY_SECONDS=10" options "MAXMEM=(128*1024)" options MAXCONS=16 # number of virtual consoles options KBD_MAXRETRY=4 options KBD_MAXWAIT=6 options SCSI_NCR_MAX_SYNC=10000 options SCSI_NCR_MAX_WIDE=1 options "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)" options SHMMAXPGS=1025 nisser:/usr/src/sys/i386/conf$ grep MAXFILES LINT nisser:/usr/src/sys/i386/conf$ grep MAXUSERS LINT # default to a quantity that is roughly 16*MAXUSERS+512. You would nisser:/usr/src/sys/i386/conf$ grep maxfiles LINT nisser:/usr/src/sys/i386/conf$ grep maxusers FORSETI maxusers 10 #32 Ahhh, if only I had activated that :(. So given your formula, which does ring a bell albeit faintly, that would mean MAXUSERS defaults to 10. I can live with that, but I think the formula is to weak for interactive GUI use. Tentatively I would say it has to be 32 and in our specific case more like 160. Anyway, where is the description of these params if not in LINT? On a whim I would say the manual and whaddayaknow a direct hit. It even has the same formula although now attributed to the maximum number of processes. No trace of MAXFILES though. I'll keep looking but any pointers will be appreciated. Even though it'll probably be some .h param. Roelof -- Home is where the (@) http://eboa.com/ is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37C41419.AC041FE4>
