Common SQL Errors

MySQL Error 36: EE_FAILED_TO_CREATE_TIMER - How to Fix and Prevent

Galaxy Team
August 5, 2025

MySQL cannot create an internal timer because the operating system returned an error, often due to low file descriptor or kernel resource limits.

Sign up for the latest in common SQL errors from the Galaxy Team!
Welcome to the Galaxy, Guardian!
You'll be receiving a confirmation email

Follow us on twitter :)
Oops! Something went wrong while submitting the form.

What is MySQL error 36 (EE_FAILED_TO_CREATE_TIMER)?

MySQL Error 36: EE_FAILED_TO_CREATE_TIMER signals that the server could not create an internal timer object because the host OS ran out of permitted resources. Raise file-descriptor or kernel timer limits, free memory, and restart MySQL to clear the error.

Error Highlights

Typical Error Message

Failed to create timer (OS errno %d). EE_FAILED_TO_CREATE_TIMER was added in 8.0.13.

Error Type

System Error

Language

MySQL

Symbol

EE_FAILED_TO_CREATE_TIMER

Error Code

36

SQL State

Explanation

Table of Contents

What does MySQL Error 36: EE_FAILED_TO_CREATE_TIMER mean?

The message "Failed to create timer (OS errno X)" indicates that mysqld asked the operating system to create an internal POSIX timer but the call failed. The numeric OS errno appended to the message pinpoints the underlying system problem, such as EMFILE or ENOMEM.

Timers drive MySQL background tasks including replication heartbeats, timeouts, and Performance Schema instrumentation. When the timer cannot be created, these tasks stall, degrading stability and sometimes preventing server startup.

When does this error appear?

The error is logged during server startup or while scheduling periodic work such as InnoDB purge threads. It was introduced in MySQL 8.0.13, so earlier versions never emit it. You will typically see it inside the error log before mysqld shuts down automatically.

Is it critical to fix?

Yes. Because the timer creation is foundational, MySQL either refuses to start or becomes unreliable if it continues running. Immediate remediation avoids downtime and downstream application errors.

Common Causes

Related Errors

FAQs

Does EE_FAILED_TO_CREATE_TIMER always stop MySQL from starting?

In most cases yes. The server exits during init because critical background work depends on timers. Rarely, the error appears later and triggers a crash.

Which MySQL versions are affected?

Only MySQL 8.0.13 and newer include the timer infrastructure that raises this error.

Can I ignore the error if MySQL is running?

No. Even if mysqld stays up, missing timers can break replication and timeout handling. Address the resource limits immediately.

How does Galaxy help?

Galaxy surfaces server error logs next to your queries, letting you detect EE_FAILED_TO_CREATE_TIMER quickly. You can restart and monitor status within the editor without leaving your workflow.

Start Querying with the Modern SQL Editor Today!
Welcome to the Galaxy, Guardian!
You'll be receiving a confirmation email

Follow us on twitter :)
Oops! Something went wrong while submitting the form.

Check out some other errors

Trusted by top engineers on high-velocity teams
Aryeo Logo
Assort Health
Curri
Rubie Logo
Bauhealth Logo
Truvideo Logo