One Star

Too many open files - error

I'm running a job which is created to both do an initial load and for daily updates.
I've run the job with success, but now when running it for an update it gets stuck, with the error caused by
java.io.FileNotFoundException: /home/geuder/Documents/workspace/.Java/classes/routines/system/TDieException.class (Too many open files)

Last change made was to turn on a Temp Data for a large table. Could this be causing it?
Can I increase the limit of files?
Or do I need to purge old temp files?
/Geuder
---
Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/TDieException
at mojang_bi.load_user_dim_0_12.Load_User_Dim$TalendException.printStackTrace(Load_User_Dim.java:163)
at mojang_bi.load_user_dim_0_12.Load_User_Dim.runJobInTOS(Load_User_Dim.java:50596)
at mojang_bi.load_user_dim_0_12.Load_User_Dim.main(Load_User_Dim.java:50444)
Caused by: java.lang.ClassNotFoundException: routines.system.TDieException
at java.net.URLClassLoader$1.run(URLClassLoader.java:214)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more
Caused by: java.io.FileNotFoundException: /home/geuder/Documents/workspace/.Java/classes/routines/system/TDieException.class (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at sun.misc.URLClassPath$FileLoader$1.getInputStream(URLClassPath.java:1005)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:266)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
... 8 more
---
1 REPLY
One Star

Re: Too many open files - error

When looking in the /temp dir to which my tMap was pointing I found 8268 files and 157,2 GB.
I'm trying to re-run the job with the tMap pointing to an empty folder.