From: Robert Mulley <robert@gnsconsulting.com.au>
Subject: Re: task table full in DU 4.0D
Date: 2000/11/09 [thread overview]
Message-ID: <3A0A9CDA.5F694E1F@gnsconsulting.com.au> (raw)
In-Reply-To: 3A0A9134.D5FA1C16@objectplus.nl
Alright, I've got to put an end to the speculation. Sure more memory helps but it
is not the solution. It is not filehandles either, default number of file handles
is 4096, this means a possible 4096 filehandles per process. New samba process, new
number of file handles. The problem is solved by point Number 2 that I made in my
reply.
Increase the value of maxusers in your kernel config file. This is the file
/sys/conf/<HOSTNAME>.
doconfig -c HOSTNAME
cp /vmunix /vmunix.old
cp /sys/HOSTNAME/vmunix /
reboot system
This will solve your problem.
Robert.
Raymond Doetjes wrote:
> It could well be the number of filehandles configured in your kernel.
> You need to push them to the limit. Every samba process uses 3 filehandles (if
> I remember correctly). And evrey user forks of another SambA instance.
>
> I don't have my Alpha here in reach but when you find the kernel parameters
> than you will be able to see the amount of file handles. Double them and you
> are out of the problems.
>
> And memory is certainly not the problem when you have enough viirtual memory.
> It does'nt perform that good but it does work. Besides a lot of the memory from
> the samba processes is resident, so the oughts that a complete new instance is
> forked with it's own memory is practically 0.
>
> Raymond
>
> andy thomas wrote:
>
> > On Tue, 7 Nov 2000, Robert Mulley wrote:
> >
> > > I believe the actual problem here is with one of two things.
> > > 1. If the program in question is running as a non-root user then you might
> > > want to check:
> > > max-proc-per-user or max-threads-per-user. in the proc subsystem in
> > > /etc/sysconfigtab
> >
> > The program is samba and is running as root, so is not constrained by the
> > max-proc-by-user and max-threads-per-user parameters. But I'll look at
> > these parameters anyway - the system is a file server and normal users
> > cannot log in interactively, so most of the time there is no-one logged
> > in. As well as sambba, it exports a lot of directories by nfs and at any
> > one time, there will be about 200-300 combined samba/nfs connections.
> >
> > I think I'll put some more RAM in - it's an Alpha PWS 500au by the way.
> >
> > Andy
next prev parent reply other threads:[~2000-11-09 5:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-07 5:00 task table full in DU 4.0D andy thomas
2000-11-07 5:00 ` waco_johnny_d
2000-11-07 5:00 ` andy thomas
2000-11-08 5:00 ` waco_johnny_d
2000-11-07 5:00 ` Robert Mulley
2000-11-08 5:00 ` andy thomas
2000-11-09 5:00 ` Raymond Doetjes
2000-11-09 5:00 ` Robert Mulley [this message]
2000-11-10 5:00 ` andy thomas
2000-11-13 1:40 ` Andrew Moar
2000-11-13 5:00 ` andy thomas
2000-11-10 5:00 ` andy thomas
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox