PDA

View Full Version : Too many files open: error on my seedbox [SOLVED]



Eraser
02-22-2010, 03:08 AM
I am new in TightVNC so am using it to connect to my server. I am trying to create a torrent with uTorrent through TVNC but I keep getting an error

"There was an error computing the hash:(4) Too many files open."

I tried different pice sizes but same thing. :frusty:

File size 18gb
torrent size <500kb

Cabalo
02-22-2010, 03:50 AM
I assume you are running a *nix machine? Debian or ubuntu maybe?

drop a console and type:

ulimit -n

it should return 1024, the default value.

Now, type

sudo nano /etc/security/limits.conf

everything is commented out in that file, so just copy/paste this line anywhere there

* hard nofile 2048

save the file and reboot the machine.

If 2048 isn't enough, try 4096

Oh, I forgot, you must have root to do this. If you're sharing a box, you'll have to ask your admin to do these changes for you. Most will do it without a problem.

Eraser
02-22-2010, 05:35 AM
thanx for reply but how do I "drop the console"?
like I said I dont know much about TVNC

Where do I type all that?

I do have shared box so I will email the admin about it.

thanx again

Cabalo
02-22-2010, 06:29 AM
If it's shared you'll have to email it to the admin, that's right.
If it doesn't work, I have another solution for that.

Bubbles
02-22-2010, 12:38 PM
Gosh I used to get that same error in every single mp3 pack I downloaded from ScT, arsh.

Eraser
02-22-2010, 01:19 PM
You were right Cabalo. I emailed the admin and he raised it to 11000 which I think is enough.

Thanx for your help.

Cabalo
02-22-2010, 01:37 PM
Gosh I used to get that same error in every single mp3 pack I downloaded from ScT, arsh.

That's EXACTLY the same way I discovered I had to do this. Their packs had way too many files and my utorrent running on WINE would stop every minute with errors.
This fixed that.

I've edited the thread title to make it easier for people to find the solution here.