Date: Tue, 21 Nov 2000 22:37:45 +0100 From: Len Conrad <lconrad@Go2France.com> To: freebsd-questions@freebsd.org Subject: Fwd: Re: still in the woods (tuning for postfix hub) Message-ID: <5.0.2.1.0.20001121223505.04d56100@mail.Go2France.com>
next in thread | raw e-mail | index | archive | help
Can somebody tell me who admins FreeBSD/postifx mail hubs? I need some help opening up FreeBSD for postfix and 200K msgs/day. Thanks, Len ================================== >Delivered-To: postfix-users-outgoing@cloud9.net >Delivered-To: postfix-users@cloud9.net >Subject: Re: still in the woods >To: postfix-users@postfix.org (Postfix users) >Reply-To: postfix-users@postfix.org (Postfix users) >X-Time-Zone: USA EST, 6 hours behind central European time >Date: Tue, 21 Nov 2000 16:31:50 -0500 (EST) >From: wietse@porcupine.org (Wietse Venema) >Sender: owner-postfix-users@postfix.org >X-RCPT-TO: <lconrad@Go2France.com> > >The FreeBSD mailing list server runs 500+ Postfix SMTP clients and >it does not hurt the machine. > >Perhaps you need to ask the people who run that machine. > > Wietse > >Len Conrad: > > Got a faily busy postfix relay hub, about 200K msgs / day. > > > > FreeBSD IMGate1.xxx.net 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Tue > > Sep 26 00:46:59 GMT 2000 > > > > # postconf mail_version > > mail_version = Snapshot-20001030 > > > > ast pid: 67847; load > > averages: 0.19, 0.37, 0.47 > > up 7+00:47:48 16:07:03 > > 320 processes: 1 running, 319 sleeping > > CPU states: 3.5% user, 0.0% nice, 3.8% system, 0.8% > interrupt, 91.9% idle > > Mem: 78M Active, 103M Inact, 29M Wired, 6524K Cache, 35M Buf, 32M Free > > Swap: 47M Total, 1464K Used, 46M Free, 3% Inuse > > > > We had these "too many files" pb's are initial install, and the > > FreeBSD-hackers gave me some things to change that seem to stop the > > but they're back even with these settings( an rebootin): > > > > /boot/rc.loader with > > > > set kern.ipc.maxsockets=4000 (from default of 1000, I think) > > > > and > > > > /etc/sysctl.conf with > > > > kern.maxfiles = 4096 > > kern.maxfilesperproc = 4096 > > > > A section of "sysctl -a" shows: > > > > ITEM SIZE LIMIT USED FREE REQUESTS > > > > PIPE: 160, 0, 2, 100, 63091 > > unpcb: 64, 0, 6, 122, 607 > > ripcb: 96, 1064, 0, 84, 68 > > tcpcb: 288, 1064, 10, 32, 2428 > > udpcb: 96, 1064, 11, 73, 2637 > > unpcb: 64, 0, 0, 0, 0 > > socket: 160, 1064, 27, 48, 5752 > > AIOLIO: 704, 0, 0, 0, 0 > > AIOL: 64, 0, 0, 0, 0 > > AIOCB: 128, 0, 0, 0, 0 > > AIOP: 32, 0, 0, 0, 0 > > AIO: 96, 0, 0, 0, 0 > > NFSNODE: 288, 0, 0, 0, 0 > > NFSMOUNT: 544, 0, 0, 0, 0 > > VNODE: 192, 0, 3801, 121, 3764 > > NAMEI: 1024, 0, 0, 24, 3391019 > > VMSPACE: 192, 0, 20, 44, 50568 > > PROC: 352, 0, 23, 35, 50571 > > DP fakepg: 64, 0, 0, 0, 0 > > PV ENTRY: 28, 139130, 3868, 12497, 7249523 > > MAP ENTRY: 40, 0, 351, 491, 802213 > > KMAP ENTRY: 40, 3996, 61, 169, 13057 > > MAP: 100, 0, 7, 3, 7 > > VM OBJECT: 124, 0, 532, 2133, 604523 > > > > > > But the client is still getting these: > > > > Fatal Errors > > ------------ > > bounce > > 1 open file defer 63A8B51811: Too many open files in system > > 1 open file defer 954FF516E4: Too many open files in system > > 1 open file defer 21333516EF: Too many open files in system > > 1 open file defer B7675516C8: Too many open files in system > > 1 open file defer B6A3E51605: Too many open files in system > > 1 open file defer 33E0B518AE: Too many open files in system > > 1 open file defer 9521D51766: Too many open files in system > > 1 open file defer 6848A5171E: Too many open files in system > > 1 open file defer B5B285178E: Too many open files in system > > 1 open file defer 300B45164D: Too many open files in system > > 1 open file defer 624495172D: Too many open files in system > > 1 open file defer B18F351765: Too many open files in system > > 1 open file defer B2688516B4: Too many open files in system > > 1 open file defer 2717951750: Too many open files in system > > cleanup > > 26 accept connection: Too many open files in system > > qmgr > > 10 socket: Too many open files in system > > 1 open active 7123851A0C: Too many open files in system > > 1 open active 2B05B517B4: Too many open files in system > > 1 open active 495C551796: Too many open files in system > > 1 open active 79A17517F8: Too many open files in system > > 1 open active 6690651964: Too many open files in system > > 1 open active 983CE516F1: Too many open files in system > > 1 open active D61D65181E: Too many open files in system > > smtp > > 8 accept connection: Too many open files in system > > 4 unknown service: smtp/tcp > > 2 open /etc/postfix/main.cf: Too many open files in system > > 1 unknown user: postfix > > 1 unknown default_privs configuration parameter value: nobody > > 1 open active 8817E51660: Too many open files in system > > 1 inet_addr_local: socket: Too many open files in system > > smtpd > > 93 accept connection: Too many open files in system > > 9 socket: Too many open files in system > > 1 watchdog timeout > > trivial-rewrite > > 1 accept connection: Too many open files in system > > > > > > Any body know how I can systcl or other re-param my way out of this, > > without a new kernal (he didn't install kernal sources, against my request) > > > > tia, > > Len http://BIND8NT.MEIway.com : ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-spam mail gateways 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?5.0.2.1.0.20001121223505.04d56100>