Find Jobs
Hire Freelancers

increase connection limit on linux

$10-30 USD

Closed
Posted almost 10 years ago

$10-30 USD

Paid on delivery
We have ubuntu 13.04 and our software should create 200.000 sockets. socket() function returns error (24 - "Too many open files") after 1002 handles. We've tried to increase the limit by following commands: sysctl -w fs.file-max=100000 ulimit -n 200000 What did we miss?
Project ID: 5900787

About the project

29 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
29 freelancers are bidding on average $38 USD for this job
User Avatar
Hello, I'm linux system engineer with more than 8 years of production experience, i can help you qucik to solve your problem. Regards, Tony
$25 USD in 1 day
5.0 (66 reviews)
5.6
5.6
User Avatar
A proposal has not yet been provided
$24 USD in 1 day
4.9 (69 reviews)
5.4
5.4
User Avatar
Hi, I can solve this issue. You can check my profile and assign the task to me. Regards, Minu https://www.freelancer.com/u/minuthomas.html
$24 USD in 1 day
4.9 (29 reviews)
5.1
5.1
User Avatar
I am a professional Linux and Windows Systems Administrator with more than 14 years of expertise in this field. Completing your project would not be a problem, you can be sure a true professional is working on your project and that it will be completed as indicated. Let me know if you have any queries or need more information. Looking forward to work with you. Regards
$30 USD in 2 days
5.0 (9 reviews)
4.6
4.6
User Avatar
Hey, I'm currently a sys admin for a large hosting company in Europe and I run linux on my own computer, the fix for this will take around 30 minutes max. I can either walk you through it or do it for you. This is a known issue. Message me on Freelancer if you have any questions!
$25 USD in 1 day
5.0 (11 reviews)
4.4
4.4
User Avatar
Hello, I can help you in this, if you give me the server logins... If you are interested in my profile, contact me.. Looking forward to hear from you...
$23 USD in 1 day
5.0 (27 reviews)
4.2
4.2
User Avatar
I am Linux/UNIX expert with 8+ years of experience in system administration, data center, virtualization, networks and web development.
$30 USD in 0 day
5.0 (9 reviews)
4.2
4.2
User Avatar
Hi, I have 5 years experience in Linux and open source. I've setup hundreds of server with various type of services : mail (postfix, exim), apche, dns (bind), ftp, ssh, mysql, keepalived ... I'm also an expert in web admin (PHP, mysql, apache). Please give me a chance to satisfy you. Tks
$35 USD in 1 day
5.0 (14 reviews)
3.8
3.8
User Avatar
Hi I know this error and can fix it. ******************************************************************************************************************
$35 USD in 30 days
5.0 (5 reviews)
3.7
3.7
User Avatar
Hi, We are fast growing hosting company in India. We have expertise in Linux and Windows server setup with management. We used to work with many hosting panels like cpanel, plesk, webmin , direct admin , ispconfig, zpanel, website panel etc. we will increase the limit of your commands as per your requirement. Thanks
$35 USD in 1 day
5.0 (5 reviews)
3.5
3.5
User Avatar
Can help... I am an Expert... Lets Start! Please start a Discussion with me and we can get started from there... Please check the past projects I have handled and check my reviews for what employers have to say about my work... Can start right now...
$400 USD in 7 days
5.0 (3 reviews)
3.3
3.3
User Avatar
I have over 10 years experience working with linux operating systems. And i think i can complete this project with your requirements.
$20 USD in 1 day
5.0 (7 reviews)
3.2
3.2
User Avatar
Hi, I have 10 years of experience in system administration. I have worked on various organisations supporting different architecture. I have extensive knowledge on various linux/unix flavour OS in installation, fine tuning, trouble shooting and hardening. For which user you are trying to change the ulimt value? Did you tried limits config file? We can have a chat now, will help you to solve the issue. Looking forward to work with you on more projects. Thank & Regards Sathishbabu S
$20 USD in 1 day
5.0 (1 review)
0.8
0.8
User Avatar
I`m unix/linux engineer with 15+ years of experience. I work with most major new technologies like openstack,nebula,gwan,apaches,nginx,varnish,mysql,postgresql,vpn`s,nessus,vas,oracle,solaris(especially for NAS/SAN ZFS usage or Java env) and many others. I will be glad to help u. Kind Regards Bartek
$15 USD in 1 day
5.0 (1 review)
0.4
0.4
User Avatar
A proposal has not yet been provided
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, What does >cat /proc/sys/fs/file-max say? -- Alexey
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, Could you please send me the result of following command on your system? ulimit -a Currently, I am sure that the open files number is not set to 200000 as you expected. open files (-n) 1024 One thing important you should aware is that the open files number is specific to each console. You can use ulimit -n to set the number as 200000. But it only availble for the terminal you used. So, on the terminal, you can run your program and then it will be OK. Hope my information can help you. Best Regards ============== Alex
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Also you should check status of the socket. Possible most of them is in TIME_WAIT state. Is it possible to ask developers to add event about open close event in log file, which should help to resolve this issue. thanks, Serge
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Предложение еще не подано
$25 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, You are on the right track with adjusting the max number of open files. As you may or may not know, /proc/sys/fs/file-max is the global system setting. While ulimit set's per process limits (you can view a processes currents limits by looking at /proc/<PID>/limits. Also, with a sufficiently recent kernel (2.6.36) and util-linux, you can use the prlimit command to dynamically get/set process limits). So what you'd need to be sure to do is: - Set the global limit to a reasonable number over 200,000 (I can advise on this after looking at your systems current usage). - Set the process limit for the thing creating the sockets to a value over 200,000 that will allow for any other files it needs to open. - There is one other setting you will likely need to adjust, the ip local port range, this specifies the first and last port numbers to use for outgoing connections and thus will act as a limit in itself. On my Fedora 20 workstation this amounts to under 30,000. ** UPDATE on the above setting (ip local port range,) ** The ip local port range is actually going to cause you a problem. The port range is limited to 0..65535. This is due to the TCP header using 2 bytes (16 bits) to store the src and dst port numbers. You can of course use multiple source IP addresses each with 60,000+ outward connections. I can advise on the best way to handle this. ** END UPDATE ** Cheers, Andrew
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ISRAEL
jerusalem, Israel
5.0
522
Payment method verified
Member since Jan 9, 2001

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.