delphiguy Posted November 20, 2006 Report Share Posted November 20, 2006 Cheers,I am using uTorrent as my preferred BitTorrent Client for my Ubuntu Edgy system, however I have stumbled on something that I am not sure whether it is a uTorrent issue or a Linux one...On some of the torrents I tried to download I get the error "too many open files", does somebody from here knows how to fix this?Thanks Link to comment Share on other sites More sharing options...
Ultima Posted November 21, 2006 Report Share Posted November 21, 2006 Hm, possibly a Wine or OS limitation? Link to comment Share on other sites More sharing options...
DreadWingKnight Posted November 21, 2006 Report Share Posted November 21, 2006 ulimit -n Link to comment Share on other sites More sharing options...
caf4926 Posted November 21, 2006 Report Share Posted November 21, 2006 never had this prob myself, though I use SuSedare I say azureus is an alt of course Link to comment Share on other sites More sharing options...
darklegion Posted December 1, 2006 Report Share Posted December 1, 2006 'ulimit -n 4096' fixed the problem for me.However, since you can't run this as a normal user you need to do this:xhost + su ulimit -n 4096su <your username>wine utorrent.exeUsing 'xhost +' is security risk itself, though.Under gentoo you can set this permanently by adding the following to /etc/security/limits.conf :<your username> hard nofile 4096I haven't rebooted to test the above yet, but it should work.Check your distribution's documentation/forums if your distribution doesn't have /etc/security/limits.conf. Link to comment Share on other sites More sharing options...
bgmnt Posted January 5, 2007 Report Share Posted January 5, 2007 Hi,since you are using Ubuntu here is the clean solution for Debian-based systems:You can do exactly what the user darklegion suggested for Gentoo.As root edit the file /etc/security/limits.conf and append the line<your username> hard nofile 8192to increase the limit from 1024 to 8192. You will have to logout and login again to make the new setting work. Verify that it is set correctly with ulimit -n (as user).cheersanonymous Link to comment Share on other sites More sharing options...
mastrboy Posted September 13, 2007 Report Share Posted September 13, 2007 this should be in the utorrent FAQ, encountered this problem when downloading a torrent with many files. Link to comment Share on other sites More sharing options...
Pramod Posted November 6, 2008 Report Share Posted November 6, 2008 Cheers,I am using uTorrent as my preferred BitTorrent Client for my Ubuntu Edgy system, however I have stumbled on something that I am not sure whether it is a uTorrent issue or a Linux one...On some of the torrents I tried to download I get the error "too many open files", does somebody from here knows how to fix this?Thankssame problem in Fedora Core 8tried ulimit -n on various numers 8192,10240 etcand changing max half open but now half open is 8 and 8192 is ulimit -n but can please any1 fix the problem? because of torrent stops and have to sit infront of UT so that when it stops can start it again Link to comment Share on other sites More sharing options...
Firon Posted November 7, 2008 Report Share Posted November 7, 2008 Set an insanely high ulimit and make sure it's actually kicking in for µTorrent. Link to comment Share on other sites More sharing options...
DreadWingKnight Posted November 7, 2008 Report Share Posted November 7, 2008 And make sure that the total of the following is BELOW that limit:1> Global Number of connections2> Number of files in all torrents loaded3> Number of torrents loaded4> 25 Link to comment Share on other sites More sharing options...
Pramod Posted November 7, 2008 Report Share Posted November 7, 2008 1: 10002: 10000 files u can think approx in 25torretns3: 25-35 Link to comment Share on other sites More sharing options...
DreadWingKnight Posted November 7, 2008 Report Share Posted November 7, 2008 Minimum ulimit -n -> 11100 Link to comment Share on other sites More sharing options...
fritzroy15 Posted June 28, 2010 Report Share Posted June 28, 2010 for ubuntu 10.4 I usedCode:user_name soft nofile 8192and it worked, hope it helps Link to comment Share on other sites More sharing options...
peatorrent Posted October 16, 2010 Report Share Posted October 16, 2010 OKAY,... I'M PISSED... I don't have the time to google anymore..! I already wasted 3 weeks, 4 formats to fix this problem and it's reaaaallllyyyyy pissing to redo allllll the setting.. I think this is the solution for my high cpu usage and continous 'Error, can't open file'!!!! I'm on ubuntu 10.04.1. The line which fritzroy15 mentioned doesn't seem to work for me!Like how do I find the actual username because in the user account windows, I see my name and underneath is another name in italic. I tired both name and added it to my /etc/security/limits.conf fileUploaded with ImageShack.usDoesn't seem to work!!!!!! I tried adding all the type of format mentioned in thread.. what am I missing????????Here the complete file below with the added line. Tell me what I should try adding/removing!!! #/etc/security/limits.conf##Each line describes a limit for a user in the form:##<domain> <type> <item> <value>##Where:#<domain> can be:# - an user name# - a group name, with @group syntax# - the wildcard *, for default entry# - the wildcard %, can be also used with %group syntax,# for maxlogin limit# - NOTE: group and wildcard limits are not applied to root.# To apply a limit to the root user, <domain> must be# the literal username root.##<type> can have the two values:# - "soft" for enforcing the soft limits# - "hard" for enforcing hard limits##<item> can be one of the following:# - core - limits the core file size (KB)# - data - max data size (KB)# - fsize - maximum filesize (KB)# - memlock - max locked-in-memory address space (KB)# - nofile - max number of open files# - rss - max resident set size (KB)# - stack - max stack size (KB)# - cpu - max CPU time (MIN)# - nproc - max number of processes# - as - address space limit (KB)# - maxlogins - max number of logins for this user# - maxsyslogins - max number of logins on the system# - priority - the priority to run user process with# - locks - max number of file locks the user can hold# - sigpending - max number of pending signals# - msgqueue - max memory used by POSIX message queues (bytes)# - nice - max nice priority allowed to raise to values: [-20, 19]# - rtprio - max realtime priority# - chroot - change root to directory (Debian-specific)##<domain> <type> <item> <value>##* soft core 0#root hard core 100000#* hard rss 10000#@student hard nproc 20#@faculty soft nproc 20#@faculty hard nproc 50#ftp hard nproc 0#ftp - chroot /ftp#@student - maxlogins 4bahie soft nofile 8192#End of fileOne more thing, after running 'users' command on terminal, I get 'bahie bahie'!! why double 'bahie'? Link to comment Share on other sites More sharing options...
peatorrent Posted October 17, 2010 Report Share Posted October 17, 2010 anyone? Link to comment Share on other sites More sharing options...
DreadWingKnight Posted October 17, 2010 Report Share Posted October 17, 2010 Did you log out and in after applying the setting change?What are your settings for preferences - queueing and preferences - bandwidth?How many files are in the torrents you're loading? Link to comment Share on other sites More sharing options...
peatorrent Posted October 19, 2010 Report Share Posted October 19, 2010 Did you log out and in after applying the setting change?What are your settings for preferences - queueing and preferences - bandwidth?How many files are in the torrents you're loading?Yes, I applied, logged out, checked - no change, check the file to see if it went default -no it didn't, rebooted again, check ulimit still default, x10 times!Queuing - 3, limited up 15kb/sec, limited down 150kb/sec,preferences, pretty much default... other than custom port500 download, 200 completed..100 cpu also!!!!! see my filed bug http://bugs.winehq.org/show_bug.cgi?id=24755 Link to comment Share on other sites More sharing options...
peatorrent Posted October 22, 2010 Report Share Posted October 22, 2010 hello..this is serious Link to comment Share on other sites More sharing options...
DreadWingKnight Posted October 22, 2010 Report Share Posted October 22, 2010 check ulimit still default, x10 times!Then the problem is outside the scope of uTorrent if your operating system isn't applying the limit. Link to comment Share on other sites More sharing options...
WLS Posted October 22, 2010 Report Share Posted October 22, 2010 hello..this is seriousWell let's see.#/etc/security/limits.conf##Each line describes a limit for a user in the form:##<domain> <type> <item> <value>##Where:#<domain> can be:# - an user name# - a group name, with @group syntax# - the wildcard *, for default entry# - the wildcard %, can be also used with %group syntax,# for maxlogin limit# - NOTE: group and wildcard limits are not applied to root.# To apply a limit to the root user, <domain> must be# the literal username root.If you are trying to use Abdusamed which is your Administrator (root) account, in your /etc/security/limits.conf file you may want to reread the comments and understand what you are doing.I have no idea what bahle (group name?) might be, but the Username is Abdusamed.uTorrent in Wine just works for me on openSUSE 11.2 and suggest you contact an Ubuntu forum.You are aware that you should never do anything online except update as root in Linux? Link to comment Share on other sites More sharing options...
peatorrent Posted October 23, 2010 Report Share Posted October 23, 2010 Update as root? ah... My bahie [account name : Abdusamed] is administrator. I don't know if can all it root. I still need to enter password for updating, installing, other admin tasks.I don't know if bahie is a group name because in the top menu bar for chat, it says 'bahie' not Abdusamed.It's confusing... but the ulimit don't seem to change no matter what I do. Link to comment Share on other sites More sharing options...
WLS Posted October 23, 2010 Report Share Posted October 23, 2010 Administrator is the root account. Link to comment Share on other sites More sharing options...
peatorrent Posted October 24, 2010 Report Share Posted October 24, 2010 There are two groups 'root' and 'admin' Yes...bahie seems to be a group which I never intended it to be..So what should I do exactly? Link to comment Share on other sites More sharing options...
WLS Posted October 24, 2010 Report Share Posted October 24, 2010 Asking on the ubuntu forums would probably be a better option for you. I didn't realize it had a root group and Administrator group. :/On openSUSE root is root, and root administers the OS, The users in the users group use the OS. Link to comment Share on other sites More sharing options...
peatorrent Posted October 25, 2010 Report Share Posted October 25, 2010 this is confusing... thanx... I guess no solution then Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.