Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 11:14:14 -0700 (PDT)
From:      <keith@mail.telestream.com>
To:        Fernando Schapachnik <fpscha@via-net-works.net.ar>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Weird locking issue with makemap, sendmail on a 4.1-R SMP.
Message-ID:  <Pine.LNX.4.10.10009151107040.8540-100000@mail.telestream.com>
In-Reply-To: <200009151807.PAA04793@ns1.via-net-works.net.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
Any time I have ever had problems with access.db's aliases etc etc.. It
was always the same thing. A problem in sendmail/makemap
Usualy getting makemap to the proper version solved it. Also running
sendmail -bi to remake the alias.db
I would check the date and versions of makemap and sendmail to see if they
are the same.=20

Keith


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
Keith W.
At the helm <for better or worse>

My non work related site
www.cydonia.net
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D


On Fri, 15 Sep 2000, Fernando Schapachnik wrote:

> Hello:
> =09I'm having a weird problem with my SMP 4.1-RELEASE mail server:
>=20
> CPU: Pentium III/Pentium III Xeon/Celeron (731.02-MHz 686-class CPU)
>   Origin =3D "GenuineIntel"  Id =3D 0x683  Stepping =3D 3
>   Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P=
GE,MCA
> ,CMOV,PAT,PSE36,MMX,FXSR,XMM>
> real memory  =3D 536854528 (524272K bytes)
>=20
> =09First thing I noticed was that newaliases was getting hung.
> Further investigation showed the problem was
> ~majordom/aliases.majordom.db
>=20
> =09Running makemap hash ~majordom/aliases.majordom.db <
> ~majordom/aliases.majordom.db hunged also.
>=20
> =09A fstat showed only sendmail has this file open, and for
> reading only.
>=20
> =09A ktrace shows:
>  [...]
>  87185 makemap  CALL  open(0xbfbff658,0x622,0x1a4)
>  87185 makemap  NAMI  "aliases.majordomo.db"
>  [a lot of time... sent kill]
>  87185 makemap  PSIG  SIGINT SIG_DFL
>=20
> =09aliases.majordom.db ends with 0 bytes. Removing the file
> solves the problem.
>=20
> =09Sometimes same thing happens with virtusertable and similar
> aliases-related files.
>=20
> =09Today I the same happened with access.db. Lsof showed
> sendmail 52975 root 7rR VREG 109,196608 0 35980 /etc/mail/access.db
>=20
> =09which means sendmail has the whole file locked for reading.
>=20
> =09Doing a ps -axl shows lockfs state and a sleeping process
> (waiting for a lock, I guess).
>=20
> =09Any ideas? Thanks in advance!
>=20
>=20
>=20
> Fernando P. Schapachnik
> Administraci=F3n de la red
> VIA NET.WORKS ARGENTINA S.A.
> fernando@via-net-works.net.ar
> (54-11) 4323-3333
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>=20



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?Pine.LNX.4.10.10009151107040.8540-100000>