[SOLVED] Maximun TCP open connections and Open File Descriptors

Hi,
back when I was using XP I needed to patch a system file to increase max amount of open TCP connections - you surely know about this. I'm wondering how do I do the same in GNU/Linux and if that's real important here.
Also, by default open files are set to 1024, how do I change that? I'm running x86_64 + KDE SC 4.4.2
Last edited by martin77 (2010-04-12 04:17:27)

Thanks for replying.
I mean "open file handler" or in a better GNU/Linux terminology "open file descriptors" aka the maximun number of files that can be accessed at a given time.
For instance, VMWare will need you increase them to 4096 to work properly - and I presume something in the order of 5120 would be ok.
Following The Arch Way, already found the solution and want to share it with all of you fellow n00bs:
1. you need to open for edit /etc/security/limits.conf file with root privileges
2. at the end of the file add:
* soft nofile nn
* hard nofile nn
where nn is the number of open file descriptors you want. I set them to 8196 (probably too high) so for instance it should read:
* soft nofile 8192
* hard nofile 8192
Read the embedded help for a better understanding of this crucial configuration file.
As usual, thank you very much to this great community, devs and users, best!
Last edited by martin77 (2010-04-12 04:18:47)

Similar Messages

  • Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    I'm not sure I understand the connection between iCloud and this problem.  Is it simply a problem of coincidental timing (ie, the problem happened after you set up iCloud)?  If so, there's almost certainly no connection between these two events.
    Where are you getting the files you're trying to open, and what specifically happens when you try to open them?

  • Slow to open Illustrator and Photoshop files from FileServer

    I have a client that has 5 or so Mac users who cannot open Illustrator and Photoshop files from our Windows Server 2008 R2 Standard. At first, we thought it might be the size of the files over the network because some files are 2-3GB, but they are even having issues with files 200KB. We also tested network and bandwidth speeds, but they are all connected to Gigabit connections and running with PowerMacs.
    Some users have a workaround by copying the files to their desktop to open, but that is becoming tedious as well.
    Does anyone have another solution or know what might be cause to this?

    >Anyone know a way?
    You want to edit a Photoshop file, buy Photoshop. You want to edit an Illustrator file, buy Illustrator.

  • Having trouble opening connections and reading from Bluetooth devices.

    Hello,
    As the title states, I am having trouble opening connections and reading data from a Bluetooth device. We are using a PDA to communicate with LabVIEW. First, the Bluetooth Open Connection VI displays a timeout error half of the time. Second, when it does open, it does not read what the PDA is sending. Third, if it does allow an open connection, it will not do it a second time unless the devices are turned off.
    I also have another related question. I am using a Linksys Bluetooth USB adapter, and the driver is proprietary. Labview requires the use of a Microsoft driver, and we are having problems going back and forth between the drivers. What Bluetooth receiver would you suggest using? The reason I ask is the fact that you have Bluetooth examples of client VI's. Therefore, you must use a similar device. Thank you for your time.
    -Jon

    Hi Jon,
    I'm not sure what Bluetooth receivers were used to verify the functionality of the VIs. However, I still want to help you solve your issue. Please make sure that you are running the shipping examples and let me know what version of LabVIEW, what PC OS and what PDA OS you are using. Does the Microsoft driver work for your Bluetooth receiver if you uninstall the Linksys driver?
    With your answers I'll do my best to help you out.
    - Philip Courtois, Thinkbot Solutions

  • When in mode dev to develop my website, I can't open buttons and PDF files to check my changes or somebody else's changes. What is wrong ? (I updated  Adobe Reader)

    when in mode dev to develop my website, I can't open buttons and PDF files to check my changes or somebody else's changes. What is wrong ? (I already updated  Adobe Reader)

    Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!

  • How can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?

    Hi,
    I would like to know as to how can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?
    Kindly advice.
    Thanks
    Priya

    Special > Hypertext > Command "open document" will do its best to open the target document inside FrameMaker, which may not be much help; Special > Hypertext > Command "message …" will use the application you specify. The user guide for 7.0 says this about absolute links, and I don't think anything has changed since:
    For example, to start PaintBrush and open the Ship.pcx file on drive C you would use the command message system pbrush.exe C:/Ship.pcx
    I've not often used a relative link, and not recently: the same source says
    folder levels are separated by a slash / even in Windows and Mac
    [relative links] FrameMaker searches for a relative pathname beginning in the folder that contains the current document
    [absolute links] FrameMaker searches for an absolute pathname beginning at the top of the file system. In Windows, the absolute pathname begins with the drive specifier, a colon and a slash.

  • I can't make ADE the default program to open EPUB and MOBI files

    Hello, I can't seem to be able to make ADE the default program to open EPUB and MOBI files. I use Windows 7. I used to use a Firefox plug-in to view these files, and before that I used Calibre. I have been told that these are both inadequate. When I go into the Control Panel to change the default program to open these files, however, ADE is not listed as one of the possibilities (only Firefox and Calibre are), and when I search it just brings up Adobe Acrobat. Any advice? Thanks, Bill.

    I think I have answered my own question. This time I clicked on Browse for the program to set as the default, and I selected the Downloads program, and there it was. For some reason I had to re-install it several times, and it kept re-installing and re-installing. But all seems to be OK now. 

  • Opening .doc and .docx files in Pages

    I've been trying to make pages a default application to open .doc and .docx files instead of Textedit, but couldn't find a way?
    any help?

    Select a document in the Finder, choose Get Info from the File menu, specify Pages under Open With, click on Change All, and confirm this action.
    (42061)

  • Can't open doc and rtf files on my nokia e61i

    hi!I am new here,i have a problem with my e61i,I can not open doc and rtf files,if someone has a clue to tell me how can i fix the problem i'll be gratefull

    I don't know if this will help but I had a similar problem that started yesterday. I have two macs.  Once can't open MS Office files from the other Mac but can open Office files on each Mac. Drove me nuts for about 2 hours today - on the phone with Apple twice and Microsoft once.  Finally found a similar post from 2007 that suggested to turn off and on file sharing by unchecking the "Share files and folders using AFP", on both computers and rebooting. That fixed it. 
    Funny thing, it was only with Office files I created since updating the software last week. Old Office files opened fine. 

  • I can't open video and picures files from cammera

    i can't open video and pictures files from PowerShot SD 780 IS DIGITAL ELPH Cammera
    how can i open video and pictures files from my Cammera, i need help!!!!!
    == This happened ==
    Every time Firefox opened
    == Everytime

    If you want to drag and drop ( don;t know why you would do this), you will have to check manually manage music.
    Why not just sync?
    iPhone User Guide (For iOS 5.0 Software)

  • Opening PDF and PPT files without using BuddyApi

    Hi, please excuse my newness.
    I'm wanting to open pdf and ppt files through Director (I'm using 11.5) but I'm struggling with finding the right code to make it work. I saw that a lot of people are recommending Buddy Api. However I'm cheap and was hoping that there would be a way to open files without having to resort to using/paying for this xtra. Is there a reason why opening files in Director seems to be such a hassle?
    Thanks in advance.

    I'll also add that from my understanding, an unregistered version of Buddy API can be used in commercial applications.
    Buddy API is a great Xtra and if you're going to be developing applications with Director, this Xtra will be a valuable purchase. Buddy Xtra is recommended a lot in the Director forums for a good reason.
    Dean
    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au

  • Open .lwp and .123 files in Windows 7

    How do I open .lwp and .123 files in Windows 7?

    Check the lotus pages. Perhaps there is some conversion tool or web-based service that allows to export to more modern formats like MS Office.
    IBM Collaboration Solutions software - Lotus software
    Mylenium

  • How can i open .xlsm and .pptm files

    how can i open .xlsm and .pptm files
    i have spent alot of money on every key doc editor on iOS 5 and i still cannot get one of the macro enabled files to open

    You can check out something like this:
    http://download.cnet.com/Outlook-MSG-Viewer/3000-2369_4-75220686.html
    http://www.ehow.com/how_7334388_open-eml-attachment-mac-computer.html
    There are many others these are just a couple, do a search, or maybe these will be fine for your need.
    All the best

  • How do i connect and open itunes from my computer

    how do i connect and open itunes from my computer

    Organize the library from within iTunes, right-click any song, show it in the Windows Explorer, quit iTunes, go into the Windows Explorer, navigate up to the iTunes folder, drag that to the external drive, launch iTunes with the Shift key hald down, and point it to that instance of the library.
    (82828)

  • I use a PC - I need to open ai and eps files - what adobe program do I need to purchase?

    I use a PC - I need to open ai and eps files - what adobe program do I need to purchase?

    You need Illustrator to open .ai files. That is, if you want to edit them.
    If you just need to place them, then tell us what you want to do with the files.

Maybe you are looking for

  • Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationSe

    I'm using a User defined function "getFGN" to call a Java Class developed in NWDS. the source in NWDS has no errors when it is build. But when i Run the code i get error below. Buy using the Debugging facility in NWDS i can see that the problem is th

  • New to Java and need help with this program..please!

    I'd really appreciate any helpful comments about this program assignment that I have to turn in a week from Friday. I'm taking a class one night a week and completely new to Java. I'd ask my professor for help, but we can't call him during the week a

  • XML photo gallery tutorial

    hi guys, I need to create a flash photo gallery that loads the photos and photo title with xml but can't seems to b able to find a suitable one. this is what i need to do http://www.afterlights.com/phuket/photo_gallery.html basically the photos, thum

  • Why don't images place where the cursor is?

    I am using Page 13 with Mavericks. Anyway, when inserting an image into a document (by either copy/pasting or going to Insert > Choose) the image just seems to plant itself in some really random area of the page. It never, ever goes where my cursor i

  • Data loss between Address Book and Contacts

    I have some detail in my address book (detail within individual contact) on my desktop that does not seem to "push" to my iphone. I get phone number, address but not the rest of the detail I have added via address book. Is there a way to expand the d