From owner-freebsd-questions Wed May 31 0: 5:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ipv4.one.net.pk (ipv4.one.net.pk [216.252.184.10]) by hub.freebsd.org (Postfix) with ESMTP id 0AB2A37BE59 for ; Wed, 31 May 2000 00:05:16 -0700 (PDT) (envelope-from ahsank@one.net.pk) Received: from mail.one.net.pk (IDENT:root@ns1.one.net.pk [209.58.78.10]) by ipv4.one.net.pk (8.9.3/8.8.7) with ESMTP id MAA23010; Wed, 31 May 2000 12:11:54 -0500 Received: from jahil (ISDN-Dialup-20.One.Net.pk [209.58.78.20]) by mail.one.net.pk (8.9.3/8.8.7) with SMTP id MAA30265; Wed, 31 May 2000 12:12:44 -0500 Message-ID: <001401bfcacf$614fbd40$144e3ad1@jahil> Reply-To: "Ahsan Khan" From: "Ahsan Khan" To: "Doug Barton" Cc: References: Subject: Re: FreeBSD & FileDiscriptors.? Date: Wed, 31 May 2000 12:10:59 +0500 Organization: Sun Communication Pvt. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks a lot for your Help, Right now the system is not accessible as I have set something wrong in ipfw.:-(( I was basically working with ipchains., But I have one more question if you can answer.? I have applied the patch in BSD for GRE. I have copied the file in the /usr/src/sys/netinet/gre.c and then applied the patch to kernel. which I got from http://www.squid-cache.org/WCCP-support/FreeBSD-4.x/ everything goes fine but after reboot I can not find any gre interface like ed0. In Linux the simple way after applying the patch is /sbin/ifconfig gre0 ipaddress netmask address up . My point is that after recompiling the kernel I can not find any gre interface in /sbin/ifconfig and i do admit that I can not find any gre option in GENERIC. So can I get any help .?? With Regards Ahsan Khan Sr. System Admin Internet Division (OneNet) Sun Communication Pvt. Ltd. Pakistan http://www.one.net.pk ----- Original Message ----- From: "Doug Barton" To: "Ahsan Khan" Cc: Sent: Wednesday, May 31, 2000 5:55 AM Subject: Re: FreeBSD & FileDiscriptors.? > On Wed, 31 May 2000, Ahsan Khan wrote: > > > Dear Sir, > > > > I have recently installed FreeBSD because I use squid for cache on > > Linux and I am facing lot of DISK IO problems, > > > > But in Free BSD I am facing the Problem to Increase the Maximum Limit of > > FileDiscriptors. > > This looks like a job for the kernel maxusers option. :) Check out > the section of the handbook regarding recompiling your kernel (if you have > not already). It's a fairly simple process. On a busy web/proxy server a > rough rule of thumb is that you can use roughly the number of maxusers > that you have megabytes of ram. So, if you have 128 megs of ram, set > maxusers accordingly. If the server is so busy that you were having disk > IO problems, I'd get anywhere from 512M to 1G of ram, and set maxusers to > 512. > > Good luck, > > Doug > -- > "Live free or die" > - State motto of my ancestral homeland, New Hampshire > > Do YOU Yahoo!? > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message