LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2004, 09:52 AM   #1
DaveStout
LQ Newbie
 
Registered: Aug 2004
Location: England
Posts: 8

Rep: Reputation: 0
Cannot get more than 1024 connections to my server


I am running a program that users can connect to and chat with but for some strange reason I cannot get more than 1019 users in the hub.

When the hub is full of users I get a disconnected message which tells me that the TCP/IP Stack is rejecting my connection.

Any ideas what to check because it runs fine on FreeBSD (apart from the crashes every few hours - BSD problem not the software )

Anything I can look for


Btw... the software is running as root on port 3124

Spud
 
Old 08-12-2004, 12:23 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
What is your network card, I will begin to search from that for my part.
 
Old 08-12-2004, 01:26 PM   #3
DaveStout
LQ Newbie
 
Registered: Aug 2004
Location: England
Posts: 8

Original Poster
Rep: Reputation: 0
Interesting question. I can't remember ..... it's a server on a server farm. I am only able to connect via SSH to manage it.

Anyway I can find out ?

And I know the server has had over 7000 connections when it was running windowsXP Pro ....

Anything else i can do ?

Spud
 
Old 08-12-2004, 02:16 PM   #4
DaveStout
LQ Newbie
 
Registered: Aug 2004
Location: England
Posts: 8

Original Poster
Rep: Reputation: 0
I get this from dmesg



Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 10 for device 00:09.0
PCI: Sharing IRQ 10 with 00:07.5
eth0: OEM i82557/i82558 10/100 Ethernet, 00:50:8B:6D:A7:53, IRQ 10.
Receiver lock-up bug exists -- enabling work-around.
Board assembly 692290-005, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x24c9f043).
Receiver lock-up workaround activated.
PCI: Found IRQ 10 for device 00:07.5
PCI: Sharing IRQ 10 with 00:09.0
PCI: Setting latency timer of device 00:07.5 to 64


Any help to you ?
 
Old 08-12-2004, 05:55 PM   #5
DaveStout
LQ Newbie
 
Registered: Aug 2004
Location: England
Posts: 8

Original Poster
Rep: Reputation: 0
Fixed problem with ULIMIT -N 4096 command
 
Old 08-13-2004, 04:13 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I believe this a kernel option. have a look at your config.
 
Old 08-13-2004, 10:41 AM   #7
sorceran
LQ Newbie
 
Registered: Oct 2003
Location: Durango, CO
Distribution: Slackware Current
Posts: 13

Rep: Reputation: 0
Just a FYI you should be using #setrlimit instead of ulimit assuming you are using the newest version of glibc
 
Old 08-13-2004, 12:05 PM   #8
DaveStout
LQ Newbie
 
Registered: Aug 2004
Location: England
Posts: 8

Original Poster
Rep: Reputation: 0
Got no setrlimit command on my server

Also how do i check glibc version ??

Not trying to be stupid .... but i'm having to learn linux all again and this is a hosted server that i control remotely.

Any help will be apprexciated

Spud
 
Old 08-13-2004, 12:08 PM   #9
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
try to run :
/lib/libc-*.so

to see infos for glibc
 
Old 08-13-2004, 01:32 PM   #10
DaveStout
LQ Newbie
 
Registered: Aug 2004
Location: England
Posts: 8

Original Poster
Rep: Reputation: 0
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.3.
Compiled on a Linux 2.4.26 system on 2004-05-24.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.

That's what i get out of it

Anything else to check ?
 
Old 08-13-2004, 04:24 PM   #11
sorceran
LQ Newbie
 
Registered: Oct 2003
Location: Durango, CO
Distribution: Slackware Current
Posts: 13

Rep: Reputation: 0
My apologies I read your post incorrectly. the setrlimit is used for programming you used the correct command from the prompt. I thought you where writing a program that used multiple resource limits.
 
Old 08-13-2004, 05:08 PM   #12
DaveStout
LQ Newbie
 
Registered: Aug 2004
Location: England
Posts: 8

Original Poster
Rep: Reputation: 0
I'm having a problem whereby i'm limited to 4065 users now.

I'm gonna move this thread into a different section to see if I can get more widespread help.

Many thanks to all that posted replies
 
  


Reply



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
VNC server rejects connections TommyB Linux - Networking 6 11-23-2005 03:41 PM
How many visitors on server with 1024/256 kbit/s klemen Slackware 1 06-19-2005 11:36 AM
X server outside connections slackwarefan Linux - General 1 02-01-2004 07:31 PM
Mail server not accpeting connections nnadeau Linux - Networking 9 01-16-2002 01:00 AM
Server Workstation connections chrisgiles Linux - Newbie 0 08-18-2001 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 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
Open Source Consulting | Domain Registration