O'Reilly logo

Red Hat Enterprise Linux Troubleshooting Guide by Benjamin Cane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A look back

Now that we have resolved the issue, let's take a second to look at what we did to resolve the issue.

Too many open files

In order to troubleshoot our issue, we executed a scheduled cron job manually. If we circle back to previous chapters, this is a prime example of duplicating an issue and seeing it for ourselves.

In this case, the job was not performing the tasks it was supposed to. In order to identify the reason, we ran it manually.

During that manual execution, we were able to identify the following error:

IOError: [Errno 24] Too many open files: '/opt/myapp/queue/1433955823.29_0.txt'

This error is very common and is caused by the job running into user limits that prevent a single user from opening too many files. To resolve this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required