Postfix Problem - fatal: inet_addr_local[socket]

Ben

Registered User
Hallo, habe gestern zum ersten mal Postfix aufgesetzt um mir einen "Mini-Mailverteiler" zu basteln. Ich bin nach dieser Anleitung vorgegangen Howto Tutorial Debian Etch Server - Linux Installation Apache 2 MySQL 5 PHP5 Postfix SSH Vsftp oder Proftp als FTP Server mittels apt-get install Debian Dedicated Server Mailserver

Hat auch beim ersten test gut funktioniert, aber nun geht garnix mehr ->
Code:
Sep 25 08:31:19 chick3 postfix/master[5447]: daemon started -- version 2.3.8, configuration /etc/postfix
Sep 25 08:39:59 chick3 postfix/tlsmgr[9609]: fatal: inet_addr_local[socket]: socket: No buffer space available
Sep 25 08:40:00 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/tlsmgr pid 9609 exit status 1
Sep 25 08:40:00 chick3 postfix/master[5447]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Sep 25 08:41:00 chick3 postfix/tlsmgr[10159]: fatal: inet_addr_local[socket]: socket: No buffer space available
Sep 25 08:41:01 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/tlsmgr pid 10159 exit status 1
Sep 25 08:41:01 chick3 postfix/master[5447]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Sep 25 08:41:40 chick3 postfix/master[5447]: warning: unix_trigger_event: read timeout for service private/tlsmgr
Sep 25 08:42:01 chick3 postfix/tlsmgr[11340]: fatal: inet_addr_local[socket]: socket: No buffer space available
Sep 25 08:42:02 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/tlsmgr pid 11340 exit status 1
Sep 25 08:42:02 chick3 postfix/master[5447]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Sep 25 08:43:02 chick3 postfix/tlsmgr[11513]: fatal: inet_addr_local[socket]: socket: No buffer space available
Sep 25 08:43:03 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/tlsmgr pid 11513 exit status 1
Sep 25 08:43:03 chick3 postfix/master[5447]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Sep 25 08:44:03 chick3 postfix/tlsmgr[11663]: fatal: inet_addr_local[socket]: socket: No buffer space available
Sep 25 08:44:04 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/tlsmgr pid 11663 exit status 1
Sep 25 08:44:04 chick3 postfix/master[5447]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Sep 25 08:45:05 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/tlsmgr pid 12213 exit status 1
Sep 25 08:45:05 chick3 postfix/master[5447]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Sep 25 08:46:05 chick3 postfix/tlsmgr[14073]: fatal: inet_addr_local[socket]: socket: No buffer space available
Sep 25 08:46:06 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/tlsmgr pid 14073 exit status 1
Sep 25 08:46:06 chick3 postfix/master[5447]: warning: /usr/lib/postfix/tlsmgr: bad command startup -- throttling
Sep 25 08:47:06 chick3 postfix/smtpd[9606]: connect from fmmailgate09.web.de[217.72.192.184]
Sep 25 08:47:06 chick3 postfix/smtpd[9606]: lost connection after CONNECT from fmmailgate09.web.de[217.72.192.184]
Sep 25 08:47:06 chick3 postfix/smtpd[9606]: disconnect from fmmailgate09.web.de[217.72.192.184]
Sep 25 08:49:50 chick3 postfix/smtpd[16064]: connect from fmmailgate05.web.de[217.72.192.243]
Sep 25 08:49:50 chick3 postfix/smtpd[16064]: warning: connect to private/anvil: Cannot allocate memory
Sep 25 08:49:50 chick3 postfix/smtpd[16064]: warning: problem talking to server private/anvil: Cannot allocate memory
Sep 25 08:49:51 chick3 postfix/smtpd[16064]: warning: connect to private/anvil: Cannot allocate memory
Sep 25 08:49:51 chick3 postfix/smtpd[16064]: warning: problem talking to server private/anvil: Cannot allocate memory
Sep 25 08:49:51 chick3 postfix/smtpd[16064]: warning: connect #1 to subsystem private/rewrite: Cannot allocate memory
Sep 25 08:49:52 chick3 postfix/sendmail[16070]: fatal: inet_addr_local[socket]: socket: No buffer space available
Sep 25 08:50:01 chick3 postfix/smtpd[16064]: fatal: socket: Cannot allocate memory
Sep 25 08:50:02 chick3 postfix/master[5447]: warning: process /usr/lib/postfix/smtpd pid 16064 exit status 1
Sep 25 08:50:02 chick3 postfix/master[5447]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Sep 25 08:50:04 chick3 postfix/master[5447]: terminating on signal 15
(beendet habe ich ihn dann)

Der log entstand nachdem ich eine mail von web.de dahin geschickt habe und er sollte sie an 2 andere @web.de Adressen weiterleiten. Den "Verteiler" habe ich über die /etc/aliases eingerichtet.
Gestern ging es wie gesagt einmal! Es handelt sich um einen vServer mit Debian und eigentlich ausreichend ressourcen

/proc/user_beancounters
Code:
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
549910439:  kmemsize        3119589    5806746   37694577   41464034          0
            lockedpages           0         16         32         32          0
            privvmpages       28854     327345     327680     360448          4
            shmpages           1422       1936      92948      92948          0
            dummy                 0          0          0          0          0
            numproc              39         83        180        180          0
            physpages         11477     262339          0 2147483647          0
            vmguarpages           0          0     262144     262144          0
            oomguarpages      12103     297643     262144     262144          0
            numtcpsock           46         62        420        420          0
            numflock              3         12        100        110          0
            numpty                2          3         16         16          0
            numsiginfo            0         23        512        512          0
            tcpsndbuf        251528     592448    2020000    3180800          0
            tcprcvbuf        250528    1372280    2020000    3180800          0
            othersockbuf     378952     434488    2020000    3180800          0
            dgramrcvbuf           0       8376     159744     262144          0
            numothersock        411        420        420        420       1239
            dcachesize       381598     419252    2205000    2305000          0
            numfile            1346       1892       6000       6000          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         10        128        128          0

Welche Ausgaben braucht ihr noch? Was kann ich tun um das Problem zu beheben?

Dankeschön
 
Mit Postfix alleine kannst Du die numothersock (UBC primary parameters - OpenVZ Wiki) kaum ausreizen. Bei meinem vServer liegt das Limit bei 207 und Postfix läuft damit ohne Probleme (neben Postgrey, zwei Apache-Instanzen, mysql und bind9).
Somit stellt sich die Frage, was hast Du sonst noch am Laufen, das soviele lokale Sockets braucht.
 
Ok, das lag wohl an einem der eggdrops, hier mal ne aktuelle Ausgabe
Code:
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
549910439:  kmemsize        2924818    5806746   37694577   41464034          0
            lockedpages           0         16         32         32          0
            privvmpages       26058     327345     327680     360448          4
            shmpages           1422       1936      92948      92948          0
            dummy                 0          0          0          0          0
            numproc              43         83        180        180          0
            physpages          9436     262339          0 2147483647          0
            vmguarpages           0          0     262144     262144          0
            oomguarpages       9597     297643     262144     262144          0
            numtcpsock           34         62        420        420          0
            numflock              7         12        100        110          0
            numpty                1          3         16         16          0
            numsiginfo            0         23        512        512          0
            tcpsndbuf        252264     592448    2020000    3180800          0
            tcprcvbuf        250992    1372280    2020000    3180800          0
            othersockbuf     187488     434488    2020000    3180800          0
            dgramrcvbuf           0       8376     159744     262144          0
            numothersock        123        420        420        420       1889
            dcachesize       293364     419252    2205000    2305000          0
            numfile            1230       1892       6000       6000          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         10        128        128          0


Sind diese werte normal? Postfix gehtn nun


hier mal ein ps auxf
Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1948   632 ?        Ss   Sep05   0:02 init [2]         
root     32611  0.0  0.0   1628   540 ?        Ss   Sep05   0:03 /sbin/syslogd
root     32617  0.0  0.0   1584   372 ?        Ss   Sep05   0:00 /sbin/klogd -x
root      1362  0.0  0.0   2200   844 ?        Ss   Sep05   0:00 /usr/sbin/cron
ben      24103  0.0  0.5  10424  6732 ?        S    Sep08   6:19 ./znc
root     23724  0.0  0.1   3516  1340 ?        Ss   Sep23   0:00 /usr/sbin/vsftpd
root     20030  0.0  0.0   4936  1120 ?        Ss   Sep24   0:01 /usr/sbin/sshd
root     32476  0.0  0.1   7704  2320 ?        Ss   10:23   0:00  \_ sshd: ben [priv] 
ben      32492  0.0  0.1   7864  1592 ?        S    10:23   0:00  |   \_ sshd: ben@pts/0  
ben      32493  0.0  0.2   4156  2808 pts/0    Ss   10:23   0:00  |       \_ -bash
root     24363  0.0  0.0   2536  1044 pts/0    S    16:58   0:00  |           \_ su
root     24370  0.0  0.1   2752  1620 pts/0    S    16:58   0:00  |               \_ bash
root     28199  0.0  0.0   2216   880 pts/0    R+   17:06   0:00  |                   \_ ps auxf
root      5198  0.0  0.1   7708  2292 ?        Ss   10:30   0:00  \_ sshd: ben [priv] 
ben       5204  0.0  0.1   7708  1540 ?        S    10:30   0:00      \_ sshd: ben@notty  
ben       5205  0.0  0.0   4228  1256 ?        Ss   10:30   0:00          \_ /usr/lib/openssh/sftp-server
root     21534  0.0  0.4  17864  6184 ?        Ss   16:52   0:00 /usr/sbin/apache2 -k start
www-data 21539  0.0  0.2  17864  3712 ?        S    16:52   0:00  \_ /usr/sbin/apache2 -k start
www-data 24356  0.0  0.2  17864  3368 ?        S    16:58   0:00  \_ /usr/sbin/apache2 -k start
www-data 24357  0.0  0.2  17864  3368 ?        S    16:58   0:00  \_ /usr/sbin/apache2 -k start
root     24015  0.0  0.0   2456  1176 pts/0    S    16:57   0:00 /bin/sh /usr/bin/mysqld_safe
mysql    24060  0.1  0.5  35780  6920 pts/0    Sl   16:57   0:00  \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --
root     24061  0.0  0.0   1568   512 pts/0    S    16:57   0:00  \_ logger -p daemon.err -t mysqld_safe -i -t mysqld
ben      24168  0.0  0.3  15444  4232 pts/0    Sl   16:57   0:00 ./eggdrop
ben      24281  0.0  0.2  14832  3472 pts/0    Sl   16:58   0:00 ./eggdrop
ben      24350  0.0  0.2  14840  3396 pts/0    Sl   16:58   0:00 ./eggdrop
root     26143  0.0  0.1   4820  1616 ?        Ss   17:00   0:00 /usr/lib/postfix/master
postfix  26146  0.0  0.1   4824  1560 ?        S    17:00   0:00  \_ pickup -l -t fifo -u -c
postfix  26147  0.0  0.1   4860  1708 ?        S    17:00   0:00  \_ qmgr -l -t fifo -u
postfix  27849  0.0  0.1   4876  1992 ?        S    17:04   0:00  \_ tlsmgr -l -t unix -u -c
postfix  27850  0.0  0.1   4828  1580 ?        S    17:04   0:00  \_ anvil -l -t unix -u -c
 
Last edited by a moderator:
Back
Top