Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Mass-mailing only capable of sending to around 350 addresses

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
mass_mailing
3 Respuestas
9341 Vistas
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
Descartar
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
Autor

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
Autor Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
odoo mass mailing get opened replied and bounced data on localhost
mass_mailing
Avatar
Avatar
1
mar 24
2833
[URGENT] Mass mailing template IF condition with HTML
mass_mailing
Avatar
Avatar
1
abr 21
3045
Odoo13CE mass_mailing not visible
mass_mailing
Avatar
Avatar
2
jun 20
3928
Is it possible to add mass_mailing module to a local OpenERP 7 server?
mass_mailing
Avatar
Avatar
Avatar
5
ene 20
6497
Mass mailing - subject is empty if non-english characters used (ě,š,č,ř,ž,ý...) but not empty without non-english characters Resuelto
mass_mailing
Avatar
Avatar
2
feb 18
4545
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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