LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2016, 04:21 PM   #1
niftyhamster
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Rep: Reputation: Disabled
Failing because we have 4063 connections already. Please read doc


Hi there,

I get a lot of error messages "Failing because we have 4063 connections already. Please read doc". I am running Debian 7 64 fully patched. I already googled this error message and could not solve it. Playing around with ulimit does nothing.

Anyone any good idea how to get rid of this error? Thanks for reading

niftyhamster

PS: Please speak newbie to me
 
Old 09-28-2016, 06:08 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,406

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
you need to be more specific about what is causing tnis error is it in a browser, command line, what commands are u actually using?
 
Old 09-28-2016, 06:15 PM   #3
niftyhamster
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
niftyhedgehog notices.log RN] Failing because we have 4063 connections already. Please read doc
root@43ba79:~# cat /proc/sys/fs/file-max
100000
root@43ba79:~# ls
niftyhedgehog notices.log RN] Failing because we have 4063 connections already. Please read doc
root@43ba79:~# nano /etc/security/limits.conf
root@43ba79:~# ulimit -n -H
65535
root@43ba79:~# ls
niftyhedgehog notices.log RN] Failing because we have 4063 connections already. Please read doc
root@43ba79:~# cat /proc/sys/fs/file-max
100000
root@43ba79:~#


Sorry, it shows up on the CLI. So its a message from Debian itself and not from an installed prg.

Cheers,

Markus
 
Old 09-29-2016, 01:40 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 5,802

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
^ do you mean it shows up whenever you open a terminal, and whenever you enter 'ls'?

incidentally, why are you root? does the error also occur when you're a normal user?

and...
Quote:
Originally Posted by niftyhamster View Post
I am running Debian 7 64 fully patched.
...what do you mean "fully patched"?
what distro are you actually using?
 
Old 09-29-2016, 08:04 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,208
Blog Entries: 4

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
You can't have done much Googling, because if you had searched for exact-phrases you would find that this message is coming from tor.

There is always a limit as to the maximum number of connections that any server (process) can accept, and therefore sustain, at any one time. More connection-requests might come, such that a select() loop would see them, but the process can only open so-many sockets at one time.

If you are now entertaining over four thousand sockets, you already have a serious problem, and that is the root-cause problem, not any sort of limit-tweaking command that you might use to increase the limits that prevail.
 
2 members found this post helpful.
Old 09-29-2016, 08:33 AM   #6
niftyhamster
LQ Newbie
 
Registered: Feb 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
You can't have done much Googling, because if you had searched for exact-phrases you would find that this message is coming from tor.

As I said: I googled it and the fix with ulimit does not help on this server. Read it again. Understand it.

There is always a limit as to the maximum number of connections that any server (process) can accept, and therefore sustain, at any one time. More connection-requests might come, such that a select() loop would see them, but the process can only open so-many sockets at one time.

UHHHH, yeah?

If you are now entertaining over four thousand sockets, you already have a serious problem, and that is the root-cause problem, not any sort of limit-tweaking command that you might use to increase the limits that prevail.
Right, thank you for not helping but bulls****ing me.
 
Old 09-29-2016, 06:09 PM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,406

Rep: Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603Reputation: 603
sundialsvcs is correct a simple google search for that error ( i copied and pasted it as you posted it ) givez a load of links all pointing to the problem being with tor.
 
Old 09-30-2016, 12:54 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 5,802

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by sundialsvcs View Post
There is always a limit as to the maximum number of connections that any server (process) can accept, and therefore sustain, at any one time.

aaah, it's a server!
another piece of crucial information withheld.

niftyhamster, the reactions you received are entirely justified.
you however, slowly drifting into abusive language and still not providing the minimum effort required to enable others to help you, aren't justified.

please read the first link in my signature.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failing to read the correct data on Beagle bone black using ioctl and file read on I2C bus 0 jwmueckl Linux - Newbie 1 04-05-2016 11:53 AM
Why are connections to https failing? General Linux - Networking 14 02-04-2016 11:46 PM
How do I read the content of a X-doc package? coss_cat Linux - Software 3 02-01-2012 08:30 PM
???Linux able to read and generate .ppt and .doc??? Handmark Linux - Newbie 16 08-01-2008 01:44 AM
OpenOffic.org cant read .doc formula?! milad126 Linux - General 3 09-06-2006 06:49 AM


All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration