High CPU usage when used as parent for squid on Windows
Антон Дербенев <[email protected]> Mon, 26 Jan 2015 16:28:11 +0300
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Organization | группа компаний «Циф роград», г. Ставрополь |
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============0769594542121054950==
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature";
boundary="QGWBcSSDBGkN8M5fCxws8CKQWoLH9Cdio"
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QGWBcSSDBGkN8M5fCxws8CKQWoLH9Cdio
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
</head>
<body style=3D"background-color: rgb(255, 255, 255); color: rgb(0, 0,
0);" bgcolor=3D"#FFFFFF" text=3D"#000000">
Hi.<br>
<br>
I was going to add some pipelining and to existing squid-based
infrastructure, and I set up Polipo as recommended there:
<a class=3D"moz-txt-link-freetext" href=3D"http://permalink.gmane.org=
/gmane.comp.web.polipo.user/1099">http://permalink.gmane.org/gmane.comp.w=
eb.polipo.user/1099</a><br>
<br>
Then I set up polipo & squid like that:
<a class=3D"moz-txt-link-freetext" href=3D"http://unquietwiki.blogspot.ru=
/2010/02/squid-polipo-to-make-high-speed.html">http://unquietwiki.blogspo=
t.ru/2010/02/squid-polipo-to-make-high-speed.html</a><br>
(polipo: allowedClients =3D "127.0.0.1", diskCacheRoot =3D "",
dnsQueryIPv6 =3D no)<br>
<br>
Testing with few users shown good performance, but once I put it
into "production", polipo started draining all CPU resources, and
serving requests very slowly (about 2-3 per second).<br>
<br>
System it's been running on (and where squid-nt alone works very
well, with about 15% average CPU load):<br>
Windows 2003 Server, AMD Sempron 2500+, 512 MB of RAM.<br>
There are about 30 users going through the proxy.<br>
<br>
I'm using polipo-1.1.0-win32.zip from
<a class=3D"moz-txt-link-freetext" href=3D"http://www.pps.univ-paris-=
diderot.fr/~jch/software/files/polipo/">http://www.pps.univ-paris-diderot=
=2Efr/~jch/software/files/polipo/</a><br>
<br>
Unfortunately, I've got no build tools at hand, so I can't profile
or debug outright. But if someone provides me with binaries, I'll do
it.<br>
<br>
<div class=3D"moz-signature">-- <br>
<pre style=3D"display:inline"><font color=3D"grey">Regards,
Anton Derbenev, Head of IT service of group =C2=ABTsifrograd=C2=BB, Stavr=
opol, Russia.
<a href=3D"http://www.it.mobilmir.ru">http://www.it.mobilmir.ru</a>
business & cell phone:</font><a href=3D"callto:+79624413541">+7 9624 =
413541</a></pre>
</div>
</body>
</html>
--QGWBcSSDBGkN8M5fCxws8CKQWoLH9Cdio
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iF4EAREIAAYFAlTGQOsACgkQhhpozOkeqXqn1gD/YHClKcwgT0hdA364HJNZ1VgX
A1PkR2QZAGlXDIVLwh8A/jKVTcOEbpUyIPPF3YILu8/r/xeAaSO+9avaOjbtEWbG
=wKKZ
-----END PGP SIGNATURE-----
--QGWBcSSDBGkN8M5fCxws8CKQWoLH9Cdio--
--===============0769594542121054950==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
--===============0769594542121054950==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users
--===============0769594542121054950==--