Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Mass-mailing only capable of sending to around 350 addresses

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
mass_mailing
3 Replies
9426 Tampilan
Avatar
JJ

I'm running a community edition of Odoo 9, with the mass-mailing app installed and support for campaigns. If the mailinglist I use contains around 400 addresses, the mailing is not being send (not even when I repeatedly manually start the automated task of processing the mass-mailing queue). If the mailinglist is around 300-350 addresses everything works fine.

Anyone got any idea what could be the matter? Is there some other setting i'm missing? Or could it have something to do with the max resources of the worker-processes? (My settings: workers=5, limit_memory_hard = 2684354560, limit_memory_soft = 1147483648, limit_request = 4000, limit_time_cpu = 60, limit_time_real = 120)

Thanks a bunch!

0
Avatar
Buang
Yenthe Van Ginneken (Mainframe Monkey)

How often does the automated task go off? Could it be that the scheduler isn't done with processing / sending out the e-mails before it starts again?

JJ
Penulis

If starting the queue task means that a mailing that is in processing is restarted, then this could be the problem. As I have shortened the interval and was repeatedly restarting the task manually (with me having no patients). Only way to figure this out is by trying next month, when the next mailing is due. I will update by then. Thanks for this suggestion Yenthe! Do you have any Idea how long the processing of 3K mail-addresses should take? (Its running on a 2core Digital Ocean instance)

Avatar
JJ
Penulis Jawaban Terbai

Apparently, odoo ran into the cpu time limit while generating the emails.

The log file states about 200 lines of 

openerp.tools.translate: translation went wrong for "'read more'", skipped

followed by

ERROR ? openerp.service.server: Worker (26558) timeout", "ERROR openerp.addons.base.ir.ir_cron: Call of self.pool.get('mail.mass_mailing')._process_mass_mailing_queue(cr, uid, *()) failed in Job 6  
Exception: CPU time limit exceeded.

INFO openerp.service.server: Worker (23346) CPU time limit (60) reached.

My limit_cpu_time was set to 60, I've changed it to 600. That seems to have been the problem. Now the system is sending out 500 emails every time the process_mass_mail_queue action is triggered.

It finishes sending the 500 emails within around 3-4 mins after I manually start the action.

Although mails are being delivered, it now logs the following error sequence:

ERROR openerp.addons.mail.models.mail_mail: failed sending mail (id: 289300) 

ERROR openerp.addons.base.ir.ir_cron: Call of self.pool.get('mail.mass_mailing')._process_mass_mailing_queue(cr, uid, *()) failed in Job 6 
TransactionRollbackError: could not serialize access due to concurrent update

ERROR openerp.addons.mail.models.mail_mail: Failed processing mail queue 
MissingError: (u'One of the records you are trying to modify has already been deleted (Document type: Outgoing Mails).', None)

And this is followed by

DEBUG openerp.addons.base.ir.ir_cron: 24.988s (mail.mail, process_email_queue)

So it might be that the automatic trigger of the mail queue process interferes with the mass mail process.

After setting the interval of the mail queue process to 20 mins instead of 2 mins, so it won't be triggered during the mass mail process, then the mass mail process runs without any errors occurring.

However, after counting the amount of "successfully sent" statements in the log file, I can conclude that the last error does not cause any of the 500 emails to drop.

So for now I conclude that for the mass mail to work (for a lager number of recipients) you will need to make sure that there is sufficient cpu time for the process

Also, if you don't want any errors occurring, make sure that:

  • The mass mail process isn't retriggered while it's running

  • The mail queue process isn't triggered while the mass mail process is running

2
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
odoo mass mailing get opened replied and bounced data on localhost
mass_mailing
Avatar
Avatar
1
Mar 24
2943
[URGENT] Mass mailing template IF condition with HTML
mass_mailing
Avatar
Avatar
1
Apr 21
3127
Odoo13CE mass_mailing not visible
mass_mailing
Avatar
Avatar
2
Jun 20
4017
Is it possible to add mass_mailing module to a local OpenERP 7 server?
mass_mailing
Avatar
Avatar
Avatar
5
Jan 20
6605
Mass mailing - subject is empty if non-english characters used (ě,š,č,ř,ž,ý...) but not empty without non-english characters Diselesaikan
mass_mailing
Avatar
Avatar
2
Feb 18
4613
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now