Re: Max-client-connections fatal error

Fabian Keil <[email protected]>
Newsgroups gmane.comp.web.privoxy.user
Message-ID <[email protected]>
[email protected] wrote:

> I installed privoxy 3.0.26 from source(downloaded from SourceFourge) on
> remote server under Ubuntu 16.04. I built it with --with-fdsetsize=64000
> key.max-client-connections is set to 5000When I run in terminalprivoxy
> config (im currently in /usr/local/etc/privoxy), it fails with the
> message:2018-09-27 03:34:23.806 7f9774965700 Fatal error:
> max-client-connections value 5000 is invalid. Value needs to be above 1
> and below 512 (FD_SETSIZE/2)I found no information in user manual about
> what systems support FD_SETSIZE above 1024.Please help me figure out how
> to make Privoxy to keep more than 512 open connections. What OS should I
> use? PS.I tried to increase maximum number of open files following steps
> from this manual
> https://underyx.me/2015/05/18/raising-the-maximum-number-of-file-descriptorsulimit
> -n displays 64000 but it actually has no effect

If you rebuild Privoxy from git it will use poll() instead of select()
so the FD_SETSIZE limitation isn't relevant for recent Linux systems
anymore.

If you want to stick to Privoxy 3.0.26 you can use a FreeBSD-based
system instead. Other systems that don't use the GNU libc may work
as well but I haven't tested them.

Fabian

_______________________________________________
Privoxy-users mailing list
[email protected]
https://lists.privoxy.org/mailman/listinfo/privoxy-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAlwBIPcACgkQaRgikYui
NxxpAhAArm9JjvO8+vSbt3tGsrUjSPOFt3yQ0ph4zjaFTteaWXZBl1g19O6419wA
cvjB49oPbwKrFnLE49nnjnF45e4eZeMC38ryCz4EvPE/j0NSng4iEC4dKOVjFdl7
LSy3glTHPXj/PXXwlRKFAhPS2yD1Rf5U9UYcLutUO6w6hCbDfXD7eNxyZzFWM7qU
iFMVVSU+p48HbjqQjJltFv5Zx7BiyavgsrLgxe+k91MClRSsUuIrJyykJS+/AVge
6s4I8ei0E7RgfDaJFWSml0DMy97gH72xWDDZY2wyr2ap7VBgRJErX3VymxtrUqet
RutHT0Ou8laf7+RPAhHQSFQuwqOHWV/+NB5AB7d5rcCIvBrTK9ZqYy45zF7bJcZ8
f2EjTD4D+d+MstsWmGPoKwzay3h1XyghPT0UMVeSOfEmzBSifxKJ3KLkUB/BAMTm
0fXnOEa1AiWGSbQ+IbK0MT0EaGvhfYdUlfQgEKcStcsLmsZygFw+01avnhP1ddRU
GAfVCUYL1NVzCkxhWLzwGSYcodKPhFrPOqYqAf4kip6p98YpgSGKM2ARHDeYcqqA
WQNMooCVi52FOHoKQcKA0XgA5ZlVz14CIv40ZyufFso6nOHDwhwY9+U5FhRKuVQX
ehit2JbnsBcDRwZat3BJ7HcZUCaok1JqzpCGs7CH8d2yD8QWsGQ=
=UD6u
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.