LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2004, 11:53 AM   #1
wetwet
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
No outgoing sockets, ingoing is ok


I have a redhat9.0 box. The server runs a meta-search engine which connects several engines using aync I/O. The program was intensively debugged.
Sometimes the server presents a strange behaviour. It accepts new incoming
connections (opening sockets .. for instance the web server, ssh, etc),
but it is not able to open any outgoing connections until reboot. If i wait for a long time (30 minutes or so) it starts to work again. The active connections such us ssh are kept.

I kept under control /proc/<pid>/fs and non active proccess is running out of file descriptors (no strange number there).

This happen for different users (noboby, myself, root) and for different processes... when one stops .. all stop

Any idea on what to monitor or to test ?
Any help will be appreciated, this is making me crazy.

My system:

2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux
model name : Intel(R) Pentium(R) 4 CPU 2.60GHz
cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 1583661056 337104896 1246556160 0 18034688 163811328

cat /proc/sys/fs/file-max
16384
cat /proc/sys/fs/file-nr
2108 82 8192
cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

#
# Aggiunto da AG 11/May.04
#
# Set maximum file and inodes
fs.file-max = 16384
fs.inode-max = 65536
 
Old 06-25-2004, 12:55 AM   #2
wetwet
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
i tested the system with ab (apache bech) and it is able to handle all the connections.
Quite strange
 
  


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
Blocking outgoing TCP ¿F M J¿ Linux - Networking 13 09-06-2005 12:59 AM
Maintain ingoing mails -SendMail- vacilus Linux - Software 1 09-27-2004 01:54 PM
No outgoing sockets wetwet Linux - Networking 0 07-11-2004 07:43 AM
outgoing connections DonMiner Linux - Networking 2 05-02-2003 09:51 AM
Sendmail and outgoing dns mylde Linux - Networking 0 01-26-2003 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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