ohh yes u r right sir now i got it limit command but
how can i set descriptors to 4096 etc
I'm running it like that
limit -HSn 4096
and it's does not work...
--- Gavin Cameron <gavin@itworks.com.au> wrote:
> > sir FreeBSD does'nt have ulimit command :)
>
> Bzzztttt.... Yes it does... if you're using a
> bourne/korn shell...
>
> gavin@chip : ulimit -a
> time(cpu-seconds) unlimited
> file(blocks) unlimited
> coredump(blocks) unlimited
> data(kbytes) 524288
> stack(kbytes) 65536
> lockedmem(kbytes) unlimited
> memory(kbytes) unlimited
> nofiles(descriptors) 957
> processes 478
> gavin@chip :
>
> My guess is that you are probably using a csh
> shell... in that case
> you want to use the limit command...
>
> gavin@chip : tcsh
> > limit
> cputime unlimited
> filesize unlimited
> datasize 524288 kbytes
> stacksize 65536 kbytes
> coredumpsize unlimited
> memoryuse unlimited
> vmemoryuse unlimited
> descriptors 957
> memorylocked unlimited
> maxproc 478
> sbsize unlimited
> >
>
>
> Cheers
> Gavin
>
> ----- Original Message -----
> From: "MASOOD AHMAD" <masoodnt10@yahoo.com>
> To: "Mohsin Khan" <aaghaz00@yahoo.com>
> Cc: <squid-users@squid-cache.org>
> Sent: Saturday, December 28, 2002 6:28 PM
> Subject: Re: [squid-users] freebsd and file
> descriptors
>
>
> > sir FreeBSD does'nt have ulimit command :)
> >
> >
> > --- Mohsin Khan <aaghaz00@yahoo.com> wrote:
> > > A-o-a
> > >
> > > Try using ulimit command.
> > >
> > > --- MASOOD AHMAD <masoodnt10@yahoo.com> wrote:
> > > > I had done it but my Sqid is still running
> with
> > > 1024
> > > > file descriptors.
> > > >
> > > > out put of sysctl
> > > >
> > > > titan# sysctl -a | grep kern.maxfiles
> > > > kern.maxfiles: 4096
> > > > kern.maxfilesperproc: 2048
> > > > titan#
> > > >
> > > > and file descriptors are still 1024 even I
> have
> > > > restarted the Squid.
> > > >
> > > > File descriptor usage for squid:
> > > > Maximum number of file descriptors: 1024
> > > > Largest file desc currently in use: 529
> > > > Number of file desc currently in use: 338
> > > > Files queued for open: 0
> > > > Available number of file descriptors: 686
> > > > Reserved number of file descriptors: 687
> > > > Store Disk files open: 0
> > > >
> > > > any help
> > > >
> > > > Best Regards,
> > > > Masood
> > > >
> > > >
> > > > --- Joel Jaeggli <joelja@darkwing.uoregon.edu>
> > > > wrote:
> > > > > do:
> > > > >
> > > > > sysctl -a kern.maxfiles=8192 or whatever
> number
> > > > you
> > > > > want
> > > > >
> > > > > joelja
> > > > >
> > > > > On Fri, 27 Dec 2002, MASOOD AHMAD wrote:
> > > > >
> > > > > >
> > > > > > how can I run Squid 2.4 Stable on FreeBSD
> with
> > > > > more
> > > > > > than 1024 file descriptors.
> > > > > >
> > > > > >
> > > >
> __________________________________________________
> > > > > > Do you Yahoo!?
> > > > > > Yahoo! Mail Plus - Powerful. Affordable.
> Sign
> > > up
> > > > > now.
> > > > > > http://mailplus.yahoo.com
> > > > > >
> > > > >
> > > > > --
> > > > >
> > > >
> > >
> >
>
--------------------------------------------------------------------------
> > > > >
> > > > > Joel Jaeggli Academic User Services
> > > > > joelja@darkwing.uoregon.edu
> > > > > -- PGP Key Fingerprint: 1DE9 8FCA 51FB
> 4195
> > > > B42A
> > > > > 9C32 A30D 121E --
> > > > > In Dr. Johnson's famous dictionary
> patriotism
> > > is
> > > > > defined as the last
> > > > > resort of the scoundrel. With all due
> respect
> > > > to
> > > > > an enlightened but
> > > > > inferior lexicographer I beg to submit
> that it
> > > > is
> > > > > the first.
> > > > > -- Ambrose Bierce, "The
> Devil's
> > > > > Dictionary"
> > > > >
> > > > >
> > > >
> > > > --- Joel Jaeggli <joelja@darkwing.uoregon.edu>
> > > > wrote:
> > > > > do:
> > > > >
> > > > > sysctl -a kern.maxfiles=8192 or whatever
> number
> > > > you
> > > > > want
> > > > >
> > > > > joelja
> > > > >
> > > > > On Fri, 27 Dec 2002, MASOOD AHMAD wrote:
> > > > >
> > > > > >
> > > > > > how can I run Squid 2.4 Stable on FreeBSD
> with
> > > > > more
> > > > > > than 1024 file descriptors.
> > > > > >
> > > > > >
> > > >
> __________________________________________________
> > > > > > Do you Yahoo!?
> > > > > > Yahoo! Mail Plus - Powerful. Affordable.
> Sign
> > > up
> > > > > now.
> > > > > > http://mailplus.yahoo.com
> > > > > >
> > > > >
> > > > > --
> > > > >
> > > >
> > >
> >
>
--------------------------------------------------------------------------
> > > > >
> > > > > Joel Jaeggli Academic User Services
> > > > > joelja@darkwing.uoregon.edu
> > > > > -- PGP Key Fingerprint: 1DE9 8FCA 51FB
> 4195
> > > > B42A
> > > > > 9C32 A30D 121E --
> > > > > In Dr. Johnson's famous dictionary
> patriotism
> > > is
> > > > > defined as the last
> > > > > resort of the scoundrel. With all due
> respect
> > > > to
> > > > > an enlightened but
>
=== message truncated ===
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Received on Sat Dec 28 2002 - 02:51:09 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:13 MST