+ Responder ao Tópico



  1. #1

    Padrão Postfix sobrecarregando

    Oi galera, estou tendo um problema com meu postfix.

    Quando foi trocado o HD do servidor, e apesar de eu ter feito a mesma instalacao e copiado os arquivos de configuracao, o postfix toda vez que é estartado ele sobrecarrega o servidor com os servicos a seguir: (se alguem puder me ajudar agradeco mto)

    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.0 0.2 1504 512 ? S Dec04 0:00 init [2]
    root 2 0.0 0.0 0 0 ? SN Dec04 0:00 [ksoftirqd/0]
    root 3 0.1 0.0 0 0 ? S< Dec04 0:03 [events/0]
    root 4 0.0 0.0 0 0 ? S< Dec04 0:00 [khelper]
    root 5 0.0 0.0 0 0 ? S< Dec04 0:00 [kacpid]
    root 47 0.0 0.0 0 0 ? S< Dec04 0:01 [kblockd/0]
    root 57 0.0 0.0 0 0 ? S Dec04 0:00 [pdflush]
    root 58 0.0 0.0 0 0 ? S Dec04 0:00 [pdflush]
    root 60 0.0 0.0 0 0 ? S< Dec04 0:00 [aio/0]
    root 59 0.0 0.0 0 0 ? S Dec04 0:00 [kswapd0]
    root 202 0.0 0.0 0 0 ? S Dec04 0:00 [kseriod]
    root 304 0.2 0.0 0 0 ? D Dec04 0:07 [kjournald]
    root 721 0.0 0.0 0 0 ? S< Dec04 0:00 [ata/0]
    root 722 0.0 0.0 0 0 ? S Dec04 0:00 [scsi_eh_0]
    root 723 0.0 0.0 0 0 ? S Dec04 0:00 [scsi_eh_1]
    root 755 0.0 0.0 0 0 ? S Dec04 0:00 [khubd]
    root 1286 0.0 0.0 0 0 ? S Dec04 0:00 [pciehpd_event]
    root 1311 0.0 0.0 0 0 ? S Dec04 0:00 [shpchpd_event]
    daemon 2529 0.0 0.1 1612 464 ? Ss Dec04 0:00 /sbin/portmap
    root 2879 0.1 0.3 2260 780 ? Ss Dec04 0:06 /sbin/syslogd
    root 2882 0.0 0.5 2440 1504 ? Ss Dec04 0:00 /sbin/klogd
    bind 2890 0.0 3.7 37044 9368 ? Ss Dec04 0:00 /usr/sbin/named -u bind
    root 2931 0.0 0.2 2240 732 ? Ss Dec04 0:00 /usr/sbin/inetd
    lp 2935 0.0 0.3 2464 884 ? Ss Dec04 0:00 /usr/sbin/lpd -s
    root 2939 0.0 1.8 5820 4708 ? S Dec04 0:00 /usr/bin/memcached -m 64 -p 11211 -u root
    root 3139 0.0 0.5 3468 1500 ? Ss Dec04 0:00 /usr/sbin/sshd
    root 3143 0.0 0.3 2376 928 ? Ss Dec04 0:00 /sbin/rpc.statd
    nobody 3156 0.0 0.9 4772 2280 ? Ss Dec04 0:00 proftpd: (accepting connections)
    root 3166 0.0 0.3 1764 816 ? Ss Dec04 0:00 /usr/sbin/cron
    root 3199 0.0 4.7 31512 11920 ? Ss Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    root 3215 0.0 0.1 1500 484 tty1 Ss+ Dec04 0:00 /sbin/getty 38400 tty1
    root 3221 0.0 0.1 1500 484 tty2 Ss+ Dec04 0:00 /sbin/getty 38400 tty2
    root 3222 0.0 0.1 1500 484 tty3 Ss+ Dec04 0:00 /sbin/getty 38400 tty3
    root 3223 0.0 0.1 1500 484 tty4 Ss+ Dec04 0:00 /sbin/getty 38400 tty4
    root 3224 0.0 0.1 1500 484 tty5 Ss+ Dec04 0:00 /sbin/getty 38400 tty5
    root 3225 0.0 0.1 1500 484 tty6 Ss+ Dec04 0:00 /sbin/getty 38400 tty6
    www-data 3321 0.0 6.7 36344 16984 ? S Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    www-data 3322 0.0 7.0 37084 17760 ? S Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    www-data 3323 0.0 7.0 36992 17672 ? S Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    www-data 3324 0.0 6.8 36600 17272 ? S Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    www-data 3325 0.0 7.0 37024 17728 ? S Dec04 0:01 /usr/sbin/apache2 -k start -DSSL
    www-data 3326 0.0 6.8 36604 17268 ? S Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    www-data 3327 0.0 7.1 37228 17924 ? S Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    www-data 3328 0.0 6.8 36496 17200 ? S Dec04 0:00 /usr/sbin/apache2 -k start -DSSL
    root 3369 0.0 0.8 14616 2052 ? Ss Dec04 0:02 sshd: root@pts/0
    root 3392 0.0 0.6 3020 1676 pts/0 Ss Dec04 0:00 -bash
    root 4769 0.0 0.1 1672 476 ? S Dec04 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -
    root 4770 0.0 0.2 1808 508 ? S Dec04 0:00 /usr/lib/courier/authlib/authdaemond.plain
    root 4771 0.0 0.2 1996 680 ? S Dec04 0:00 /usr/lib/courier/authlib/authdaemond.plain
    root 4772 0.0 0.2 1996 680 ? S Dec04 0:00 /usr/lib/courier/authlib/authdaemond.plain
    root 4773 0.0 0.2 1996 680 ? S Dec04 0:00 /usr/lib/courier/authlib/authdaemond.plain
    root 4774 0.0 0.2 1996 680 ? S Dec04 0:00 /usr/lib/courier/authlib/authdaemond.plain
    root 4775 0.0 0.2 1996 680 ? S Dec04 0:00 /usr/lib/courier/authlib/authdaemond.plain
    root 4808 0.0 0.2 2476 732 ? S Dec04 0:00 /usr/sbin/couriertcpd -address=0 -stderrlogger=/usr/sbin/couri
    root 4810 0.0 0.1 1676 468 ? S Dec04 0:00 /usr/sbin/courierlogger imaplogin
    root 4836 0.0 0.2 2476 728 ? S Dec04 0:00 /usr/sbin/couriertcpd -pid=/var/run/courier/pop3d.pid -stderrl
    root 4838 0.0 0.1 1540 300 ? S Dec04 0:00 /usr/sbin/courierlogger courierpop3login
    root 6068 0.0 0.5 2736 1316 pts/0 S Dec04 0:00 /bin/sh /usr/bin/mysqld_safe
    root 6104 0.0 0.5 2736 1320 pts/0 S Dec04 0:00 /bin/sh /usr/bin/mysqld_safe
    mysql 6105 0.0 5.5 116284 13964 pts/0 S Dec04 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --use
    root 6106 0.0 0.2 1772 540 pts/0 S Dec04 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
    root 7378 0.0 0.1 1776 424 pts/0 S+ Dec04 0:00 cat /var/log/mail.log
    root 7426 0.0 0.7 14452 1984 ? Ss 00:10 0:00 sshd: fabio [priv]
    fabio 7429 0.0 0.8 14620 2052 ? S 00:10 0:00 sshd: fabio@pts/1
    fabio 7430 0.0 0.6 2984 1620 pts/1 Ss 00:10 0:00 -bash
    root 7435 0.0 0.5 2600 1484 pts/1 S 00:10 0:00 -su
    root 7888 1.5 0.5 3668 1332 ? Ss 00:20 0:00 /usr/lib/postfix/master
    postfix 7890 0.0 0.4 2976 1092 ? S 00:20 0:00 pickup -l -t fifo -u -c
    postfix 7891 6.0 0.6 3376 1620 ? D 00:20 0:00 qmgr -l -t fifo -u -c
    postfix 7892 0.0 0.4 2984 1120 ? S 00:20 0:00 trivial-rewrite -n rewrite -t unix -u -c
    postfix 7893 0.0 0.5 3036 1288 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7894 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7895 0.0 0.5 3036 1288 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7896 0.0 0.5 3036 1288 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7897 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7898 0.0 0.4 3020 1224 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7899 0.0 0.5 3036 1288 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7900 0.0 0.5 3036 1288 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7901 0.0 0.5 3036 1296 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7902 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7903 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7904 0.0 0.5 3036 1284 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7905 0.0 0.4 3020 1224 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7906 0.0 0.5 3036 1308 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7907 0.0 0.5 3036 1288 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7908 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7909 0.0 0.5 3036 1308 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7910 0.0 0.5 3036 1288 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7911 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7920 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7932 0.0 0.5 3036 1308 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7933 0.0 0.4 2992 1124 ? S 00:20 0:00 bounce -z -n defer -t unix -u -c
    postfix 7934 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7935 0.0 0.4 2992 1120 ? D 00:20 0:00 bounce -z -n defer -t unix -u -c
    postfix 7936 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7937 0.0 0.4 2992 1120 ? D 00:20 0:00 bounce -z -n defer -t unix -u -c
    postfix 7938 0.0 0.4 2992 1124 ? S 00:20 0:00 bounce -z -n defer -t unix -u -c
    postfix 7939 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7940 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7941 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7942 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7943 0.0 0.4 3036 1248 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7944 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7945 0.0 0.5 3036 1272 ? S 00:20 0:00 smtp -t unix -u -c
    postfix 7946 0.0 0.4 2992 1112 ? S 00:20 0:00 bounce -z -n defer -t unix -u -c


    e assim vai aumentando esses "smtp -t unix -u -c" e o "bounce -z -n defer -t unix -u -c". nao sei o q fazer, nao acho algo solucionavel pela net, e pra alguem receber o e-mail demora uma eternidade, meio que no outro dia apenas que se recebe o e-mail do outro lado, mas aqui no servidor ele recebe na hora praticamente.


    Grato pela atencao.

  2. #2

    Padrão

    Bom pessoal, eu fui atras direitinho de logs e configuracoes, e com ajuda de um amigo, verificamos que se tratava de SPAM da brava, hehehe.... limpei mais de 24 mil emails desde ontem, qdo comecou o problema, que foi quando atualizamos o servidor pra um P4 HT 3.20ghz.... e reinstalei o sistema debian nele.

    Entao pra constar aqui, ja foi resolvido, era spam e eu instalei os pacotes courier-imap-ssl e courier-pop-ssl (pra autenticar SMTP) e configurei o outlook pra fazer a autenticacao segura no servidor.

    Abraços.