How to speed things up for e2guardian?

282 views
Skip to first unread message

Alexander Marvin

unread,
Nov 13, 2021, 4:52:44 PM11/13/21
to e2guardian
e2guardian seems to be noticeably slower when loading webpages at times. In the syslog, I see a whole lot of "Failed to get client's original destination IP: Protocol not available", sometimes in the hundreds. 

I also sometimes see error messages like "master: Warning: all 500 http_worker threads are busy and 16 connections are waiting in the queue."

I'm running e2guardian 5.4.4 on a Raspberry Pi 4 running Raspbian Buster. 


FredB

unread,
Nov 13, 2021, 5:04:35 PM11/13/21
to Alexander Marvin, e2guardian
Push workers beyond 500 in e2guardian.conf, try 1024 control and push again if needed
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

Alexander Marvin

unread,
Nov 13, 2021, 11:21:04 PM11/13/21
to e2guardian
I tried to bring it up to 1024, but when I restarted it, it seemed to fail to start up again. I got a "Active: inactive (dead)" when I run "sudo systemctl status e2guardian", so I changed it to 600. 

FredB

unread,
Nov 14, 2021, 3:47:49 AM11/14/21
to Alexander Marvin, e2guardian
Yes it's the same message as previously, can you post here your e2guardian.service file ? Should be like this
Path:
/lib/systemd/system/e2guardian.service

https://github.com/fredbcode/scripts/blob/master/debian_package/e2debian-arm64_package/data/lib/systemd/system/e2guardian.service

Alexander Marvin

unread,
Nov 14, 2021, 8:54:50 PM11/14/21
to e2guardian
[Unit]
Description=E2guardian Web filtering
After=network.target

[Service]
TasksMax=infinity
LimitNOFILE=65535
LimitSTACK=infinity:infinity
Type=forking
IgnoreSIGPIPE=no
GuessMainPID=no
ExecStart=/usr/sbin/e2guardian
ExecReload=/usr/sbin/e2guardian -r
UMask=027

[Install]
WantedBy=multi-user.target

FredB

unread,
Nov 15, 2021, 4:15:22 AM11/15/21
to e2guardian
Please switch to my file

and

systemctl daemon-reload
systemctl restart e2guardian

----- Mail original -----
> --
> E2guardian:
> https://groups.google.com/d/forum/e2guardian
> Github:
> https://github.com/e2guardian/e2guardian
> Follow us on twitter:
> https://twitter.com/e2guardian
> ---
> You received this message because you are subscribed to the Google
> Groups "e2guardian" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to e2guardian+...@googlegroups.com .
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/e2guardian/cd489a2b-332c-4169-9af7-3f7be6c35310n%40googlegroups.com
> .
>

FredB

unread,
Nov 17, 2021, 2:51:01 AM11/17/21
to e2gua...@googlegroups.com, e2guardian
It works ?

You received this message because you are subscribed to the Google
Groups "e2guardian" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to e2guardian+...@googlegroups.com .
To view this discussion on the web, visit
https://groups.google.com/d/msgid/e2guardian/cd489a2b-332c-4169-9af7-3f7be6c35310n%40googlegroups.com
.

You received this message because you are subscribed to the Google Groups "e2guardian" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e2guardian+...@googlegroups.com.

Alexander Marvin

unread,
Nov 17, 2021, 9:16:12 PM11/17/21
to e2guardian
Kind of. I was able to bring it up to 1024 without it failing to start. But the connections were so slow that sometimes my browser was saying the connection was lost, and then it would load the page. So I moved it down to 800.

You received this message because you are subscribed to the Google

Groups "e2guardian" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to e2guardian+...@googlegroups.com .
To view this discussion on the web, visit
https://groups.google.com/d/msgid/e2guardian/cd489a2b-332c-4169-9af7-3f7be6c35310n%40googlegroups.com
.

You received this message because you are subscribed to the Google Groups "e2guardian" group.

To unsubscribe from this group and stop receiving emails from it, send an email to e2guardian+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages