From: Thomas V. <th...@bs...> - 2007-06-14 01:15:03
|
Hi Today I got: Jun 13 07:12:31 mail03 amavis[59855]: (!!)TROUBLE in child_init_hook: BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) line 30. Jun 13 07:12:31 mail03 amavis[59855]: (!)_DIE: Suicide in child_init_hook: BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) line 30.\n I never have seen anything like this. Is this a bug? I don't know if i can reproduce this problem again. restarting of amavis fixed the issue. It's FreeBSD 5.5 with amavisd-new 2.5.1 Regards, Thomas -- "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie |
From: Thomas V. <th...@bs...> - 2007-06-14 01:24:14
|
Hi Ops sorry, forget about it. I didn't see the thread about this issue in the archive. I will try the tips from the FAQ. I have /var/amavis/db/; BerkeleyDB 0.31, libdb 4.3 and sorry. Regards, Thomas Thomas Vogt wrote: > Hi > > Today I got: > Jun 13 07:12:31 mail03 amavis[59855]: (!!)TROUBLE in child_init_hook: > BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) line 30. > Jun 13 07:12:31 mail03 amavis[59855]: (!)_DIE: Suicide in > child_init_hook: BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) > line 30.\n > > I never have seen anything like this. Is this a bug? I don't know if i > can reproduce this problem again. restarting of amavis fixed the issue. > > It's FreeBSD 5.5 with amavisd-new 2.5.1 > > Regards, > Thomas -- "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie |
From: Mark M. <Mar...@ij...> - 2007-06-14 10:31:51
|
Thomas, > I have /var/amavis/db/; BerkeleyDB 0.31, libdb 4.3 > It's FreeBSD 5.5 with amavisd-new 2.5.1 > > Jun 13 07:12:31 mail03 amavis[59855]: (!!)TROUBLE in child_init_hook: > > BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) line 30. > > Jun 13 07:12:31 mail03 amavis[59855]: (!)_DIE: Suicide in > > child_init_hook: BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) > > line 30. > I didn't see the thread about this issue in > the archive. I will try the tips from the FAQ. These tips mostly apply to older versions of libdb, so perhaps what you are seeing is something new with a berkeley db. I have seen some weird things happening to a bdb database out of the blue (on a rare occasion, libdb 4.4), such as: (!!)TROUBLE in child_init_hook: BDB can't connect db env. at /var/amavis/var/db/amavis: No such file or directory at (eval 62) line 309. (even though files there still existed) I don't know what to suggest. If the 'Unknown locker ID' occured only once so far, I'd perhaps wait and see if it happens again. Perhaps check to see if the databases/db43 is at the latest revision (4.3.29 it seems). Mark |
From: Thomas V. <th...@bs...> - 2007-06-15 22:56:37
|
Hi Mark Mark Martinec wrote: > Thomas, > >> I have /var/amavis/db/; BerkeleyDB 0.31, libdb 4.3 >> It's FreeBSD 5.5 with amavisd-new 2.5.1 > >>> Jun 13 07:12:31 mail03 amavis[59855]: (!!)TROUBLE in child_init_hook: >>> BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) line 30. >>> Jun 13 07:12:31 mail03 amavis[59855]: (!)_DIE: Suicide in >>> child_init_hook: BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) >>> line 30. > >> I didn't see the thread about this issue in >> the archive. I will try the tips from the FAQ. > > These tips mostly apply to older versions of libdb, so perhaps > what you are seeing is something new with a berkeley db. > > I have seen some weird things happening to a bdb database > out of the blue (on a rare occasion, libdb 4.4), such as: > > (!!)TROUBLE in child_init_hook: BDB can't connect db env. > at /var/amavis/var/db/amavis: No such file or directory > at (eval 62) line 309. > (even though files there still existed) > > I don't know what to suggest. If the 'Unknown locker ID' > occured only once so far, I'd perhaps wait and see if it > happens again. Perhaps check to see if the databases/db43 > is at the latest revision (4.3.29 it seems). Now I have this issue every day on two other heavy loaded machines with db41. /var/amavis/db/; BerkeleyDB 0.31, libdb 4.1 I will update this system to db44. Perhaps the problem disappears. The third mailserver had no problem the last 2 days since I reported the issue with db4.3. Regards, Thomas |
From: Thomas V. <th...@bs...> - 2007-06-17 01:04:27
|
Hi I updated to the latest db44 but it didn't fix my issue. Still have "(!!)TROUBLE in child_init_hook: BDB no dbS: Unknown locker ID: 2198 errors. . at (eval 64) line 30". "Creating db in /var/amavis/db/; BerkeleyDB 0.31, libdb 4.4". I run everything in a ram disk but I hadn't such locking issue with 2.4.x. I run 4 mail servers, all with the same configuration and OS and nearly same hardware. But it looks that not all machines are affected in the same way. Some of them have more problems than others with this "unknown locker" problem. Now I set $db_enable=0 on the machine where I get this locking issue every few hours. I hope this fixes it. how large is the speed impact without db_enabled? Regards, Thomas Thomas Vogt wrote: > Hi Mark > > Mark Martinec wrote: >> Thomas, >> >>> I have /var/amavis/db/; BerkeleyDB 0.31, libdb 4.3 >>> It's FreeBSD 5.5 with amavisd-new 2.5.1 >>>> Jun 13 07:12:31 mail03 amavis[59855]: (!!)TROUBLE in child_init_hook: >>>> BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) line 30. >>>> Jun 13 07:12:31 mail03 amavis[59855]: (!)_DIE: Suicide in >>>> child_init_hook: BDB no dbS: Unknown locker ID: 34d6, . at (eval 62) >>>> line 30. >>> I didn't see the thread about this issue in >>> the archive. I will try the tips from the FAQ. >> These tips mostly apply to older versions of libdb, so perhaps >> what you are seeing is something new with a berkeley db. >> >> I have seen some weird things happening to a bdb database >> out of the blue (on a rare occasion, libdb 4.4), such as: >> >> (!!)TROUBLE in child_init_hook: BDB can't connect db env. >> at /var/amavis/var/db/amavis: No such file or directory >> at (eval 62) line 309. >> (even though files there still existed) >> >> I don't know what to suggest. If the 'Unknown locker ID' >> occured only once so far, I'd perhaps wait and see if it >> happens again. Perhaps check to see if the databases/db43 >> is at the latest revision (4.3.29 it seems). > > > Now I have this issue every day on two other heavy loaded machines with > db41. /var/amavis/db/; BerkeleyDB 0.31, libdb 4.1 > > I will update this system to db44. Perhaps the problem disappears. The > third mailserver had no problem the last 2 days since I reported the > issue with db4.3. > > Regards, > Thomas > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > AMaViS-user mailing list > AMa...@li... > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ -- "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie |
From: Mark M. <Mar...@ij...> - 2007-06-17 14:34:38
|
Thomas, > I updated to the latest db44 but it didn't fix my issue. Still have > "(!!)TROUBLE in child_init_hook: BDB no dbS: Unknown locker ID: 2198 > errors. . at (eval 64) line 30". > > "Creating db in /var/amavis/db/; BerkeleyDB 0.31, libdb 4.4". I run > everything in a ram disk but I hadn't such locking issue with 2.4.x. I don't think there were any changes between 2.4.x and 2.5.x as far as bdb is concerned. Could be a coincidence. > I run 4 mail servers, all with the same configuration and OS and nearly > same hardware. But it looks that not all machines are affected in the > same way. Some of them have more problems than others with this "unknown > locker" problem. > > Now I set $db_enable=0 on the machine where I get this locking issue > every few hours. I hope this fixes it. how large is the speed impact > without db_enabled? Speed impact is not much, mainly you lose amavisd-nanny health-checking ability, and statistics counters as reported by amavisd-agent. Mark |