Bug#302503: apt-proxy: occassioanally dies, but less often than version from a few months ago

2005-04-06 Thread Chris Halls
On Friday 01 Apr 2005 06:18, Miernik wrote:
 There is not much diagnosis in log when it dies, log ends like this:

 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/kadu

Could it be that you have an out of memory situation?

Memory usage for the packages databases is huge at the moment.  It seems to be 
something to do with the way it uses python-apt.  I do want to fix it but I 
don't know if I can get it done for the sarge release.

As a work around, can you reduce the number of backends you use for now?  
Alternatively, increase the amount of swap space available on the apt-proxy 
machine.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302503: apt-proxy: occassioanally dies, but less often than version from a few months ago

2005-04-06 Thread Otavio Salvador
|| On Wed, 6 Apr 2005 10:52:44 +0100
|| Chris Halls [EMAIL PROTECTED] wrote: 

ch On Friday 01 Apr 2005 06:18, Miernik wrote:
 There is not much diagnosis in log when it dies, log ends like this:

 [apt_pkg] Loading Packages database for
 /var/cache/apt-proxy/.apt-proxy/backends/kadu

ch Could it be that you have an out of memory situation?

ch Memory usage for the packages databases is huge at the moment.  It seems to 
be 
ch something to do with the way it uses python-apt.  I do want to fix it but I 
ch don't know if I can get it done for the sarge release.

ch As a work around, can you reduce the number of backends you use for now?  
ch Alternatively, increase the amount of swap space available on the apt-proxy 
ch machine.

Maybe a better workaround could be restart apt-proxy once a week or
once a day, depending of the usage.

-- 
O T A V I OS A L V A D O R
-
 E-mail: [EMAIL PROTECTED]  UIN: 5906116
 GNU/Linux User: 239058 GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
-
Microsoft gives you Windows ... Linux gives
 you the whole house.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302503: apt-proxy: occassioanally dies, but less often than version from a few months ago

2005-03-31 Thread Miernik
Package: apt-proxy
Version: 1.9.28
Severity: normal

There is not much diagnosis in log when it dies, log ends like this:

My debug level is like this:
debug = all db:3


2005/04/01 07:01 CEST [-] [recycle] Adopting new file: 
/debian/pool/main/libs/libsamplerate/libsamplerate0_0.1.1-2_i386.deb
2005/04/01 07:01 CEST [-] [recycle] Adopting new file: 
/debian/pool/main/libs/libsdl1.2/libsdl1.2debian_1.2.7+1.2.8cvs20041007-4.1_i386.deb
2005/04/01 07:01 CEST [-] [recycle] Adopting new file: 
/debian/pool/main/libs/libsdl1.2/libsdl1.2debian-oss_1.2.7+1.2.8cvs20041007-4.1_i386.deb
2005/04/01 07:01 CEST [-] [recycle] Adopting new file: 
/debian/pool/main/libs/libsndfile/libsndfile1_1.0.10-2_i386.deb
2005/04/01 07:01 CEST [Channel,0,192.168.6.3] [debug] Headers: Host: 
192.168.6.2:, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
2005/04/01 07:01 CEST [Channel,0,192.168.6.3] [debug] Request: GET 
/debian/pool/main/a/attr/libattr1_2.4.21-1.0.1_i386.deb
2005/04/01 07:01 CEST [Channel,0,192.168.6.3] [Fetcher.activate] (debian) 
servers:2/debian/pool/main/a/attr/libattr1_2.4.21-1.0.1_i386.deb
2005/04/01 07:01 CEST [Channel,0,192.168.6.3] [file_ok] check_cached: 
/var/cache/apt-proxy/debian/pool/main/a/attr/libattr1_2.4.21-1.0.1_i386.de
2005/04/01 07:01 CEST [Channel,0,192.168.6.3] [debug] starting verification: 
/usr/bin/dpkg ('/usr/bin/dpkg', '--fsys-tarfile', '/var/cache/apt-p
2005/04/01 07:01 CEST [-] [file_ok] Modification time:Thu Mar 24 23:47:03 2005
2005/04/01 07:01 CEST [-] [debug] Verifying database: 
/var/cache/apt-proxy/.apt-proxy/db/update.db
2005/04/01 07:01 CEST [-] [debug] Opening database 
/var/cache/apt-proxy/.apt-proxy/db/update.db
2005/04/01 07:01 CEST [-] [file_ok] file is immutable: 
/var/cache/apt-proxy/debian/pool/main/a/attr/libattr1_2.4.21-1.0.1_i386.deb
2005/04/01 07:01 CEST [-] [fetch_real] Using cached copy of 
/var/cache/apt-proxy/debian/pool/main/a/attr/libattr1_2.4.21-1.0.1_i386.deb
2005/04/01 07:01 CEST [-] [Fetcher.activate] (debian) 
servers:2/debian/pool/main/a/attr/libattr1_2.4.21-1.0.1_i386.deb
2005/04/01 07:01 CEST [-] [debug] Verifying database: 
/var/cache/apt-proxy/.apt-proxy/db/packages.db
2005/04/01 07:01 CEST [-] [debug] Opening database 
/var/cache/apt-proxy/.apt-proxy/db/packages.db
2005/04/01 07:01 CEST [-] [max_versions] [['2.4.21-1.0.1', 
'/debian/pool/main/a/attr/libattr1_2.4.21-1.0.1_i386.deb'], ['2.4.21-1', 
'/debian/poo
2005/04/01 07:01 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/videolan
2005/04/01 07:01 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/braincells
2005/04/01 07:01 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/aschultz
2005/04/01 07:01 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/opensides
2005/04/01 07:01 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/nobse
2005/04/01 07:01 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/parsed
2005/04/01 07:01 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/debian
2005/04/01 07:02 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/tin
2005/04/01 07:02 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/ekg2
2005/04/01 07:02 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/cihar
2005/04/01 07:02 CEST [-] [apt_pkg] Loading Packages database for 
/var/cache/apt-proxy/.apt-proxy/backends/kadu


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.4.27-2-586tsc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt-proxy depends on:
ii  bzip2 1.0.2-5high-quality block-sorting file co
ii  debconf   1.4.46 Debian configuration management sy
ii  logrotate 3.7-2  Log rotation utility
ii  python2.3.5-2An interactive high-level object-o
ii  python-apt0.5.10 Python interface to libapt-pkg
ii  python-bsddb3 3.3.0-6Python interface to libdb3
ii  python-twisted1.3.0-8Event-based framework for internet
ii  python2.3 2.3.5-2An interactive high-level object-o

-- debconf information:
  apt-proxy/upgrading-v2:
  apt-proxy/upgrading-v2-result:

*** /etc/apt-proxy/apt-proxy-v2.conf
[DEFAULT]
;; All times are in seconds, but you can add a suffix
;; for minutes(m), hours(h) or days(d)

;; Server IP to listen on
;address = 192.168.0.254

;; Server port to listen on
port = 

;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum time between attempts to