[Dovecot] compiling error imaptest.c
dovecot-1.1.beta16]# gcc imaptest.c -o imaptest -g -Wall -W -I. -Isrc/lib-mail -Isrc/lib -Isrc/lib-imap -Isrc/lib-storage/index/mbox -DHAVE_CONFIG_H src/lib-storage/index/mbox/mbox-from.o src/lib-imap/libimap.a src/lib-mail/libmail.a src/lib/liblib.a imaptest.c: In client_append function: imaptest.c:1492: error: too many arguments for i_stream_create_limit function
- Antonio Casado Rodríguez acasado@ual.es:
dovecot-1.1.beta16]# gcc imaptest.c -o imaptest -g -Wall -W -I.
-Isrc/lib-mail -Isrc/lib -Isrc/lib-imap -Isrc/lib-storage/index/mbox
-DHAVE_CONFIG_H src/lib-storage/index/mbox/mbox-from.o
src/lib-imap/libimap.a src/lib-mail/libmail.a src/lib/liblib.a imaptest.c: In client_append function: imaptest.c:1492: error: too many arguments for i_stream_create_limit
function
Which OS? Which version of dovecot?
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de While it may not solve the problem in *your lifetime*, filing a bug report with the PocketPC OS vendor is a good idea. -- Victor D.
I'm sorry...
In RedHat Linux 5 Dovecot 1.1.beta16
uname -m = x86_64 uname -r = 2.6.18-53.1.13.el5 uname -s = Linux uname -v = #1 SMP Mon Feb 11 13:27:27 EST 2008
Ralf Hildebrandt escribió:
- Antonio Casado Rodríguez acasado@ual.es:
dovecot-1.1.beta16]# gcc imaptest.c -o imaptest -g -Wall -W -I.
-Isrc/lib-mail -Isrc/lib -Isrc/lib-imap -Isrc/lib-storage/index/mbox
-DHAVE_CONFIG_H src/lib-storage/index/mbox/mbox-from.o
src/lib-imap/libimap.a src/lib-mail/libmail.a src/lib/liblib.a imaptest.c: In client_append function: imaptest.c:1492: error: too many arguments for i_stream_create_limit
functionWhich OS? Which version of dovecot?
On Feb 19, 2008, at 12:21 PM, Antonio Casado Rodríguez wrote:
dovecot-1.1.beta16]# gcc imaptest.c -o imaptest -g -Wall -W -I. - Isrc/lib-mail -Isrc/lib -Isrc/lib-imap -Isrc/lib-storage/index/mbox - DHAVE_CONFIG_H src/lib-storage/index/mbox/mbox-from.o src/lib-imap/ libimap.a src/lib-mail/libmail.a src/lib/liblib.a imaptest.c: In client_append function: imaptest.c:1492: error: too many arguments for i_stream_create_limit
function
Use http://imapwiki.org/ImapTest instead. I changed imaptest.c now to
just point to it.
I've got theses tests, with dovecot 1.0.10, dovecot-lda, quota-maildir and maildir.
uname -a Linux correo1 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:27 EST 2008 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 5.1 (Tikanga)
dovecot -n # 1.0.10: /etc/dovecot.conf log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot.info protocols: imap imaps pop3 managesieve ssl_cert_file: /etc/pki/dovecot/certs/imap.ual.es.crt ssl_key_file: /etc/pki/dovecot/private/imap.ual.es.key login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_executable(managesieve): /usr/libexec/dovecot/managesieve-login mail_location: maildir:/gfs_correo/mail/%n mmap_disable: yes mail_executable(default): /usr/local/sbin/post-login-imap-dovecot mail_executable(imap): /usr/local/sbin/post-login-imap-dovecot mail_executable(pop3): /usr/local/sbin/post-login-pop3-dovecot mail_executable(managesieve): /usr/libexec/dovecot/managesieve mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 mail_plugin_dir(managesieve): /usr/lib64/dovecot/managesieve namespace: type: private separator: / location: maildir:/gfs_correo/mail/%n inbox: yes auth default: passdb: driver: pam userdb: driver: passwd plugin: quota: maildir:storage=1048576
./imaptest host=127.0.0.1 port=143 user=yyy pass=xxx seed=123 secs=300
1º TEST. mailbox in ext3 (disc local), mmap_disible=no Totals: Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 50% 100% 100% 100% 100% 30% 5% 1420 710 699 1417 1259 1818 332 996 1259 1411 2832
The GFS
root# fgrep gfs_correo /etc/fstab
/dev/vgGFSemail/lvGFSemail /gfs_correo gfs
defaults 1 2
2º TEST mailbox in gfs (disc in SAN), mmap_disable = yes Totals: Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 50% 100% 100% 100% 100% 30% 5% 111 48 51 111 103 143 41 78 103 106 222
2º TEST mailbox in gfs (disc in SAN), mmap_disable = no Totals: Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 50% 100% 100% 100% 100% 30% 5% 166 77 85 166 156 213 54 132 156 161 330
On Tuesday 19 February 2008 08:15:44 Antonio Casado Rodríguez imposed structure on a stream of electrons, yielding:
I've got theses tests, with dovecot 1.0.10, dovecot-lda, quota-maildir and maildir.
uname -a Linux correo1 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:27 EST 2008 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 5.1 (Tikanga)
...
./imaptest host=127.0.0.1 port=143 user=yyy pass=xxx seed=123 secs=300
1º TEST. mailbox in ext3 (disc local), mmap_disible=no Totals: Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 50% 100% 100% 100% 100% 30% 5% 1420 710 699 1417 1259 1818 332 996 1259 1411 2832
The GFS root# fgrep gfs_correo /etc/fstab /dev/vgGFSemail/lvGFSemail /gfs_correo gfs defaults 1 2
2º TEST mailbox in gfs (disc in SAN), mmap_disable = yes Totals: Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 50% 100% 100% 100% 100% 30% 5% 111 48 51 111 103 143 41 78 103 106 222
2º TEST mailbox in gfs (disc in SAN), mmap_disable = no Totals: Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo 100% 50% 50% 100% 100% 100% 50% 100% 100% 100% 100% 30% 5% 166 77 85 166 156 213 54 132 156 161 330
Do you mean the performance with GFS is bad? That's about the same thing we found out. Sharing the folder space via GFS was terribly slow. We had to abandon GFS and switch back to NFS. I believe GFS is just not designed to handle a large number of small files and that's what you usually have in your mail storage (if you use Maildir).
Karsten.
Nothing cures insomnia like the realization that it's time to get up.
participants (4)
-
Antonio Casado Rodríguez
-
Karsten Künne
-
Ralf Hildebrandt
-
Timo Sirainen