Re: FWD: 3 NIC cards problem

2001-03-28 Thread Lee Chin
Message-- From: William T Wilson <[EMAIL PROTECTED]> To: Lee Chin <[EMAIL PROTECTED]> Sent: March 28, 2001 9:58:35 PM GMT Subject: Re: FWD: 3 NIC cards problem On Wed, 28 Mar 2001, Lee Chin wrote: > I have a program listening for socket connections on 192.168.1.1, port 80. > &

FWD: 3 NIC cards problem

2001-03-28 Thread Lee Chin
I am posting this mail here because I have tried posting on many news groups, but no one seems to know how. Also, I did read documentation but could not figure out how to do this in Linux 2.4 kernel --Original Message-- From: Lee Chin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subj

socket close problems

2001-03-20 Thread Lee Chin
Hi, On linux I have the following problem: I accept connections from client sockets, read the request and send data back and close the socket. After a while, I run out of file descriptors... and when I run netstat, all my connections to the clients are in state CLOSING... and I know the client h

Re: Linux's implementation of poll() not scalable?

2000-10-24 Thread Lee Chin
There is only one thiong I don't understand about this... why can't we re-implement the poll() implementation of Linux instead of introducing another system call? If I understood Linux correctly, what he is saying is that the bind_event system call is needed to give the kernel a hint that the app

get_empty_filp

2000-10-02 Thread Lee Chin
Hello All, I am seeing a bug in get_empty_filp (fs/file_table.c) where files_stat.nr_free_files is out of sync with respect to the actual number of elements in free_list. More precicely, for some reason, free_list became empty (free_list.next and free_list.prev pointed back to free_list) but file

Re: maximum number of sockets

2000-09-20 Thread Lee Chin
TECTED] Sent: September 20, 2000 7:00:22 AM GMT Subject: Re: maximum number of sockets Lee Chin ([EMAIL PROTECTED]) wrote: > How do I increase the maximum number of socket connections I can have open > in the 2.4 series kernel? See http://www.kegel.com/c10k.html#limits.fileha

inode_max in 2.4

2000-09-19 Thread Lee Chin
Hello, I searched Documents and couldn't find what /proc/sys/fs/inode_max has been changed to... because after 800 simultaneous open socket connections I get a "Too many open files" EMFILE error Thanks, lee __ FREE Personalized Email at Mail.com Sign

maximum number of sockets

2000-09-19 Thread Lee Chin
Hello, How do I increase the maximum number of socket connections I can have open in the 2.4 series kernel? Please let me know which list to post these types of questions to. Thanks, Lee __ FREE Personalized Email at Mail.com Sign up at http://www.ma

[BUG] network problems in 2.4 series

2000-09-19 Thread Lee Chin
Hello, I have a program that makes HTTP requests in a loop to a box runing Linux. It goes through another Linux box, which is using proxy ARP and is connected to the client and the web server using a cross over cable [CLIENT][PROXY][WEBSERVER] When the proxy machine uses 2.2 series kern

socket connect problems in latest kernel

2000-09-17 Thread Lee Chin
Hello, I have a heavy workload to benchmark a proxy server and it generates over 1000 simultaneous sessions requesting files of different sizes. I have two seperate problems that I would like clarified: 1. On the newer versions of the kernel, 2.4.XXX I see way too many connect requests timing ou

Linux connect problems

2000-09-13 Thread Lee Chin
Hello, I have a heavy workload to benchmark a proxy server and it generates over 1000 simultaneous sessions requesting files of different sizes. I have two seperate problems that I would like clarified: 1. On the newer versions of the kernel, 2.4.XXX I see way too many connect requests timing ou

Linux connect problems

2000-09-13 Thread Lee Chin
Hello, I have a heavy workload to benchmark a proxy server and it generates over 1000 simultaneous sessions requesting files of different sizes. I have two seperate problems that I would like clarified: 1. On the newer versions of the kernel, 2.4.XXX I see way too many connect requests timing ou

write_space in kernel

2000-09-11 Thread Lee Chin
Hello, I have a call beack registered on write_space in kernel, so when I do a asynchronous sock_sendmsg in the kernel, I get notified. However, I want to know how much data was sent on that socket, so I can free the socket after all data has been sent. How do I check for this condition? Thanks

write_space in kernel

2000-09-11 Thread Lee Chin
Hello, I have a call beack registered on write_space in kernel, so when I do a asynchronous sock_sendmsg in the kernel, I get notified. However, I want to know how much data was sent on that socket, so I can free the socket after all data has been sent. How do I check for this condition? Thanks