Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - claudiompjr

Pages: [1]
1
Installation and Upgrades / problems with proxy Zentyal 3
« on: December 20, 2012, 06:29:43 pm »
Hi,
I was using the Zentyal 2.2 which worked perfectly until I upgraded to Zentyal 3 when I started having problems. I have about 60 machines connected to the network, with few machines connected it worked very well as all machines connected to the network gave him some bottleneck in the proxy that made my internet very slow, removed the black list and found the site http://tecnologia .2020mobile.es/improving-zentyal-proxy-performance-squid-dansguardian / and made the following changes below:

1. Tune dansguardian configuration for handling better our 200 users

We’ve changed /usr/share/zentyal/stubs/squid/dansguardian.conf.mas with this options:

#maxchildren = <% $maxchildren >
#minchildren = < $minchildren >
#minsparechildren = < $minsparechildren >
#preforkchildren = < $preforkchildren >
#maxsparechildren = < $maxsparechildren >
#maxagechildren = < $maxagechildren %>

maxchildren = 200
minchildren = 32
minsparechildren = 8
preforkchildren = 10
maxsparechildren = 64
maxagechildren = 10000

2. Fine tuning Linux kernel options (TCP stack and open files)

We changed /etc/sysctl.conf and /etc/security/limits.conf to allow faster TCP connections and more files opened.

/etc/sysctl.conf
fs.file-max = 65535
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 65536 8388608
net.ipv4.tcp_mem = 194976 259968 389952
net.ipv4.tcp_low_latency = 1
net.core.netdev_max_backlog = 4000
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_max_syn_backlog = 16384

/etc/security/limits.conf
– nofile 65535

After the changes the internet has improved but is still very slow, so I decided to disable my proxy because if I enable it impossible to access the internet.
Someone had a similar problem?
Does anyone know if I have to do some configuration to improve navigation?

2
Portuguese / Internet lenta zentyal 3
« on: December 17, 2012, 05:53:12 pm »
Boa tarde a todos,
Estava utilizando o Zentyal 2.2 que funcionava perfeitamente até que eu atualizei para o zentyal 3 quando comecei a ter problemas. Tenho cerca de 60 máquinas ligada a rede, com poucas máquinas conectadas ele funcionava normal mas quanto conectava todas as máquinas a rede ele dava algum gargalo no proxy que deixava minha internet muito lenta, removi as black list e achei o site http://tecnologia.2020mobile.es/improving-zentyal-proxy-performance-squid-dansguardian/ e fiz as seguintes alterações abaixo:

1. Tune dansguardian configuration for handling better our 200 users

We’ve changed /usr/share/zentyal/stubs/squid/dansguardian.conf.mas with this options:

#maxchildren = <% $maxchildren >
#minchildren = < $minchildren >
#minsparechildren = < $minsparechildren >
#preforkchildren = < $preforkchildren >
#maxsparechildren = < $maxsparechildren >
#maxagechildren = < $maxagechildren %>

maxchildren = 200
minchildren = 32
minsparechildren = 8
preforkchildren = 10
maxsparechildren = 64
maxagechildren = 10000

2. Fine tuning Linux kernel options (TCP stack and open files)

We changed /etc/sysctl.conf and /etc/security/limits.conf to allow faster TCP connections and more files opened.

/etc/sysctl.conf
fs.file-max = 65535
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 65536 8388608
net.ipv4.tcp_mem = 194976 259968 389952
net.ipv4.tcp_low_latency = 1
net.core.netdev_max_backlog = 4000
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_max_syn_backlog = 16384

/etc/security/limits.conf
– nofile 65535

Sua performace aumentou consideravelmente após as alterações que fiz quando não utilizo as black list ele funciona bem, mas quando eu adiciono a black list e configuro os acess rules a internet fica muito lenta. Estou utilizando a black list do site http://www.shallalist.de/.
Alguém teve algum problema parecido?
Alguém sabe se tenho que fazer alguma configuração para melhorar a navegação?

Pages: [1]