Folks,
I compiled and ran wget 1.10.2 on a machine with more memory (as shown below).
I meant to type it ran out of "swap" space not "cache" -- brain lapsed in my
old age. For very big runs, I wouldn't want to convert large amounts of disk
free space to swap space because that reduces the usability of the system (did
I need to give a reason why? :-) unless I am missing something. Also I would
like to report that I saw a strange bug with configure related to "msgfmt".
./configure reported it was available when not installed (autoconfig issue?).
Thanks,
-OSC
gamma:/home/oscar/wget/wget-1.10.2# free
total used free shared buffers cached
Mem: 4152800 2184340 1968460 0 69812 2024384
-/+ buffers/cache: 90144 4062656
Swap: 1044216 0 1044216
[EMAIL PROTECTED]:~/wget/bin$ cat /proc/meminfo
MemTotal: 4152800 kB
MemFree: 1893716 kB
Buffers: 72352 kB
Cached: 2027692 kB
SwapCached: 0 kB
Active: 369284 kB
Inactive: 1816744 kB
HighTotal: 3276672 kB
HighFree: 1160384 kB
LowTotal: 876128 kB
LowFree: 733332 kB
SwapTotal: 1044216 kB
SwapFree: 1044216 kB
Dirty: 288 kB
Writeback: 0 kB
Mapped: 96496 kB
Slab: 62608 kB
Committed_AS: 247956 kB
PageTables: 1004 kB
VmallocTotal: 114680 kB
VmallocUsed: 1448 kB
VmallocChunk: 112696 kB
gamma:/home/oscar/wget/wget-1.10.2#
[EMAIL PROTECTED]:~/wget/wget-1.10.2$ which msgfmt
[EMAIL PROTECTED]:~/wget/wget-1.10.2$ locate msgfmt
[EMAIL PROTECTED]:~/wget/wget-1.10.2$ ./configure --prefix=$HOME/wget
configure: configuring for GNU Wget 1.10.2
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
..
checking for msgfmt... msgfmt
checking for xgettext... :
checking for gmsgfmt... msgfmt
..
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating util/Makefile
config.status: creating po/Makefile.in
config.status: creating windows/Makefile
config.status: creating stamp-h
config.status: creating src/config.h
config.status: executing default commands
generating po/POTFILES from ./po/POTFILES.in
creating po/Makefile
[EMAIL PROTECTED]:~/wget/wget-1.10.2$ make
echo timestamp > ./stamp-h.in
cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/home/oscar/wget/etc/wgetrc\"
-DLOCALEDIR=\"/home/oscar/wget/share/locale\"' CFLAGS='-O2 -Wall -Wno-implicit'
LDFLAGS='' LIBS='-ldl -lrt ' prefix='/home/oscar/wget'
exec_prefix='/home/oscar/wget' bindir='/home/oscar/wget/bin'
infodir='/home/oscar/wget/info' mandir='/home/oscar/wget/man' manext='1'
make[1]: Entering directory `/usr/home/oscar/wget/wget-1.10.2/src'
..
make[1]: Entering directory `/usr/home/oscar/wget/wget-1.10.2/po'
file=./`echo bg | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH msgfmt -o $file bg.po
/bin/sh: line 1: msgfmt: command not found
make[1]: *** [bg.gmo] Error 127
make[1]: Leaving directory `/usr/home/oscar/wget/wget-1.10.2/po'
make: *** [po] Error 2
[EMAIL PROTECTED]:~$ dpkg -S /usr/bin/msgfmt
gettext: /usr/bin/msgfmt
[EMAIL PROTECTED]:~$
gamma:/home/oscar/wget/wget-1.10.2# apt-get install gettext
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
cvs gettext-doc
The following NEW packages will be installed:
gettext
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
Need to get 1718kB of archives.
After unpacking 5304kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org stable/main gettext 0.14.4-2 [1718kB]
Fetched 1718kB in 4s (357kB/s)
Selecting previously deselected package gettext.
(Reading database ... 21939 files and directories currently installed.)
Unpacking gettext (from .../gettext_0.14.4-2_i386.deb) ...
Setting up gettext (0.14.4-2) ...
gamma:/home/oscar/wget/wget-1.10.2# which msgfmt
/usr/bin/msgfmt
gamma:/home/oscar/wget/wget-1.10.2#
[EMAIL PROTECTED]:~/wget/bin$ ~/wget/bin/wget --version
GNU Wget 1.10.2
Copyright (C) 2005 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Originally written by Hrvoje Niksic <[EMAIL PROTECTED]>.
> ----- Original Message -----
> From: "Mauro Tortonesi" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Out of Memory Error
> Date: Thu, 25 May 2006 18:43:33 +0200
>
>
> [EMAIL PROTECTED] wrote:
>
> > I ran wget (1.9.1) on Debian GNU/Linux to find out how many links
> > my site had, and after "Queue count 66246, maxcount 66247" links,
> > the wget process ran out of memory. Is there a way to set the
> > persistent state to disk instead of memory so that all the system
> > memory and cache is not slowly consumed until the process halts?
> > My site may have 1 M to 2 M links.
>
> hi oscar,
>
> exactly how much memory does wget take? could you please try if the
> most recent version of wget (1.10.2) gives you the same problem?
>
> -- Aequam memento rebus in arduis servare mentem...
>
> Mauro Tortonesi http://www.tortonesi.com
>
> University of Ferrara - Dept. of Eng. http://www.ing.unife.it
> GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget
> Deep Space 6 - IPv6 for Linux http://www.deepspace6.net
> Ferrara Linux User Group http://www.ferrara.linux.it
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/