From owner-freebsd-questions Fri May 10 15: 1:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cuzco.comnet.co.nz (Cuzco.ComNet.CO.NZ [131.203.248.1]) by hub.freebsd.org (Postfix) with ESMTP id DD3DB37B407 for ; Fri, 10 May 2002 15:01:23 -0700 (PDT) Received: from ext.canterbury.ac.nz (dynamic-35.remote.comnet.co.nz [131.203.242.35]) by cuzco.comnet.co.nz (8.10.2/8.10.2) with ESMTP id g4AM1EW40759; Sat, 11 May 2002 10:01:17 +1200 (NZST) Received: from rbm49 by ext.canterbury.ac.nz with local (Exim 3.36 #1) id 176IRR-000Np4-00; Sat, 11 May 2002 10:00:45 +1200 Date: Sat, 11 May 2002 10:00:45 +1200 From: Richard Mahoney To: Subscribers to FreeBSD-Questions Subject: Perl - core dump | Make - Cannot fork Message-ID: <20020510220045.GA34209@ext.canterbury.ac.nz> Reply-To: Richard Mahoney Mail-Followup-To: Subscribers to FreeBSD-Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i X-Operating-System: FreeBSD 4.5-RELEASE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear all, Since my ports cvsup run last night I've been having problems with `perl' and `make'. I'm at a loss as to the issue so will give general details first. FreeBSD 4.5-RELEASE 1G PIII, 256M physical, 700M swap, ASUS CUV4X-E This is my cvsup script: ############################################################ #!/bin/sh # # update_ports # /usr/sbin/ppp -background comnet && /usr/local/sbin/portsclean -CD && /usr/local/bin/cvsup -g -L 2 /usr/home/rbm49/.ports-supfile && /usr/local/sbin/portsdb -U && /usr/local/sbin/portsdb -u && /usr/sbin/pkg_version -v | /usr/bin/grep needs | /usr/bin/mail \ -s "Ports that need updating" rbm49@localhost && exit 0 exit 2 ############################################################ All my problems initially seem to have centred around `portsdb' and `portupgrade'. a) Running: /usr/local/sbin/portsdb -U leads to a huge wait, lots of memory used by `perl' and then: [snip] Out of memory! Attempt to free unreferenced scalar at Tools/make_index \ line 45, <> chunk 6890. [snip] Segmentation fault - core dumped failed to generate INDEX! portsdb: index generation error The comment in /var/log/messages is: May 11 09:03:42 rbm49 /kernel: pid 48017 (perl), uid 0: exited \ on signal 11 (core dumped) b) Another -- related? -- problem is that I can no longer run `make' efficiently, either through `portupgrade' or alone. Typical is the following: rbm49# make clean Cannot fork: Resource temporarily unavailable Cannot fork: Resource temporarily unavailable ===> Cleaning for libiconv-1.7_4 ===> Cleaning for autoconf213-2.13.000227_1 ===> Cleaning for automake14-1.4.5 ===> Cleaning for bison-1.35_1 ===> Cleaning for gettext-0.11.1_3 ===> Cleaning for gmake-3.79.1_1 ===> Cleaning for libtool-1.3.4_3 ===> Cleaning for m4-1.4_1 ===> Cleaning for expat-1.95.2 ===> Cleaning for mutt-devel-1.3.99_1 rbm49# The corresponding message in /var/log/messages is: May 11 08:10:23 rbm49 /kernel: proc: table is full May 11 08:10:23 rbm49 /kernel: proc: table is full Does anyone know the reason for all this? It is irritating to say the least. Many regards, Richard Mahoney -- +--------------------------------------------------------------+ Richard Mahoney mailto:rbm49@ext.canterbury.ac.nz 78 Jeffreys Road telephone:+64-3-351-5831 Christchurch New Zealand cellular:+64-25-829-986 +--------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message