>в студию (в момент высокой загрузки):
>vmstat 1 5
>
>
>конфиг сендмаила
>cat /etc/sysctl.conf на данный момент сервер не загружен, но все равно выкладываю. Также постараюсь выложить в момент его торможения.
mx1# vmstat 1 5
procs memory page disk faults cpu
r b w avm fre flt re pi po fr sr ad0 in sy cs us sy id
3 4 0 1303924 63820 409 106 0 0 386 856 0 132 5270 967 8 2 90
0 2 0 1294584 64660 2142 0 0 0 3109 0 104 280 30086 3120 41 16 43
1 2 0 1255804 81232 1065 0 0 0 5336 0 33 167 16285 1158 37 7 56
0 1 0 1253488 81256 856 0 0 0 1473 0 28 144 3183 975 9 7 84
0 0 0 1220660 97820 787 0 0 0 5792 0 25 161 3782 1097 8 7 85
mx1# cat /etc/sysctl.conf
# $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
Конфиг сендмайла:
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.28 2003/04/18 01:25:41 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)
FEATURE(access_db,`hash -o -T<TMPF> /etc/mail/access.db')
FEATURE(mailertable,`hash -o /etc/mail/mailertable.db')
FEATURE(virtusertable,`hash -o /etc/mail/virtusertable.db')
FEATURE(blacklist_recipients)
FEATURE(`dnsbl',`dul.ru',`Use mail relays of your ISP')dnl
FEATURE(`dnsbl',`bl.spamcop.net',`Mail rejected, see spamcop.net')dnl
FEATURE(`dnsbl',`zen.spamhaus.org',`Mail rejected, see spamhaus.org')dnl
define(`confCACERT_PATH',`/etc/certs')dnl
define(`confCACERT',`/etc/certs/cacert.pem')dnl
define(`confSERVER_CERT',`/etc/certs/sendmail.pem')dnl
define(`confSERVER_KEY',`/etc/certs/sendmail.pem')dnl
define(`confCLIENT_CERT',`/etc/certs/sendmail.pem')dnl
define(`confCLIENT_KEY',`/etc/certs/sendmail.pem')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtps, Name=MSA-SSL, M=E')dnl
define(`confSMTP_LOGIN_MSG',`Server ready')
define(`confMAX_MESSAGE_SIZE',`10000000')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
dnl define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
define(`confMILTER_MACROS_ENVRCPT',`r,v,Z,b,_')
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS',`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass-milter.sock, F=T, T=C:60s;S:60s;R:60s;E:5m')
define(`confINPUT_MAIL_FILTERS',`spamassassin')
MAILER(local)
MAILER(smtp)