LinuxQuestions.org
Visit Jeremy's Blog.
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 04-18-2009, 03:19 PM   #1
DrA
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
Help With Sockets


Hello
I am looking for a way to limit socket connections per Ssh user, I believe that thatís is impossible so I would be also happy for a way to limit socket connections per process
I need this because I use a program that if more than X sockets are opened with its http page (for example http://IP:Port) it collapses and re runs itself (and I want to avoid that)
Any help in this subject will be greatly appreciated 
DrA
 
Old 04-18-2009, 05:04 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Well, there's one approach you can take:
# #Allocated, free allocated, and max FDs:
# cat /proc/sys/fs/file-nr

However, any change here will affect all processes in the system.
 
Old 04-18-2009, 05:55 PM   #3
DrA
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Mara View Post
Well, there's one approach you can take:
# #Allocated, free allocated, and max FDs:
# cat /proc/sys/fs/file-nr

However, any change here will affect all processes in the system.
hello

i didnt understand what i am supposed to do, i am very new to linux

DrA
 
  


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
Program to forward tcp sockets to unix domain sockets mikepol Linux - Networking 0 09-27-2007 10:49 AM
sockets in C++ xeon123 Linux - Software 2 05-11-2007 05:24 PM
Sockets.. ashley_31 Linux - Networking 3 06-05-2006 06:39 AM
c and sockets Matir Programming 4 03-09-2005 05:15 PM
Sockets on RH 9.0 rjs2006 Linux - Newbie 1 01-17-2005 11:16 PM


All times are GMT -5. The time now is 08:37 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