Error with M1 Apple Silicon and wp_mail

Q: Date/Time this occurred (Provide your time zone also)
GMT+1 02/08/2022

Q: DevKinsta Version
Version 2.1.0 (

Q: OS Version
11.2.3 (20D91)

Q: Docker Desktop Version
3.5.2 66501

Q: Were any error codes or messages observed? If so, what were they?

wp> wp_mail('', 'test', 'test')
runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc

runtime stack:
runtime.throw(0x6b2000, 0x9)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/panic.go:530 +0x90
runtime.newosproc(0xc820026000, 0xc820035fc0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/os1_linux.go:149 +0x18c
runtime.newm(0x715c28, 0x0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:1513 +0x135
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:125 +0x2c
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:291 +0x79

goroutine 1 [running]:
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:245 fp=0xc820020770 sp=0xc820020768
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:126 +0x62 fp=0xc8200207c0 sp=0xc820020770
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200207c8 sp=0xc8200207c0
=> bool(false)

Q: Detailed Description of the Problem
A default DevKinsta/Wordpress installation does not send emails to Mailhog. Mailhog is running, but no email are received. Tested both in the admin interface and WPCLI.

Sorry for the wait here, @Marek_Maurizio . We’re currently reviewing this and will get back to you shortly!

1 Like

Thank you @michael. My knowloedge of Docker is very limited, so forgive me if I am mistaken, but I guess a version of the docker images compiled for the arm64 architecture would prevent this error and bring better performances too. Right now I got this message.

Any news on that?
I used the system for a while developing a website and the email sending problem seems to be the only problem i got for now.

I’m sorry for the wait here @Marek_Maurizio . There does appear to be a bug with M1 machines at the moment that our developers are looking into.

1 Like