Re: AW: CVSup core dumped

From: Bernd Walter <ticso(at)cicely5.cicely.de>
Date: Sat, 14 Sep 2002 16:53:52 +0200

On Sat, Sep 14, 2002 at 04:38:24PM +0200, M. Oestreicher wrote:
> Hallo,
>
> > > Mem: 5928K Active, 89M Inact, 39M Wired, 35M Buf, 115M Free
> > > Swap: 2000M Total, 2000M Free
> >
> > Das ist RAM und Swap, was dem Programm aber fehlt ist was anderes.
> > Was sagt limits -d auf dem Prompt, von dem du den cvsup aus starten
> > würdest?
>
> Resource limits (current):
> datasize 524288 kb

Das sollte eigendlich reichen.

> root(at)router ~ # vmstat
> procs memory page disks faults cpu
> r b w avm fre flt re pi po fr sr tw0 md0 in sy cs us sy
> id
> 0 0 0 6940 17888 132 0 0 0 145 2 0 0 1136 265 16 3 1
> 96
>
> > Was sagt »ident /usr/src/sys/vm/vm_unix.c« ?
>
> /usr/src/sys/vm/vm_unix.c:
> $FreeBSD: src/sys/vm/vm_unix.c,v 1.24.2.2 2002/07/02 20:06:19 dillon
> Exp $

Kannst du mal folgende Änderung machen und den Kernel neu kompilieren:
--- vm/vm_unix.c 2 Jul 2002 20:06:19 -0000 1.24.2.2
+++ vm/vm_unix.c 2 Feb 2001 21:26:38 -0000 1.24.2.1
@@ -97,8 +97,6 @@
                vm_size_t diff;
 
                diff = new - old;
- if (vm->vm_map.size + diff > p->p_rlimit[RLIMIT_VMEM].rlim_cur)
- return(ENOMEM);
                rv = vm_map_find(&vm->vm_map, NULL, 0, &old, diff, FALSE,
                        VM_PROT_ALL, VM_PROT_ALL, 0);
                if (rv != KERN_SUCCESS) {

Die Überprüfung erscheint mir auch falsch zu sein.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso(at)cicely.de         Usergroup           info(at)cosmo-project.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 14 Sep 2002 - 16:54:18 CEST

search this site