Skip to content Skip to sidebar Skip to footer

Operationalerror: (2001, "can't Create Unix Socket (24)")

I am using django-1.2 and python-2.6 and I am using mysql server. After working for a while - selecting and updating records, I got this error: Exception in thread Thread-269: Trac

Solution 1:

On my machine, errno==24 is defined like

#define EMFILE          24      /* Too many open files */

Which means you are running out of filedescriptors. Your app is "leaking" filedescriptors by opening them (and not closing them) again and again.

Solution 2:

Maybe you're not forgetting to close file. But have too many files opened at the same time.

Post a Comment for "Operationalerror: (2001, "can't Create Unix Socket (24)")"