Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 12:10:59 +0500
From:      "Ahsan Khan" <ahsank@one.net.pk>
To:        "Doug Barton" <Doug@gorean.org>
Cc:        <questions@FreeBSD.org>
Subject:   Re: FreeBSD & FileDiscriptors.?
Message-ID:  <001401bfcacf$614fbd40$144e3ad1@jahil>
References:  <Pine.BSF.4.21.0005301751420.22896-100000@dt051n0b.san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <Doug@gorean.org>
To: "Ahsan Khan" <ahsank@one.net.pk>
Cc: <questions@FreeBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401bfcacf$614fbd40$144e3ad1>