Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 1997 16:59:20 -0400
From:      "Todd R Butler" <todd@mail.cduniverse.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Sendmail 8.7.5  lockf State
Message-ID:  <199709042101.RAA24004@mail.cduniverse.com>

next in thread | raw e-mail | index | archive | help
Hello,

     Sendmail 8.7.5 running on Freebsd 2.1.5 has recently started to create
many lockf
states and hung processes displayed by TOP and ps -ax after over a year in
production as a mail server.

TOP view:

PID USERNAME PRI NICE  SIZE   RES STATE    TIME   WCPU    CPU COMMAND
  134 root      10    0  400K  288K wait     0:35  0.04%  0.04% httpd
23753 root      28    0  416K  780K RUN      0:02  0.00%  0.00% top
14421 root      18    0  464K  268K pause    0:01  0.00%  0.00% csh
   97 root      18    0  268K  124K pause    0:03  0.00%  0.00% cron
12850 root      18    0  908K    0K lockf    0:02  0.00%  0.00% <sendmail>
 7380 root      18    0  840K    0K lockf    0:01  0.00%  0.00% <sendmail>
13387 root      18    0  836K    0K lockf    0:01  0.00%  0.00% <sendmail>
10555 root      18    0  836K    0K lockf    0:01  0.00%  0.00% <sendmail>
14530 root      18    0  832K    0K lockf    0:00  0.00%  0.00% <sendmail>
13089 root      18    0  828K    0K lockf    0:01  0.00%  0.00% <sendmail>
14304 root      18    0  808K    0K lockf    0:00  0.00%  0.00% <sendmail>
13506 root      18    0  804K    0K lockf    0:01  0.00%  0.00% <sendmail>
13165 root      18    0  800K    0K lockf    0:01  0.00%  0.00% <sendmail>
14161 root      18    0  792K    0K lockf    0:00  0.00%  0.00% <sendmail>
 4790 root      18    0  792K    0K lockf    0:00  0.00%  0.00% <sendmail>
13448 root      18    0  784K    0K lockf    0:01  0.00%  0.00% <sendmail>
13249 root      18    0  784K    0K lockf    0:01  0.00%  0.00% <sendmail>

partial listing

ps -ax :

  104  ??  Is     0:40.28 sendmail: accepting connections (sendmail)
 4790  ??  IW     0:00.67 sendmail: QAA04145 cls.dk.: user open (sendmail)
 7380  ??  IW     0:01.31 sendmail: QAA05510 ic2.internetcafe.fr.: user
open (s
10555  ??  IW     0:01.41 sendmail: RAA07984 mateo.elo.utfsm.cl.: client
DATA 2
12049  ??  IW     0:00.89 sendmail: RAA10829
reality.cyber-distributors.com.: u
12156  ??  IW     0:00.76 sendmail: RAA11862 mailgw3.swip.net.: client DATA
250
12262  ??  IW     0:00.27 sendmail: running queue: /var/spool/mqueue
(sendmail)
12371  ??  IW     0:00.26 sendmail: running queue: /var/spool/mqueue
(sendmail)
12455  ??  IW     0:00.26 sendmail: running queue: /var/spool/mqueue
(sendmail)
12526  ??  IW     0:00.26 sendmail: running queue: /var/spool/mqueue
(sendmail)
12576  ??  IW     0:00.27 sendmail: running queue: /var/spool/mqueue
(sendmail)
12638  ??  IW     0:00.27 sendmail: running queue: /var/spool/mqueue
(sendmail)
12707  ??  IW     0:00.27 sendmail: running queue: /var/spool/mqueue
(sendmail)
12769  ??  IW     0:00.18 sendmail: running queue: /var/spool/mqueue
(sendmail)
12850  ??  IW     0:02.44 sendmail: SAA07769 mail.hotmail.com.: client RCPT
(se
12958  ??  IW     0:00.23 sendmail: SAA07748 mail.hotmail.com.: client RCPT
(se
13027  ??  IW     0:00.15 sendmail: running queue: /var/spool/mqueue
(sendmail)
13089  ??  IW     0:01.89 sendmail: UAA02981 mail.regulus.net.: client RCPT
(se
13165  ??  IW     0:01.17 sendmail: UAB02987 mail.regulus.net.: client RCPT
(se
13249  ??  IW     0:01.08 sendmail: FAA01311 zignzag.zignzag.com.: client
RCPT
13387  ??  IW     0:01.18 sendmail: FAA01328 zignzag.zignzag.com.: client
RCPT
13448  ??  IW     0:01.07 sendmail: FAA01337 zignzag.zignzag.com.: client
RCPT
13506  ??  IW     0:01.05 sendmail: FAA01345 zignzag.zignzag.com.: client
RCPT
13552  ??  IW     0:01.02 sendmail: FAA01353 zignzag.zignzag.com.: user
open (s

partial listing

  Also, these processes will not expire until a system shutdown is
performed. Any clues
into the cause and cure of this would be greatly appreciated as this seems
to limit Sendmail's
abiltiy to handle new SMTP connections.

Thanks in Advance :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709042101.RAA24004>