my socket was default under squid. 8192. Now set to 12288 Here is my default config. for over3 months.
ulimit -HSn 12288 ulimit -HS -d unlimited ulimit -HS -s unlimited ulimit -HS -c unlimited ulimit -n 32768 echo 100000 > /proc/sys/kernel/threads-max echo 32768 > /proc/sys/fs/file-max echo 4096 32768 > /proc/sys/net/ipv4/ip_local_port_range echo 4096 > /proc/sys/net/ipv4/tcp_max_syn_backlog echo 1 > /proc/sys/net/ipv4/ip_forward But looks what happens when it starts: Fri Mar 8 09:10:10 2002 [0x400]report_limits(): RLIMIT_DATA: 4294967295 Fri Mar 8 09:10:10 2002 [0x400]report_limits(): RLIMIT_NOFILE: 8196 Fri Mar 8 09:10:10 2002 [0x400]report_limits(): RLIMIT_CORE: 4294967295 Fri Mar 8 09:10:10 2002 [0x400]report_limits(): RLIMIT_NPROC: 4294967295 Could RLIMIT_NOFILE be the problem? ----- Original Message ----- From: "Vladimir Ivaschenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 8:41 AM Subject: Re: [OOPS] increasing the number of threads on linux > > Probably it is a problem not with threads, but with sockets. You need to > increase number of maximum sockets (__FD_SETSIZE) in glibc (types.h) and > in kernel. > > Edward Millington wrote: > > > HI there! Does anyone knows how I can increase the number of thread > > linux can handle for oops? I find that linux could handle up to 950+ > > thread fairly well. At around 980 threads, oops stops working. Is > > there a way to solve this? With this big problem, I am thing of going > > back to squid. > > Thank you very much. > > > > Best regards, > > > > Edward Millington. BSc, Network+ > > Systems Administrator > > Cariaccess Communications Ltd. > > Palm Plaza > > Wildey > > St. Michael > > Barbados > > 1-246-430-7435 > > Fax : 1-246-431-0170 > > [EMAIL PROTECTED] > > www.cariaccess.com > > -- > Best Regards > Vladimir Ivaschenko > Certified Linux Engineer (RHCE) > > > > ===================================================================== > If you would like to unsubscribe from this list send message to > [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body. > Archive is accessible on http://lists.paco.net/oops-eng/ > ===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body. Archive is accessible on http://lists.paco.net/oops-eng/
