Skip to content

Commit

Permalink
Set Max Filedescriptors for Squid Proxy
Browse files Browse the repository at this point in the history
For certain linux distributions the default soft limit of max file
discriptors is too large as squid uses this value for pre-allocating
memory for max concurrent connections which exceeds the physical memory
on most machines.
  • Loading branch information
mruehle authored and mruehle committed Mar 14, 2024
1 parent 92de584 commit ee351a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
http_port 8080
http_access allow all
max_filedescriptors 1024
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ auth_param basic realm Test Forward Proxy Basic Authentication
acl auth_users proxy_auth REQUIRED
http_access allow auth_users
http_access deny all
max_filedescriptors 1024

0 comments on commit ee351a3

Please sign in to comment.