List Info

Thread: (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out of available locker entr




Re: (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out of available locker
user name
2008-03-10 13:20:27
amavis-user-bounceslists.sourceforge.net wrote on 03/10/2008
08:07:16 AM:

> On Friday 07 March 2008 17:25, Luis Daniel Lucio Quiroz
wrote:
> > Does anybody has any way to fix this,  this is
common now at my 
server:
> >
> > (!!)TROUBLE in child_init_hook: BDB no dbS: Lock
table is out of 
available
> > locker entries, . at (eval 38) line 30.
> 
> FYI:
> After an upgrade of BerkeleyDB (perl modul) from 0.26
to 0.33 I get the 
same 
> errors. 

I'm experiencing this issue as well.  It started cropping up
back in 
January and typically would choke the email server each
weekend.  I'd come 
back on Mondays and restart the amavisd-new daemon and it'd
run fine for a 
while longer and then would bomb out again (typically a few
days later - 
and almost any Friday that it was left running it would
almost always 
crash).   At the time I updated virtually everything that I
could figure 
touched the email components of the system - all Perl
modules, BerkeleyDB, 
amavisd-new, etc.

One thing that did seem to help for a while was moving my
pre-forked 
process count from 2 to 5.  After doing that the issue went
away for 
roughly a month, but it happened again this weekend. 
Updated amavisd-new 
again and moved the process count up to 6.

I'm also crafting up a Perl script that checks the mail
queue volume and 
once it passes 500 messages (which is excessive for our
system - when 
working properly it rarely passes 30 messages in queue) it
will restart 
the amavisd-new daemon (limited to 1 restart per day
though). 

I'm running on Gentoo 2007.0 Server.

Mike Gaskins
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out of available locker
country flaguser name
Germany
2008-03-12 11:59:32
Hello list,

I still try to figure out what happened with my server. Now
it is running with 
amavisd-new 2.5.4rc1 (20080307) and Spamassassin 3.2.2.

After I run amavisd-nanny, I got this:

PID 19494:             terminated   3:07:17
.........:.........:.........:....
PID 19494: sending SIGKILL in 29 s
PID 19494:             successfully killed

The process terminated, does that mean it crashed?

I posted the debug output from this process here:
http://de.pastebin.ca/93
9846

Greetings Stefan


On Monday 10 March 2008 16:07, Stefan Jakobs wrote:
> On Monday 10 March 2008 14:40, Mark Martinec wrote:
> > Stefan,
> >
> > > On Friday 07 March 2008 17:25, Luis Daniel
Lucio Quiroz wrote:
> > > > Does anybody has any way to fix this, 
this is common now at my
> > > > server: (!!)TROUBLE in child_init_hook:
BDB no dbS: Lock table is out
> > > > of available locker entries, . at (eval
38) line 30.
> > >
> > > FYI:
> > > After an upgrade of BerkeleyDB (perl modul)
from 0.26 to 0.33 I get the
> > > same errors.
> >
> > A version of BerkeleyDB perl module is rarely a
problem, as long as
> > it was installed with the same version of libdb
(berkeley db library)
> > that is currently on the system (i.e. the
BerkeleyDB perl module should
> > preferably be reinstalled after upgrades to
libdb).
>
> I upgraded only the BDB Perl Modul not the libdb.
>
> > But first of all, you need to rule out the
possibility that
> >
> > there were any process crashes. To repeat myself:
> > | Does amavisd-nanny report any crashed processes
('went away...') ?
> > | If yes, the fix is to upgrade amavisd to
2.5.4-rc1 (or manually
> > | apply a fix to 2.5.3 I posted about a week
ago).
>
> Yes, it did. And I installed the new amavisd version
after I realised the
> errors.
> I have four equal configured servers and on one of them
I upgraded a couple
> of Perl modules. And only that server showed the
errors. That's why I
> thought it may be related to the BDB Perl Modul
upgrade.
>
> > | If the answer is no, then see the posting on the
matter from a
> > | last week or two on this ML. In short, using
recent maintenance
> > | versions of berkeley db (4.3.29 or 4.4.20, or
later) may help.
> >
> >   Mark
>
> Greetings
> Stefan

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out of available locker
country flaguser name
Slovenia
2008-03-12 12:49:45
Stefan,

> I still try to figure out what happened with my server.
Now it is running
> with amavisd-new 2.5.4rc1 (20080307) and Spamassassin
3.2.2.

Good.

> After I run amavisd-nanny, I got this:
>
> PID 19494:             terminated   3:07:17
> .........:.........:.........:.... PID 19494: sending
SIGKILL in 29 s
> PID 19494:             successfully killed
>
> The process terminated, does that mean it crashed?
>
> I posted the debug output from this process here:
> http://de.pastebin.ca/93
9846

Everything is normal 

The process didn't crash, it was terminated by nanny, 'just
in case'.

amavisd-nanny would kill a *busy* process after $activettl
seconds,
which is 10 minutes by default.

amavisd-nanny would kill an *idle* process after $idlettl
seconds,
which is 3 hours by default. If the mail traffic is really
low
and this process really didn't process any mail in the last
three
hours this may happen - in which case this is just an
unnecessary
kill, a new child will be created right away. The only
reason for
killing a long lasting idle process is a precaution -
perhaps it
was idle for so long because of some unknown/unexplicable
problem
(although this never happened so far).

If a process would crash, nanny would report a 'went away'.

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out of available locker
user name
2008-03-18 18:02:43
Thanks

updated

Le Friday 07 March 2008 14:11:45 Mark Martinec, vous avez
écrit :
> Luis Daniel,
>
> > where is 2.5.4-rc1, there is not a homepage
>
> On a home page, under 'News' section:
>   http://www.ijs.si
/software/amavisd/
>
> Mark
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-userlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user

> AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/ho
wto/



------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-10] [11-14]

about | contact  Other archives ( Real Estate discussion Medical topics )