You are not logged in.

#1 2008-01-27 02:21:57

TB2
Member
Registered: 2005-09-06
Posts: 25

Privoxy way to slow

Hi.

I've been using Proxomitron on my windows machine for a long time and now I'm using privoxy on Arch. It actually works, but it's showing some annoying symptoms:

A) Random lockups while loading a page:
E.g. if I'm search for pictures on google, the first two pages load normally, but on the third it just locks up and doesn't continue loading for at least 30 seconds. Tried it with both FF and Opera - both browsers run very fast without the proxy enabled. See here for examples how the page looks in those cases: In FF, in Opera.

B) Random waiting times when clicking a link:
It happens on a regular basis - at least once in five times - that I click on a link and nothing happens for at least 10 seconds; sometimes I can let it run for a whole minute and then the page suddenly loads. But most of the time I just click on a link a couple of times if it doesn't load after 5-10 seconds and then it will occasionally load. It seems like the request just doesn't get through sometimes. Sometimes it also helps if I cancel a request and reload the page...

And it's soo annoying, I can't go without ad blocking, and at the same time I can't go with these long waiting times. I've also been using Proxomitron on Wine but that's not a real solution, and the built in ad functionalities of Opera don't really rule that much...

Does anyone know a solution to this problem?

Offline

#2 2008-01-27 02:27:45

MrWeatherbee
Member
Registered: 2007-08-01
Posts: 277

Re: Privoxy way to slow

TB2 wrote:

I've also been using Proxomitron on Wine but that's not a real solution

I don't understand that.

Why isn't the best solution a real solution. There is nothing that can touch Proxo for speed and functionality whether it is run in Wine or on Windows.

Seriously. smile

Offline

#3 2008-01-27 03:01:12

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Privoxy way to slow

Has been working okay here for ages.

Try coupling it with polipo, perhaps it'll help.

Last edited by lucke (2008-01-27 03:01:35)

Offline

#4 2008-01-27 10:52:30

TB2
Member
Registered: 2005-09-06
Posts: 25

Re: Privoxy way to slow

Ok, I'll try polipo. I'll be setting up an HTPC in a few days and I guess I'll use it as a proxy for the other machines, too. I guess I'll install Proxomitron on it, if I use Windows. I'm not sure yet which OS is more convenient for a HTPC...

Last edited by TB2 (2008-01-27 10:52:54)

Offline

#5 2008-01-30 08:21:26

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Privoxy way to slow

Try this pkg, which enables zlib:

pkgname=privoxy
pkgver=3.0.8
pkgrel=2
pkgdesc="A web proxy with advanced filtering capabilities"
arch=(i686 x86_64)
url="http://www.privoxy.org"
license=('GPL')
depends=('pcre')
makedepends=('autoconf')
backup=(etc/privoxy/{config,trust,default.action,user.filter,default.filter} \
        etc/privoxy/{standard,user}.action etc/logrotate.d/privoxy)
source=(http://downloads.sourceforge.net/sourceforge/ijbswa/privoxy-$pkgver-stable-src.tar.gz privoxy \
        privoxy.logrotated \
        privoxy.confd)
md5sums=('252c0e085218fb930c4bc7563e9cedd9' '3c0f0c3ce941d74f40ddf0f858f7ba8d'\
         'a364c34c8dc6eb78c9a6b777237932de' 'c27cf5aaf0cf89825fd0f7a5a4ebd7c0')
install=privoxy.install

build() {
  GROUP_ID=42
  cd $startdir/src/privoxy-$pkgver-stable
  autoheader || return 1
  autoconf || return 1

  # Added zlib:  http://bugs.gentoo.org/show_bug.cgi?id=208129
  ./configure --prefix=/usr --sysconfdir=/etc/privoxy --enable-zlib || return 1
  make || return 1
  make prefix=$startdir/pkg/usr MAN_DEST=$startdir/pkg/usr/share/man/man1 \
    GROUP=$GROUP_ID CONF_BASE=$startdir/pkg/etc/privoxy VAR_DEST=$startdir/pkg/var \
    install || return 1

  rm $startdir/pkg/var/log/privoxy/* # don't overwrite existing logfiles!
  install -D -m755 ../privoxy $startdir/pkg/etc/rc.d/privoxy || return 1
  install -D -m644 ../privoxy.logrotated $startdir/pkg/etc/logrotate.d/privoxy || return 1
  install -D -m644 ../privoxy.confd $startdir/pkg/etc/conf.d/privoxy || return 1
  # fix the config paths
  sed -i \
    -e 's|^confdir.*$|confdir /etc/privoxy|' \
    -e 's|^logdir.*$|logdir /var/log/privoxy|' \
    -e '/^user-manual/s/.*/#user-manual \/usr\/share\/doc\/privoxy\/user-manual\//' \
    $startdir/pkg/etc/privoxy/config || return 1

  # fix permissions
  chown -R $GROUP_ID:$GROUP_ID $startdir/pkg/etc/privoxy/
  find $startdir/pkg/etc/privoxy/ -type d | xargs chmod 770
  find $startdir/pkg/etc/privoxy/ -type f | xargs chmod 660
  chmod g+rwx,u+rwx,o-rwx $startdir/pkg/var/log/privoxy
  chgrp ${GROUP_ID} $startdir/pkg/var/log/privoxy/
}

Offline

#6 2009-02-14 17:19:00

sfauzia
Member
Registered: 2009-01-11
Posts: 88

Re: Privoxy way to slow

If anyone was wondering, this has already been fixed in the latest PKGBUILD (it has zlib as a dependency, and enables zlib in the compiling.) So it is no longer necessary (I think) to recompile privoxy for zlib.

Offline

Board footer

Powered by FluxBB