Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

Help on new ZDB system

 

 

First page Previous page 1 2 3 Next page Last page  View All DBMail users RSS feed   Index | Next | Previous | View Threaded


mysql.jorge at decimal

Oct 28, 2008, 7:12 AM

Post #1 of 58 (3931 views)
Permalink
Help on new ZDB system

Paul,
I was trying to install the last trunk svn, and i have this? What does he
want?
I've looked at the dbmail.conf from the trunk and I don't see nothing
different from what I already have that is:

---
driver=mysql
authdriver=sql
---

---
Failed to start connection pool -- no host specified in URL


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 28, 2008, 7:12 AM

Post #2 of 58 (3843 views)
Permalink
RE: Help on new ZDB system [In reply to]

Forgot this:

---

# Database settings
host= # host for database, set to localhost if database is
om
# the same host as dbmail and you want to use a
local socket
# for connecting.
sqlport= # if you want to use TCP/IP for connecting to the
database,
# and have the database running on a non-standard
port.
sqlsocket=/var/run/mysqld/mysqld.sock

---


-----Original Message-----
From: Jorge Bastos [mailto:mysql.jorge [at] decimal]
Sent: terça-feira, 28 de Outubro de 2008 14:12
To: 'DBMail mailinglist'
Subject: Help on new ZDB system

Paul,
I was trying to install the last trunk svn, and i have this? What does he
want?
I’ve looked at the dbmail.conf from the trunk and I don’t see nothing
different from what I already have that is:

---
driver=mysql
authdriver=sql
---

---
Failed to start connection pool -- no host specified in URL


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


jesse at kci

Oct 28, 2008, 7:28 AM

Post #3 of 58 (3842 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

> # Database settings
> host= # host for database, set to localhost if database is
> om
> # the same host as dbmail and you want to use a
> local socket
> # for connecting.
> sqlport= # if you want to use TCP/IP for connecting to the
> database,
> # and have the database running on a non-standard
> port.
> sqlsocket=/var/run/mysqld/mysqld.sock

<...>

> Failed to start connection pool -- no host specified in URL


Just a guess, but have you tried setting host=localhost like the
comments say to do?


--
Jesse Norell
Kentec Communications, Inc.
jesse [at] kci
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 28, 2008, 7:55 AM

Post #4 of 58 (3836 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

Jesse Norell wrote:
>> # Database settings
>> host= # host for database, set to localhost if database is
>> om
>> # the same host as dbmail and you want to use a
>> local socket
>> # for connecting.
>> sqlport= # if you want to use TCP/IP for connecting to the
>> database,
>> # and have the database running on a non-standard
>> port.
>> sqlsocket=/var/run/mysqld/mysqld.sock
>
> <...>
>
>> Failed to start connection pool -- no host specified in URL
>
>
> Just a guess, but have you tried setting host=localhost like the
> comments say to do?

Indeed.

We'll switch to DSN uris in time, but for now plz specify the host.




--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 28, 2008, 7:57 AM

Post #5 of 58 (3843 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

> Just a guess, but have you tried setting host=localhost like the
> comments say to do?
>

No :P

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 28, 2008, 7:58 AM

Post #6 of 58 (3841 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

> >> Failed to start connection pool -- no host specified in URL
> >
> >
> > Just a guess, but have you tried setting host=localhost like the
> > comments say to do?
>
> Indeed.
>
> We'll switch to DSN uris in time, but for now plz specify the host.
>

You're the boss!!

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 28, 2008, 8:10 AM

Post #7 of 58 (3834 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

Ok working but,
The first thing i did was to delete a message from my imap account, and it
hanged.
Going to try to debug this later tonight.


> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Jorge Bastos
> Sent: terça-feira, 28 de Outubro de 2008 14:58
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] RE: Help on new ZDB system
>
> > >> Failed to start connection pool -- no host specified in URL
> > >
> > >
> > > Just a guess, but have you tried setting host=localhost like the
> > > comments say to do?
> >
> > Indeed.
> >
> > We'll switch to DSN uris in time, but for now plz specify the host.
> >
>
> You're the boss!!
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 28, 2008, 2:25 PM

Post #8 of 58 (3826 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

Paul,
Something's not right.
It takes a lot to do simple things like retrieve a 4kb message, delete it.
I don't see on the logs errors.
Any ideia?


> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Jorge Bastos
> Sent: terça-feira, 28 de Outubro de 2008 15:11
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] RE: Help on new ZDB system
>
> Ok working but,
> The first thing i did was to delete a message from my imap account, and
> it
> hanged.
> Going to try to debug this later tonight.
>
>
> > -----Original Message-----
> > From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> > Behalf Of Jorge Bastos
> > Sent: terça-feira, 28 de Outubro de 2008 14:58
> > To: 'DBMail mailinglist'
> > Subject: RE: [Dbmail] RE: Help on new ZDB system
> >
> > > >> Failed to start connection pool -- no host specified in URL
> > > >
> > > >
> > > > Just a guess, but have you tried setting host=localhost like
> the
> > > > comments say to do?
> > >
> > > Indeed.
> > >
> > > We'll switch to DSN uris in time, but for now plz specify the host.
> > >
> >
> > You're the boss!!
> >
> > _______________________________________________
> > DBmail mailing list
> > DBmail [at] dbmail
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 29, 2008, 12:55 AM

Post #9 of 58 (3824 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

Jorge Bastos wrote:
> Paul,
> Something's not right.
> It takes a lot to do simple things like retrieve a 4kb message, delete it.
> I don't see on the logs errors.
> Any ideia?

Not without logs.

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 29, 2008, 12:58 AM

Post #10 of 58 (3814 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

One idea. Try disabling IDLE in dbmail.conf. Thunderbird chokes on it at
the moment. Perhaps Outlook has the same problem.



Paul Stevens wrote:
> Jorge Bastos wrote:
>> Paul,
>> Something's not right.
>> It takes a lot to do simple things like retrieve a 4kb message, delete
>> it.
>> I don't see on the logs errors.
>> Any ideia?
>
> Not without logs.
>


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 29, 2008, 2:11 AM

Post #11 of 58 (3818 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE CHILDREN
SORT QUOTA THREAD=
ORDEREDSUBJECT UNSELECT IDLE

To

capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE CHILDREN
SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT

correct?



> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Paul Stevens
> Sent: quarta-feira, 29 de Outubro de 2008 7:58
> To: DBMail mailinglist
> Subject: Re: [Dbmail] RE: Help on new ZDB system
>
> One idea. Try disabling IDLE in dbmail.conf. Thunderbird chokes on it
> at
> the moment. Perhaps Outlook has the same problem.
>
>
>
> Paul Stevens wrote:
> > Jorge Bastos wrote:
> >> Paul,
> >> Something's not right.
> >> It takes a lot to do simple things like retrieve a 4kb message,
> delete
> >> it.
> >> I don't see on the logs errors.
> >> Any ideia?
> >
> > Not without logs.
> >
>
>
> --
> ________________________________________________________________
> Paul Stevens paul at nfg.nl
> NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
> The Netherlands________________________________http://www.nfg.nl
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 29, 2008, 8:48 AM

Post #12 of 58 (3831 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

Paul,
Yap, disabled IDLE and wow, it's about 3 times faster with this new ZDB
system!
Fantastic.
So it's the same thing that is bugging thunderbird, happens in outlook 2007
at least, and probably in other outlook family's.
Are you working in this IDLE thing?



> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Jorge Bastos
> Sent: quarta-feira, 29 de Outubro de 2008 9:12
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] RE: Help on new ZDB system
>
> capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE
> CHILDREN
> SORT QUOTA THREAD=
> ORDEREDSUBJECT UNSELECT IDLE
>
> To
>
> capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE
> CHILDREN
> SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT
>
> correct?
>
>
>
> > -----Original Message-----
> > From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> > Behalf Of Paul Stevens
> > Sent: quarta-feira, 29 de Outubro de 2008 7:58
> > To: DBMail mailinglist
> > Subject: Re: [Dbmail] RE: Help on new ZDB system
> >
> > One idea. Try disabling IDLE in dbmail.conf. Thunderbird chokes on it
> > at
> > the moment. Perhaps Outlook has the same problem.
> >
> >
> >
> > Paul Stevens wrote:
> > > Jorge Bastos wrote:
> > >> Paul,
> > >> Something's not right.
> > >> It takes a lot to do simple things like retrieve a 4kb message,
> > delete
> > >> it.
> > >> I don't see on the logs errors.
> > >> Any ideia?
> > >
> > > Not without logs.
> > >
> >
> >
> > --
> > ________________________________________________________________
> > Paul Stevens paul at nfg.nl
> > NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
> > The Netherlands________________________________http://www.nfg.nl
> > _______________________________________________
> > DBmail mailing list
> > DBmail [at] dbmail
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 3:12 AM

Post #13 of 58 (3798 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

Outlook with IDLE disabled seems to work OK too.
I haven't tested it fully but will do more in the weekend and let you know.



> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Paul J Stevens
> Sent: quinta-feira, 30 de Outubro de 2008 10:14
> To: DBMail mailinglist
> Subject: Re: [Dbmail] RE: Help on new ZDB system
>
> Jorge Bastos wrote:
> > Paul,
> > Yap, disabled IDLE and wow, it's about 3 times faster with this new
> ZDB
> > system!
> > Fantastic.
> > So it's the same thing that is bugging thunderbird, happens in
> outlook 2007
> > at least, and probably in other outlook family's.
> > Are you working in this IDLE thing?
>
> It works for TB now. Please test Outlook.
>
> --
> ________________________________________________________________
> Paul Stevens paul at nfg.nl
> NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
> The Netherlands________________________________http://www.nfg.nl
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 30, 2008, 3:13 AM

Post #14 of 58 (3802 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

Jorge Bastos wrote:
> Paul,
> Yap, disabled IDLE and wow, it's about 3 times faster with this new ZDB
> system!
> Fantastic.
> So it's the same thing that is bugging thunderbird, happens in outlook 2007
> at least, and probably in other outlook family's.
> Are you working in this IDLE thing?

It works for TB now. Please test Outlook.

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 30, 2008, 3:23 AM

Post #15 of 58 (3804 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

Jorge Bastos wrote:
> Outlook with IDLE disabled seems to work OK too.
> I haven't tested it fully but will do more in the weekend and let you know.

I meant: the IDLE problem is now fixed. Please test Outlook with IDLE
enabled.

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 3:46 AM

Post #16 of 58 (3804 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

>
> I meant: the IDLE problem is now fixed. Please test Outlook with IDLE
> enabled.


Ops sorry, read it wrong. Ok going to test and let you know.


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 3:58 AM

Post #17 of 58 (3801 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

Well Paul,
There's something for you, in about 10m it happened:
---
Oct 30 10:58:35 lira dbmail/imap4d[2528]: [0x9543498] EMERGENCY:[db]
db_con_get(+234): can't get a database connection from the pool!
---


> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Jorge Bastos
> Sent: quinta-feira, 30 de Outubro de 2008 10:46
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] RE: Help on new ZDB system
>
> >
> > I meant: the IDLE problem is now fixed. Please test Outlook with IDLE
> > enabled.
>
>
> Ops sorry, read it wrong. Ok going to test and let you know.
>
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 4:05 AM

Post #18 of 58 (3800 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

Any ideia how to debug it more?
When the error about cannot get a connection from pool happens, the server
dies.


MySQL Max is:
---
set-variable = max_connections=1000
---

And a show processlist; show's me 33connections being used.

My dbmail.conf:

# $Id: dbmail.conf 1539 2004-12-27 21:41:07Z paul $
# (c) 2000-2002 IC&S, The Netherlands
#
# Configuration file for DBMAIL
# This configuration file needs to be run through dbmail-config to be
effective
# after that, changes are effective inmediatly


[DBMAIL]


#
# Logging via stderr/log file and syslog
#
# Logging is broken up into 8 logging levels and each level can be
indivually turned on or off.
# The Stderr/log file logs all entries to stderr or the log file.
# Syslog logging uses the facility mail and the logging level of the event
for logging.
# Syslog can then be configured to log data according to the levels.
#
# Set the log level to the sum of the values next to the levels you want to
record.
# 1 = Emergency
# 2 = Alert
# 4 = Critical
# 8 = Error
# 16 = Warning
# 32 = Notice
# 64 = Info
# 128 = Debug
#
# Examples: 0 = Nothing
# 31 = Emergency + Alert + Critical + Error + Warning
# 255 = Everything
#
FILE_LOGGING_LEVELS = 7
#
SYSLOG_LOGGING_LEVELS = 31


#TRACE_STDERR = 5

# path to find library directory
library_directory = /usr/local/lib/dbmail


# If you set this to 'yes' dbmail will check for duplicate
# messages in the relevant mailbox during delivery using
# the Message-ID header
#
suppress_duplicates = yes
# SHA1 / SHA256 / TIGER
hash_algorithm = SHA1
#
# Idle time allowed before a connection is shut off if you have not logged
in yet.
#
login_timeout = 60


driver=mysql
authdriver=sql
# Database settings
host=localhost # host for database, set to localhost if
database is om
# the same host as dbmail and you want to use a
local socket
# for connecting.
sqlport= # if you want to use TCP/IP for connecting to the
database,
# and have the database running on a non-standard
port.
sqlsocket=/var/run/mysqld/mysqld.sock # when using a local
socket connection to the database, fill
# in the path to the socket here (e.g.
/var/run/mysql.sock)
user=myuser # user to connect as to database
pass=mypwd # password for user to database
db=postfix # name of database
#table_prefix=dbmail_ # Table prefix. Defaults to "dbmail_" if not
specified.
#encoding=latin1 # MySQL connection encoding must match to table
encoding.
POSTMASTER=decimal [at] decimal # postmaster's email address.
SENDMAIL=/usr/sbin/sendmail # sendmail executable
# trace level for dbmail-util
#TRACE_LEVEL=2


encoding = utf8
default_msg_encoding = utf8

[SMTP]
SENDMAIL=/usr/sbin/sendmail # sendmail executable for forwarding mail
AUTO_NOTIFY=no
AUTO_REPLY=no
TRACE_LEVEL=1

[LMTP]
EFFECTIVE_USER=nobody # the user that dbmail-lmtpd will run as
(need to be root to bind to a port<1024)
EFFECTIVE_GROUP=nogroup # the group that dbmail-lmtpd will run as
BINDIP=* # the ipaddress the dbmail-lmtpd server has to
bind
# to, * for all adresses. Use 127.0.0.1 to only
# bind to localhost.
PORT=24 # the port number the dbmail-lmtpd server
has to bind to.
NCHILDREN=20 # default number of LMTP handlers (each is
a process)
MAXCHILDREN=20 # max. number of LMTP handlers
MINSPARECHILDREN=15
MAXSPARECHILDREN=15
MAXCONNECTS=10000 # the maximum number of connections a
default childs makes
TIMEOUT=300 # the time (s) before the dbmail-lmtpd
should shutdown a connection which is being idle.
RESOLVE_IP=no # if yes, the lmtp daemon resolves IP
numbers to DNS names in the log
#TRACE_LEVEL=2
MAX_ERRORS=500

[POP]
EFFECTIVE_USER=nobody # the user that dbmail-pop3d will run as
(need to be root to bind to a port<1024)
EFFECTIVE_GROUP=nogroup # the group that dbmail-pop3d will run as
BINDIP=* # the ipaddress the dbmail-pop3d server
has to bind to, * for all addresses
PORT=110 # the port number the dbmail-pop3d server
has to bind to.
NCHILDREN=30 # default number of POP3 handlers (each is
a process)
MAXCHILDREN=50 # mac. number of POP3 handlers
MINSPARECHILDREN=20
MAXSPARECHILDREN=20
MAXCONNECTS=10000 # the maximum number of connections a
default childs makes
TIMEOUT=600 # the time (s) before the dbmail-pop3d
should shutdown a connection which is being idle.
RESOLVE_IP=no # if yes, the pop daemon resolves IP
numbers to DNS names in the log
POP_BEFORE_SMTP=yes
#TRACE_LEVEL=2
banner = Decimal Informatica e Gestao, Lda <-> POP3 Server

[IMAP]
EFFECTIVE_USER=nobody
EFFECTIVE_GROUP=nogroup
BINDIP=*
PORT=143
NCHILDREN=30
MAXCHILDREN=40 # mac. number of IMAPD handlers
MINSPARECHILDREN=20
MAXSPARECHILDREN=20
MAXCONNECTS=10000 # the maximum number of connections a
default childs makes
TIMEOUT=400 # tava 300, hoje tinha 40000 # the time
(s) before the dbmail-imapd should shutdown a connection which is being
idle.
RESOLVE_IP=no # if yes, the imap daemon resolves IP
numbers to DNS names in the log
IMAP_BEFORE_SMTP=no
#TRACE_LEVEL=2
idle_timeout = 120
#capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE CHILDREN
SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE


[SIEVE]
EFFECTIVE_USER=nobody # Root privs are used to open a port, then privs
EFFECTIVE_GROUP=nogroup # are dropped down to the user/group specified
here.

#BINDIP=192.168.1.222
BINDIP=*
PORT=2000 # Port to bind to.
NCHILDREN=10
MAXCONNECTS=1000
MAXCHILDREN=10
MINSPARECHILDREN=2
MAXSPARECHILDREN=4
#TRACE_LEVEL=2

[DELIVERY]
SIEVE=yes
SIEVE_VACATION=yes


# end of configuration file


> -----Original Message-----
> From: Jorge Bastos [mailto:mysql.jorge [at] decimal]
> Sent: quinta-feira, 30 de Outubro de 2008 10:58
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] RE: Help on new ZDB system
>
> Well Paul,
> There's something for you, in about 10m it happened:
> ---
> Oct 30 10:58:35 lira dbmail/imap4d[2528]: [0x9543498] EMERGENCY:[db]
> db_con_get(+234): can't get a database connection from the pool!
> ---
>
>
> > -----Original Message-----
> > From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> > Behalf Of Jorge Bastos
> > Sent: quinta-feira, 30 de Outubro de 2008 10:46
> > To: 'DBMail mailinglist'
> > Subject: RE: [Dbmail] RE: Help on new ZDB system
> >
> > >
> > > I meant: the IDLE problem is now fixed. Please test Outlook with
> IDLE
> > > enabled.
> >
> >
> > Ops sorry, read it wrong. Ok going to test and let you know.
> >
> >
> > _______________________________________________
> > DBmail mailing list
> > DBmail [at] dbmail
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 4:15 AM

Post #19 of 58 (3797 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Jorge Bastos
> Sent: quinta-feira, 30 de Outubro de 2008 11:06
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] RE: Help on new ZDB system
>
> Any ideia how to debug it more?
> When the error about cannot get a connection from pool happens, the
> server
> dies.
>


Ah, it's not just imapd that dies, lmtpd too.

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 30, 2008, 4:34 AM

Post #20 of 58 (3798 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

Jorge,

Please update again. And set max_db_connections in your dbmail.conf

Install GIT on your development server because svn will no longer be
updated as of today.



Jorge Bastos wrote:
> Any ideia how to debug it more?
> When the error about cannot get a connection from pool happens, the server
> dies.
>
>
> MySQL Max is:
> ---
> set-variable = max_connections=1000
> ---
>
> And a show processlist; show's me 33connections being used.
>
> My dbmail.conf:
>
> # $Id: dbmail.conf 1539 2004-12-27 21:41:07Z paul $
> # (c) 2000-2002 IC&S, The Netherlands
> #
> # Configuration file for DBMAIL
> # This configuration file needs to be run through dbmail-config to be
> effective
> # after that, changes are effective inmediatly
>
>
> [DBMAIL]
>
>
> #
> # Logging via stderr/log file and syslog
> #
> # Logging is broken up into 8 logging levels and each level can be
> indivually turned on or off.
> # The Stderr/log file logs all entries to stderr or the log file.
> # Syslog logging uses the facility mail and the logging level of the event
> for logging.
> # Syslog can then be configured to log data according to the levels.
> #
> # Set the log level to the sum of the values next to the levels you want to
> record.
> # 1 = Emergency
> # 2 = Alert
> # 4 = Critical
> # 8 = Error
> # 16 = Warning
> # 32 = Notice
> # 64 = Info
> # 128 = Debug
> #
> # Examples: 0 = Nothing
> # 31 = Emergency + Alert + Critical + Error + Warning
> # 255 = Everything
> #
> FILE_LOGGING_LEVELS = 7
> #
> SYSLOG_LOGGING_LEVELS = 31
>
>
> #TRACE_STDERR = 5
>
> # path to find library directory
> library_directory = /usr/local/lib/dbmail
>
>
> # If you set this to 'yes' dbmail will check for duplicate
> # messages in the relevant mailbox during delivery using
> # the Message-ID header
> #
> suppress_duplicates = yes
> # SHA1 / SHA256 / TIGER
> hash_algorithm = SHA1
> #
> # Idle time allowed before a connection is shut off if you have not logged
> in yet.
> #
> login_timeout = 60
>
>
> driver=mysql
> authdriver=sql
> # Database settings
> host=localhost # host for database, set to localhost if
> database is om
> # the same host as dbmail and you want to use a
> local socket
> # for connecting.
> sqlport= # if you want to use TCP/IP for connecting to the
> database,
> # and have the database running on a non-standard
> port.
> sqlsocket=/var/run/mysqld/mysqld.sock # when using a local
> socket connection to the database, fill
> # in the path to the socket here (e.g.
> /var/run/mysql.sock)
> user=myuser # user to connect as to database
> pass=mypwd # password for user to database
> db=postfix # name of database
> #table_prefix=dbmail_ # Table prefix. Defaults to "dbmail_" if not
> specified.
> #encoding=latin1 # MySQL connection encoding must match to table
> encoding.
> POSTMASTER=decimal [at] decimal # postmaster's email address.
> SENDMAIL=/usr/sbin/sendmail # sendmail executable
> # trace level for dbmail-util
> #TRACE_LEVEL=2
>
>
> encoding = utf8
> default_msg_encoding = utf8
>
> [SMTP]
> SENDMAIL=/usr/sbin/sendmail # sendmail executable for forwarding mail
> AUTO_NOTIFY=no
> AUTO_REPLY=no
> TRACE_LEVEL=1
>
> [LMTP]
> EFFECTIVE_USER=nobody # the user that dbmail-lmtpd will run as
> (need to be root to bind to a port<1024)
> EFFECTIVE_GROUP=nogroup # the group that dbmail-lmtpd will run as
> BINDIP=* # the ipaddress the dbmail-lmtpd server has to
> bind
> # to, * for all adresses. Use 127.0.0.1 to only
> # bind to localhost.
> PORT=24 # the port number the dbmail-lmtpd server
> has to bind to.
> NCHILDREN=20 # default number of LMTP handlers (each is
> a process)
> MAXCHILDREN=20 # max. number of LMTP handlers
> MINSPARECHILDREN=15
> MAXSPARECHILDREN=15
> MAXCONNECTS=10000 # the maximum number of connections a
> default childs makes
> TIMEOUT=300 # the time (s) before the dbmail-lmtpd
> should shutdown a connection which is being idle.
> RESOLVE_IP=no # if yes, the lmtp daemon resolves IP
> numbers to DNS names in the log
> #TRACE_LEVEL=2
> MAX_ERRORS=500
>
> [POP]
> EFFECTIVE_USER=nobody # the user that dbmail-pop3d will run as
> (need to be root to bind to a port<1024)
> EFFECTIVE_GROUP=nogroup # the group that dbmail-pop3d will run as
> BINDIP=* # the ipaddress the dbmail-pop3d server
> has to bind to, * for all addresses
> PORT=110 # the port number the dbmail-pop3d server
> has to bind to.
> NCHILDREN=30 # default number of POP3 handlers (each is
> a process)
> MAXCHILDREN=50 # mac. number of POP3 handlers
> MINSPARECHILDREN=20
> MAXSPARECHILDREN=20
> MAXCONNECTS=10000 # the maximum number of connections a
> default childs makes
> TIMEOUT=600 # the time (s) before the dbmail-pop3d
> should shutdown a connection which is being idle.
> RESOLVE_IP=no # if yes, the pop daemon resolves IP
> numbers to DNS names in the log
> POP_BEFORE_SMTP=yes
> #TRACE_LEVEL=2
> banner = Decimal Informatica e Gestao, Lda <-> POP3 Server
>
> [IMAP]
> EFFECTIVE_USER=nobody
> EFFECTIVE_GROUP=nogroup
> BINDIP=*
> PORT=143
> NCHILDREN=30
> MAXCHILDREN=40 # mac. number of IMAPD handlers
> MINSPARECHILDREN=20
> MAXSPARECHILDREN=20
> MAXCONNECTS=10000 # the maximum number of connections a
> default childs makes
> TIMEOUT=400 # tava 300, hoje tinha 40000 # the time
> (s) before the dbmail-imapd should shutdown a connection which is being
> idle.
> RESOLVE_IP=no # if yes, the imap daemon resolves IP
> numbers to DNS names in the log
> IMAP_BEFORE_SMTP=no
> #TRACE_LEVEL=2
> idle_timeout = 120
> #capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE CHILDREN
> SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE
>
>
> [SIEVE]
> EFFECTIVE_USER=nobody # Root privs are used to open a port, then privs
> EFFECTIVE_GROUP=nogroup # are dropped down to the user/group specified
> here.
>
> #BINDIP=192.168.1.222
> BINDIP=*
> PORT=2000 # Port to bind to.
> NCHILDREN=10
> MAXCONNECTS=1000
> MAXCHILDREN=10
> MINSPARECHILDREN=2
> MAXSPARECHILDREN=4
> #TRACE_LEVEL=2
>
> [DELIVERY]
> SIEVE=yes
> SIEVE_VACATION=yes
>
>
> # end of configuration file
>
>
>> -----Original Message-----
>> From: Jorge Bastos [mailto:mysql.jorge [at] decimal]
>> Sent: quinta-feira, 30 de Outubro de 2008 10:58
>> To: 'DBMail mailinglist'
>> Subject: RE: [Dbmail] RE: Help on new ZDB system
>>
>> Well Paul,
>> There's something for you, in about 10m it happened:
>> ---
>> Oct 30 10:58:35 lira dbmail/imap4d[2528]: [0x9543498] EMERGENCY:[db]
>> db_con_get(+234): can't get a database connection from the pool!
>> ---
>>
>>
>>> -----Original Message-----
>>> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
>>> Behalf Of Jorge Bastos
>>> Sent: quinta-feira, 30 de Outubro de 2008 10:46
>>> To: 'DBMail mailinglist'
>>> Subject: RE: [Dbmail] RE: Help on new ZDB system
>>>
>>>> I meant: the IDLE problem is now fixed. Please test Outlook with
>> IDLE
>>>> enabled.
>>>
>>> Ops sorry, read it wrong. Ok going to test and let you know.
>>>
>>>
>>> _______________________________________________
>>> DBmail mailing list
>>> DBmail [at] dbmail
>>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>


--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 4:50 AM

Post #21 of 58 (3797 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

Defined:
max_db_connections = 20

for git, im not familiar with it, but as far I remember from someone asking
it is:
--
git clone http://git.dbmail.eu/paul/dbmail
--


Correct?


> -----Original Message-----
> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail] On
> Behalf Of Paul J Stevens
> Sent: quinta-feira, 30 de Outubro de 2008 11:34
> To: DBMail mailinglist
> Subject: Re: [Dbmail] RE: Help on new ZDB system
>
>
> Jorge,
>
> Please update again. And set max_db_connections in your dbmail.conf
>
> Install GIT on your development server because svn will no longer be
> updated as of today.
>
>
>
> Jorge Bastos wrote:
> > Any ideia how to debug it more?
> > When the error about cannot get a connection from pool happens, the
> server
> > dies.
> >
> >
> > MySQL Max is:
> > ---
> > set-variable = max_connections=1000
> > ---
> >
> > And a show processlist; show's me 33connections being used.
> >
> > My dbmail.conf:
> >
> > # $Id: dbmail.conf 1539 2004-12-27 21:41:07Z paul $
> > # (c) 2000-2002 IC&S, The Netherlands
> > #
> > # Configuration file for DBMAIL
> > # This configuration file needs to be run through dbmail-config to be
> > effective
> > # after that, changes are effective inmediatly
> >
> >
> > [DBMAIL]
> >
> >
> > #
> > # Logging via stderr/log file and syslog
> > #
> > # Logging is broken up into 8 logging levels and each level can be
> > indivually turned on or off.
> > # The Stderr/log file logs all entries to stderr or the log file.
> > # Syslog logging uses the facility mail and the logging level of the
> event
> > for logging.
> > # Syslog can then be configured to log data according to the levels.
> > #
> > # Set the log level to the sum of the values next to the levels you
> want to
> > record.
> > # 1 = Emergency
> > # 2 = Alert
> > # 4 = Critical
> > # 8 = Error
> > # 16 = Warning
> > # 32 = Notice
> > # 64 = Info
> > # 128 = Debug
> > #
> > # Examples: 0 = Nothing
> > # 31 = Emergency + Alert + Critical + Error + Warning
> > # 255 = Everything
> > #
> > FILE_LOGGING_LEVELS = 7
> > #
> > SYSLOG_LOGGING_LEVELS = 31
> >
> >
> > #TRACE_STDERR = 5
> >
> > # path to find library directory
> > library_directory = /usr/local/lib/dbmail
> >
> >
> > # If you set this to 'yes' dbmail will check for duplicate
> > # messages in the relevant mailbox during delivery using
> > # the Message-ID header
> > #
> > suppress_duplicates = yes
> > # SHA1 / SHA256 / TIGER
> > hash_algorithm = SHA1
> > #
> > # Idle time allowed before a connection is shut off if you have not
> logged
> > in yet.
> > #
> > login_timeout = 60
> >
> >
> > driver=mysql
> > authdriver=sql
> > # Database settings
> > host=localhost # host for database, set to
> localhost if
> > database is om
> > # the same host as dbmail and you want to use
> a
> > local socket
> > # for connecting.
> > sqlport= # if you want to use TCP/IP for connecting to
> the
> > database,
> > # and have the database running on a non-
> standard
> > port.
> > sqlsocket=/var/run/mysqld/mysqld.sock # when using a
> local
> > socket connection to the database, fill
> > # in the path to the socket here
> (e.g.
> > /var/run/mysql.sock)
> > user=myuser # user to connect as to database
> > pass=mypwd # password for user to database
> > db=postfix # name of database
> > #table_prefix=dbmail_ # Table prefix. Defaults to "dbmail_" if not
> > specified.
> > #encoding=latin1 # MySQL connection encoding must match to
> table
> > encoding.
> > POSTMASTER=decimal [at] decimal # postmaster's email address.
> > SENDMAIL=/usr/sbin/sendmail # sendmail executable
> > # trace level for dbmail-util
> > #TRACE_LEVEL=2
> >
> >
> > encoding = utf8
> > default_msg_encoding = utf8
> >
> > [SMTP]
> > SENDMAIL=/usr/sbin/sendmail # sendmail executable for forwarding
> mail
> > AUTO_NOTIFY=no
> > AUTO_REPLY=no
> > TRACE_LEVEL=1
> >
> > [LMTP]
> > EFFECTIVE_USER=nobody # the user that dbmail-lmtpd will
> run as
> > (need to be root to bind to a port<1024)
> > EFFECTIVE_GROUP=nogroup # the group that dbmail-lmtpd will
> run as
> > BINDIP=* # the ipaddress the dbmail-lmtpd server has
> to
> > bind
> > # to, * for all adresses. Use 127.0.0.1 to
> only
> > # bind to localhost.
> > PORT=24 # the port number the dbmail-lmtpd
> server
> > has to bind to.
> > NCHILDREN=20 # default number of LMTP handlers
> (each is
> > a process)
> > MAXCHILDREN=20 # max. number of LMTP handlers
> > MINSPARECHILDREN=15
> > MAXSPARECHILDREN=15
> > MAXCONNECTS=10000 # the maximum number of connections
> a
> > default childs makes
> > TIMEOUT=300 # the time (s) before the dbmail-
> lmtpd
> > should shutdown a connection which is being idle.
> > RESOLVE_IP=no # if yes, the lmtp daemon resolves
> IP
> > numbers to DNS names in the log
> > #TRACE_LEVEL=2
> > MAX_ERRORS=500
> >
> > [POP]
> > EFFECTIVE_USER=nobody # the user that dbmail-pop3d will
> run as
> > (need to be root to bind to a port<1024)
> > EFFECTIVE_GROUP=nogroup # the group that dbmail-pop3d will
> run as
> > BINDIP=* # the ipaddress the dbmail-pop3d
> server
> > has to bind to, * for all addresses
> > PORT=110 # the port number the dbmail-pop3d
> server
> > has to bind to.
> > NCHILDREN=30 # default number of POP3 handlers
> (each is
> > a process)
> > MAXCHILDREN=50 # mac. number of POP3 handlers
> > MINSPARECHILDREN=20
> > MAXSPARECHILDREN=20
> > MAXCONNECTS=10000 # the maximum number of connections
> a
> > default childs makes
> > TIMEOUT=600 # the time (s) before the dbmail-
> pop3d
> > should shutdown a connection which is being idle.
> > RESOLVE_IP=no # if yes, the pop daemon resolves
> IP
> > numbers to DNS names in the log
> > POP_BEFORE_SMTP=yes
> > #TRACE_LEVEL=2
> > banner = Decimal Informatica e Gestao, Lda <-> POP3 Server
> >
> > [IMAP]
> > EFFECTIVE_USER=nobody
> > EFFECTIVE_GROUP=nogroup
> > BINDIP=*
> > PORT=143
> > NCHILDREN=30
> > MAXCHILDREN=40 # mac. number of IMAPD handlers
> > MINSPARECHILDREN=20
> > MAXSPARECHILDREN=20
> > MAXCONNECTS=10000 # the maximum number of connections
> a
> > default childs makes
> > TIMEOUT=400 # tava 300, hoje tinha 40000 #
> the time
> > (s) before the dbmail-imapd should shutdown a connection which is
> being
> > idle.
> > RESOLVE_IP=no # if yes, the imap daemon resolves
> IP
> > numbers to DNS names in the log
> > IMAP_BEFORE_SMTP=no
> > #TRACE_LEVEL=2
> > idle_timeout = 120
> > #capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL NAMESPACE
> CHILDREN
> > SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE
> >
> >
> > [SIEVE]
> > EFFECTIVE_USER=nobody # Root privs are used to open a port, then
> privs
> > EFFECTIVE_GROUP=nogroup # are dropped down to the user/group
> specified
> > here.
> >
> > #BINDIP=192.168.1.222
> > BINDIP=*
> > PORT=2000 # Port to bind to.
> > NCHILDREN=10
> > MAXCONNECTS=1000
> > MAXCHILDREN=10
> > MINSPARECHILDREN=2
> > MAXSPARECHILDREN=4
> > #TRACE_LEVEL=2
> >
> > [DELIVERY]
> > SIEVE=yes
> > SIEVE_VACATION=yes
> >
> >
> > # end of configuration file
> >
> >
> >> -----Original Message-----
> >> From: Jorge Bastos [mailto:mysql.jorge [at] decimal]
> >> Sent: quinta-feira, 30 de Outubro de 2008 10:58
> >> To: 'DBMail mailinglist'
> >> Subject: RE: [Dbmail] RE: Help on new ZDB system
> >>
> >> Well Paul,
> >> There's something for you, in about 10m it happened:
> >> ---
> >> Oct 30 10:58:35 lira dbmail/imap4d[2528]: [0x9543498] EMERGENCY:[db]
> >> db_con_get(+234): can't get a database connection from the pool!
> >> ---
> >>
> >>
> >>> -----Original Message-----
> >>> From: dbmail-bounces [at] dbmail [mailto:dbmail-bounces [at] dbmail]
> On
> >>> Behalf Of Jorge Bastos
> >>> Sent: quinta-feira, 30 de Outubro de 2008 10:46
> >>> To: 'DBMail mailinglist'
> >>> Subject: RE: [Dbmail] RE: Help on new ZDB system
> >>>
> >>>> I meant: the IDLE problem is now fixed. Please test Outlook with
> >> IDLE
> >>>> enabled.
> >>>
> >>> Ops sorry, read it wrong. Ok going to test and let you know.
> >>>
> >>>
> >>> _______________________________________________
> >>> DBmail mailing list
> >>> DBmail [at] dbmail
> >>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
> > _______________________________________________
> > DBmail mailing list
> > DBmail [at] dbmail
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
>
>
> --
> ________________________________________________________________
> Paul Stevens paul at nfg.nl
> NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
> The Netherlands________________________________http://www.nfg.nl
> _______________________________________________
> DBmail mailing list
> DBmail [at] dbmail
> https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 30, 2008, 4:57 AM

Post #22 of 58 (3801 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

Jorge Bastos wrote:
> Defined:
> max_db_connections = 20

That is the default. If you see the same error as before, increase it to
30. Libzdb will keep the pool as small as possible. This value sets only
the maximum.

>
> for git, im not familiar with it, but as far I remember from someone asking
> it is:
> --
> git clone http://git.dbmail.eu/paul/dbmail

yep.

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 5:03 AM

Post #23 of 58 (3802 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

> > Defined:
> > max_db_connections = 20
>
> That is the default. If you see the same error as before, increase it
> to
> 30. Libzdb will keep the pool as small as possible. This value sets
> only
> the maximum.

Going to set max to 30

Here it is what happened with 20:

Oct 30 12:05:33 lira dbmail/imap4d[21014]: [0x897eee0] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [25]
Oct 30 12:05:34 lira dbmail/imap4d[21014]: [0x89452a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [25]
Oct 30 12:05:35 lira dbmail/imap4d[21014]: [0x8f23690] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [10]
Oct 30 12:05:38 lira dbmail/imap4d[21014]: [0x897eee0] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [30]

Message from syslogd [at] lir at Thu Oct 30 12:05:39 2008 ...
lira dbmail/imap4d[21014]: [0x897eee0] EMERGENCY:[db] db_con_get(+241):
can't get a database connection from the pool! [(nil)]
Oct 30 12:05:39 lira dbmail/imap4d[21014]: [0x89452a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [30]
Oct 30 12:05:39 lira dbmail/imap4d[21014]: [0x897eee0] EMERGENCY:[db]
db_con_get(+241): can't get a database connection from the pool! [(nil)]

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


paul at nfg

Oct 30, 2008, 5:14 AM

Post #24 of 58 (3797 views)
Permalink
Re: RE: Help on new ZDB system [In reply to]

Jorge Bastos wrote:
>>> Defined:
>>> max_db_connections = 20
>> That is the default. If you see the same error as before, increase it
>> to
>> 30. Libzdb will keep the pool as small as possible. This value sets
>> only
>> the maximum.
>
> Going to set max to 30
>
> Here it is what happened with 20:
>
> Oct 30 12:05:33 lira dbmail/imap4d[21014]: [0x897eee0] Alert:[db]
> db_con_get(+238): Thread is having trouble obtaining a database connection.
> Try [25]

Cool. Way to go Jon!

--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail


mysql.jorge at decimal

Oct 30, 2008, 5:17 AM

Post #25 of 58 (3795 views)
Permalink
RE: RE: Help on new ZDB system [In reply to]

> > Going to set max to 30
> >
> > Here it is what happened with 20:
> >
> > Oct 30 12:05:33 lira dbmail/imap4d[21014]: [0x897eee0] Alert:[db]
> > db_con_get(+238): Thread is having trouble obtaining a database
> connection.
> > Try [25]
>
> Cool. Way to go Jon!


Tryed with 30, and then with 40, and now I'm with 60.
With 40 I had: (my mysql max connections are set to 1000 just in case)

Oct 30 12:17:34 lira dbmail/imap4d[23512]: [0x89e62a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [5]
Oct 30 12:17:34 lira dbmail/imap4d[23512]: [0x8a20558] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [5]
Oct 30 12:17:39 lira dbmail/imap4d[23512]: [0x89e62a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [10]
Oct 30 12:17:39 lira dbmail/imap4d[23512]: [0x8a20558] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [10]
Oct 30 12:17:40 lira dbmail/imap4d[23512]: [0xb1a00700] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [5]
Oct 30 12:17:44 lira dbmail/imap4d[23512]: [0x89e62a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [15]
Oct 30 12:17:44 lira dbmail/imap4d[23512]: [0x8a20558] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [15]
Oct 30 12:17:45 lira dbmail/imap4d[23512]: [0x8a270d8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [5]
Oct 30 12:17:45 lira dbmail/imap4d[23512]: [0xb1a00700] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [10]
Oct 30 12:17:45 lira dbmail/imap4d[23512]: [0x8e9b478] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [5]
Oct 30 12:17:49 lira dbmail/imap4d[23512]: [0x89e62a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [20]
Oct 30 12:17:49 lira dbmail/imap4d[23512]: [0x8a20558] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [20]
Oct 30 12:17:50 lira dbmail/imap4d[23512]: [0x8a270d8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [10]
Oct 30 12:17:50 lira dbmail/imap4d[23512]: [0xb1a00700] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [15]
Oct 30 12:17:50 lira dbmail/imap4d[23512]: [0x8e9b478] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [10]
Oct 30 12:17:54 lira dbmail/imap4d[23512]: [0x89e62a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [25]
Oct 30 12:17:54 lira dbmail/imap4d[23512]: [0x8a20558] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [25]
Oct 30 12:17:55 lira dbmail/imap4d[23512]: [0x8a270d8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [15]
Oct 30 12:17:55 lira dbmail/imap4d[23512]: [0xb1a00700] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [20]
Oct 30 12:17:55 lira dbmail/imap4d[23512]: [0x8e9b478] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [15]
Oct 30 12:17:59 lira dbmail/imap4d[23512]: [0x89e62a8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [30]
Oct 30 12:17:59 lira dbmail/imap4d[23512]: [0x8a20558] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [30]

Message from syslogd [at] lir at Thu Oct 30 12:18:00 2008 ...
lira dbmail/imap4d[23512]: [0x89e62a8] EMERGENCY:[db] db_con_get(+241):
can't get a database connection from the pool! [(nil)]
Oct 30 12:18:00 lira dbmail/imap4d[23512]: [0x8a270d8] Alert:[db]
db_con_get(+238): Thread is having trouble obtaining a database connection.
Try [20]
Oct 30 12:18:00 lira dbmail/imap4d[23512]: [0x89e62a8] EMERGENCY:[db]
db_con_get(+241): can't get a database connection from the pool! [(nil)]


_______________________________________________
DBmail mailing list
DBmail [at] dbmail
https://mailman.fastxs.nl/mailman/listinfo/dbmail

First page Previous page 1 2 3 Next page Last page  View All DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.