Bobcares

wesupport

CLIENT AREACall Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Inotify Initialization Error – Fix this quickly

by | Oct 15, 2021

Most often, we come across the Inotify Initialization Error due to insufficient value for the per-userid limit of inotify file descriptors.

Here, at Bobcares, we assist several of our customers with this query as part of our Server Management Services.

Today, let us see how we can fix this error.

 

Inotify Initialization Error

Some of the most common symptoms of this error include the following.

  • We cannot send emails from a Plesk server using a mail client. It will show the below error:

Your IMAP server wants to alert you to the following: Inotify initialization error

For example, Outlook.

  • It uses a courier IMAP server for IMAP/POP3 delivery.
  • Similarly, in the /var/log/maillog log file, we can find the following errors:

plesk courier-imaps: Failed to create cache file: maildirwatch ([email protected])
plesk courier-imaps: Error: Too many open files

Moving ahead, let us see how our Support Techs fix this error in an easy and effective way.

Initially, we connect to the server via SSH.

Then we check the current per-userid limit of inotify file descriptors:

cat /proc/sys/fs/inotify/max_user_instances
128

After that, we need to increase this value to a greater one via the command below:

echo “fs.inotify.max_user_instances=200” >> /etc/sysctl.conf

Here, we are increasing it from 128 to 200.

Make note that, the rough metric is the number of concurrent IMAP sessions multiplied by 4.

Eventually, we apply the changes by executing the command:

sysctl -p

Finally, we restart Courier-Imap services:

systemctl restart courier*

[Stuck in between? We are more than happy to help you resolve]

 

Conclusion

To conclude, here we saw how our Support Techs fix the Inotify Initialization Error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Reviews