Estou tentando enviar e-mail com o PHP (engine - Drupal). Mas ele não pode enviar e-mails e escrever mensagens sobre ele para registrar (nada mais que endereçado).
Parte de /var/log/mail.err
:
Feb 14 19:55:30 hivede13-3220 dovecot: master: Error: service(auth): fork() failed: Cannot allocate memory
Feb 14 19:55:30 hivede13-3220 dovecot: master: Error: service(auth): command startup failed, throttling
Feb 15 17:14:30 hivede13-3220 dovecot: master: Error: service(imap-login): fork() failed: Cannot allocate memory
Feb 15 17:14:30 hivede13-3220 dovecot: master: Error: service(imap-login): command startup failed, throttling
Mas o comando free -m
depois de enviar o próximo show
total used free shared buffers cached\
Mem: 1400 1011 388 0 0 0
-/+ buffers/cache: 1011 388
Swap: 0 0 0
Isso significa que 388m livres para uso em aplicativos, certo? Se sim - como posso melhorar a situação?
UPD. top -b -n 1 | grep dovecot
output
1689 root 16 0 21244 912 644 S 0.0 0.1 0:00.00 dovecot
1690 dovecot 18 0 12780 1024 844 S 0.0 0.1 0:00.00 anvil
ID do processo do Dovecot - 1689, cat /proc/1689/limits
output
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 10485760 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 771811 771811 processes
Max open files 1024 1024 files
Max locked memory 32768 32768 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 771811 771811 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0