List Info

Thread: RE: New threading model




RE: New threading model
country flaguser name
Portugal
2008-03-29 10:17:03
Hum, something not right with the debian packages, check:


---
flecha:/etc/apt# apt-get install libzdb-dev
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
Os seguintes pacotes extra serão instalados:
  libzdb-2.2-4
Serão instalados os seguintes NOVOS pacotes:
  libzdb-2.2-4 libzdb-dev
0 pacotes actualizados, 2 pacotes novos instalados, 0 a
remover e 490 não
actualizados.
É necessário obter 71,6kB de arquivos.
Após esta operação, serão utilizados 401kB adicionais de
espaço em disco.
Deseja continuar [Y/n]?
AVISO: Os seguintes pacotes não podem ser autenticados!
  libzdb-2.2-4 libzdb-dev
Aviso de autenticação ultrapassado.
Obter:1 http://debian.nfgd.net
unstable/main libzdb-2.2-4 2.1+2.2-20080323
[3814B]
Obter:2 http://debian.nfgd.net
unstable/main libzdb-dev 2.1+2.2-20080323
[67,8kB]
Obtidos 105kB em 0s (183kB/s)
Falhou obter
http://debian.nfgd.net/debian/dists/
unstable/main/binary-i386/libs/libzdb-2.
2-4_2.1+2.2-20080323_i386.deb  Tamanho incorrecto
"(invalid size)"
Falhou obter
http://debian.nfgd.net/debian/dists/
unstable/main/binary-i386/libdevel/libzd
b-dev_2.1+2.2-20080323_i386.deb  Código de verificação hash
não coincide
"(Hash check does not match)"
E: Não foi possível obter alguns arquivos, tente talvez
correr apt-get
update ou tente com --fix-missing?
---

Since I have this in pt_PT, I translated the error in front
of it inside ""






> -----Original Message-----
> From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org] On
> Behalf Of Paul J Stevens
> Sent: sábado, 29 de Março de 2008 14:55
> To: DBMail mailinglist
> Subject: Re: [Dbmail] New threading model
> 
> 
> 
> Jorge Bastos wrote:
> > Ok I'm testing in my test machine, no more tests
on production
> machine since
> > last situation 
> 
> Testing is good. Doing so on a test server is even
better. But don't
> file bugs against the state of the trunk please. You
know the drill.
> 
> > Where does live this "ZDB" library?
> > I'm searching debian packages and don't see it.
> 
> 
> You can find the upstream tarbal at http://tildeslash.com/li
bzdb
> 
> There's also debian packages on
> 
> deb http://debian.nfgd.net/
debian unstable main
> 
> 
> 
> 
> >
> >
> >> -----Original Message-----
> >> From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org]
> On
> >> Behalf Of Jorge Bastos
> >> Sent: sábado, 29 de Março de 2008 14:37
> >> To: 'DBMail mailinglist'
> >> Subject: RE: [Dbmail] New threading model
> >>
> >> Oh,
> >> It's just that I like to try new things!!
> >>
> >>
> >>
> >>
> >>> -----Original Message-----
> >>> From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org]
> On
> >>> Behalf Of Paul J Stevens
> >>> Sent: sábado, 29 de Março de 2008 14:19
> >>> To: DBMail mailinglist
> >>> Subject: Re: [Dbmail] New threading model
> >>>
> >>> Jorge Bastos wrote:
> >>>> Hi Paul,
> >>>>
> >>>> I've seen that there's some work on
the new threading model in the
> >>> trunk.
> >>>> Is it in a mature state for use in
production, even knowing that
> >>> trunk Is
> >>>> not for production?
> >>> You are joking, right? It's nowhere near
production ready. I've
> been
> >>> playing with it, slowly working out a
workable threading pattern.
> >>>
> >>> Thread per client is what's in the trunk
right now. Connection
> >> pooling
> >>> works really great. Libzdb kicks ass. For
ldap it's a different
> >> story.
> >>> I've played with a singleton ldap
connection which worked pretty
> >> good,
> >>> since ldap queries are fast and not used
that often compared to
> sql.
> >>> I've also been experimenting with
thread-local ldap connections,
> >> which
> >>> is what's being used right now in the
trunk. That works even
> better.
> >>>
> >>> But as soon as I start to pump up the
concurrency I'm still hitting
> >>> threadsafety bugs. I discovered one likely
source of it only
> >> yesterday,
> >>> and a few more are likely still hanging
around. But I'm almost
> there
> >> in
> >>> that respect.
> >>>
> >>> So at a tangeant I've also begun working
on short lived worker
> >> threads
> >>> to disengage from longer running database
interactions. But that's
> >>> really new stuff, and I havent yet hit on
a good pattern to use.
> More
> >>> study is required.
> >>>
> >>> --
> >>>  
____________________________________________________________
____
> >>>   Paul Stevens                            
         paul at nfg.nl
> >>>   NET FACILITIES GROUP                    
GPG/PGP: 1024D/11F8CD31
> >>>   The
Netherlands________________________________http://www.nfg.nl
> >>>
_______________________________________________
> >>> DBmail mailing list
> >>> DBmaildbmail.org
> >>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> >>
_______________________________________________
> >> DBmail mailing list
> >> DBmaildbmail.org
> >> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
> > _______________________________________________
> > DBmail mailing list
> > DBmaildbmail.org
> > htt
ps://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
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

RE: New threading model
country flaguser name
Portugal
2008-03-29 19:19:27
Ok I download them manually.
Paul, there's some warnings here, can them be harmful?

---
authsql.c: In function 'auth_addalias_ext':
authsql.c:550: warning: variable 't' might be clobbered by
'longjmp' or
'vfork'
authsql.c: In function 'auth_addalias':
authsql.c:496: warning: variable 't' might be clobbered by
'longjmp' or
'vfork'
authsql.c: In function 'auth_change_password':
authsql.c:261: warning: argument 'enctype' might be
clobbered by 'longjmp'
or 'vfork'
---
dbmail-message.c: In function '_header_get_id':
dbmail-message.c:1422: warning: variable 'try' might be
clobbered by
'longjmp' or 'vfork'
dbmail-message.c:1422: warning: variable 't' might be
clobbered by 'longjmp'
or 'vfork'
dbmail-message.c: In function 'insert_address_cache':
dbmail-message.c:1550: warning: argument 'ialist' might be
clobbered by
'longjmp' or 'vfork'
dbmail-message.c: In function '_header_cache':
dbmail-message.c:1490: warning: variable 'isaddr' might be
clobbered by
'longjmp' or 'vfork'
---
dbmail-mailbox.c: In function
'dbmail_mailbox_orderedsubject':
dbmail-mailbox.c:507: warning: variable 'i' might be
clobbered by 'longjmp'
or 'vfork'
---
dm_debug.c: In function 'trace':
dm_debug.c:111: warning: passing argument 1 of 'gethostname'
from
incompatible pointer type
---
dm_db.c: In function 'db_get_mailbox_size':
dm_db.c:1645: warning: variable 'r' might be clobbered by
'longjmp' or
'vfork'
dm_db.c:1645: warning: variable 't' might be clobbered by
'longjmp' or
'vfork'
dm_db.c: In function 'db_listmailboxchildren':
dm_db.c:2959: warning: variable 'mailbox_like' might be
clobbered by
'longjmp' or 'vfork'
dm_db.c: In function 'db_getmailbox_metadata':
dm_db.c:2269: warning: variable 'mailbox_like' might be
clobbered by
'longjmp' or 'vfork'
dm_db.c: In function 'mailboxes_by_regex':
dm_db.c:2105: warning: variable 'mailbox_like' might be
clobbered by
'longjmp' or 'vfork'
---
imapcommands.c: In function '_ic_append':
imapcommands.c:1120: warning: the address of 'sqldate' will
always evaluate
as 'true'
---
dbmail-imapsession.c:1598: warning:
'dbmail_imap_session_mbxinfo_notify'
defined but not used
dbmail-imapsession.c: In function
'imap_session_update_recent':
dbmail-imapsession.c:1919: warning: variable 'slices' might
be clobbered by
'longjmp' or 'vfork'
---










> -----Original Message-----
> From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org] On
> Behalf Of Jorge Bastos
> Sent: sábado, 29 de Março de 2008 15:17
> To: 'DBMail mailinglist'
> Subject: RE: [Dbmail] New threading model
> 
> Hum, something not right with the debian packages,
check:
> 
> 
> ---
> flecha:/etc/apt# apt-get install libzdb-dev
> A ler as listas de pacotes... Pronto
> A construir árvore de dependências
> A ler a informação de estado... Pronto
> Os seguintes pacotes extra serão instalados:
>   libzdb-2.2-4
> Serão instalados os seguintes NOVOS pacotes:
>   libzdb-2.2-4 libzdb-dev
> 0 pacotes actualizados, 2 pacotes novos instalados, 0 a
remover e 490
> não
> actualizados.
> É necessário obter 71,6kB de arquivos.
> Após esta operação, serão utilizados 401kB adicionais
de espaço em
> disco.
> Deseja continuar [Y/n]?
> AVISO: Os seguintes pacotes não podem ser
autenticados!
>   libzdb-2.2-4 libzdb-dev
> Aviso de autenticação ultrapassado.
> Obter:1 http://debian.nfgd.net
unstable/main libzdb-2.2-4 2.1+2.2-
> 20080323
> [3814B]
> Obter:2 http://debian.nfgd.net
unstable/main libzdb-dev 2.1+2.2-
> 20080323
> [67,8kB]
> Obtidos 105kB em 0s (183kB/s)
> Falhou obter
> http://debian.nfgd.net/debian/dists/unstable/main/binar
y-
> i386/libs/libzdb-2.
> 2-4_2.1+2.2-20080323_i386.deb  Tamanho incorrecto
"(invalid size)"
> Falhou obter
> http://debian.nfgd.net/debian/dists/unstable/main/binar
y-
> i386/libdevel/libzd
> b-dev_2.1+2.2-20080323_i386.deb  Código de verificação
hash não
> coincide
> "(Hash check does not match)"
> E: Não foi possível obter alguns arquivos, tente talvez
correr apt-get
> update ou tente com --fix-missing?
> ---
> 
> Since I have this in pt_PT, I translated the error in
front of it
> inside ""
> 
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: dbmail-bouncesdbmail.org
[mailto:dbmail-bouncesdbmail.org] On
> > Behalf Of Paul J Stevens
> > Sent: sábado, 29 de Março de 2008 14:55
> > To: DBMail mailinglist
> > Subject: Re: [Dbmail] New threading model
> >
> >
> >
> > Jorge Bastos wrote:
> > > Ok I'm testing in my test machine, no more
tests on production
> > machine since
> > > last situation 
> >
> > Testing is good. Doing so on a test server is even
better. But don't
> > file bugs against the state of the trunk please.
You know the drill.
> >
> > > Where does live this "ZDB"
library?
> > > I'm searching debian packages and don't see
it.
> >
> >
> > You can find the upstream tarbal at http://tildeslash.com/li
bzdb
> >
> > There's also debian packages on
> >
> > deb http://debian.nfgd.net/
debian unstable main
> >
> >
> >
> >
> > >
> > >
> > >> -----Original Message-----
> > >> From: dbmail-bouncesdbmail.org [mailto:dbmail-bouncesdbmail.org]
> > On
> > >> Behalf Of Jorge Bastos
> > >> Sent: sábado, 29 de Março de 2008 14:37
> > >> To: 'DBMail mailinglist'
> > >> Subject: RE: [Dbmail] New threading
model
> > >>
> > >> Oh,
> > >> It's just that I like to try new
things!!
> > >>
> > >>
> > >>
> > >>
> > >>> -----Original Message-----
> > >>> From: dbmail-bouncesdbmail.org [mailto:dbmail-
> bouncesdbmail.org]
> > On
> > >>> Behalf Of Paul J Stevens
> > >>> Sent: sábado, 29 de Março de 2008
14:19
> > >>> To: DBMail mailinglist
> > >>> Subject: Re: [Dbmail] New threading
model
> > >>>
> > >>> Jorge Bastos wrote:
> > >>>> Hi Paul,
> > >>>>
> > >>>> I've seen that there's some work
on the new threading model in
> the
> > >>> trunk.
> > >>>> Is it in a mature state for use
in production, even knowing that
> > >>> trunk Is
> > >>>> not for production?
> > >>> You are joking, right? It's nowhere
near production ready. I've
> > been
> > >>> playing with it, slowly working out a
workable threading pattern.
> > >>>
> > >>> Thread per client is what's in the
trunk right now. Connection
> > >> pooling
> > >>> works really great. Libzdb kicks ass.
For ldap it's a different
> > >> story.
> > >>> I've played with a singleton ldap
connection which worked pretty
> > >> good,
> > >>> since ldap queries are fast and not
used that often compared to
> > sql.
> > >>> I've also been experimenting with
thread-local ldap connections,
> > >> which
> > >>> is what's being used right now in the
trunk. That works even
> > better.
> > >>>
> > >>> But as soon as I start to pump up the
concurrency I'm still
> hitting
> > >>> threadsafety bugs. I discovered one
likely source of it only
> > >> yesterday,
> > >>> and a few more are likely still
hanging around. But I'm almost
> > there
> > >> in
> > >>> that respect.
> > >>>
> > >>> So at a tangeant I've also begun
working on short lived worker
> > >> threads
> > >>> to disengage from longer running
database interactions. But
> that's
> > >>> really new stuff, and I havent yet
hit on a good pattern to use.
> > More
> > >>> study is required.
> > >>>
> > >>> --
> > >>>
>
____________________________________________________________
____
> > >>>   Paul Stevens                       
              paul at
> nfg.nl
> > >>>   NET FACILITIES GROUP               
     GPG/PGP:
> 1024D/11F8CD31
> > >>>   The
> Netherlands________________________________http://www.nfg.nl
> > >>>
_______________________________________________
> > >>> DBmail mailing list
> > >>> DBmaildbmail.org
> > >>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> > >>
_______________________________________________
> > >> DBmail mailing list
> > >> DBmaildbmail.org
> > >> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> > >
> > >
_______________________________________________
> > > DBmail mailing list
> > > DBmaildbmail.org
> > > htt
ps://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
> > DBmaildbmail.org
> > htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1-2]

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