I writed simple code for test, how much files may be open in python script:
for i in xrange(2000): fp = open(\'files/file_%d\' % i, \'w\') fp.write(s
Most likely because the operating system has a limit for the number of files that an application can have open.