[FUGSPBR] atuializacao do squid 2.5-st1 e aumento uso do processador 100% cravado.

William David Armstrong bio em bsd-unix.com.br
Sex Dez 20 05:17:10 BRST 2002


atualizei  o squid-2.5.STABLE1   manualmente aqui   com as  seguintes 
opçoes

./configure --prefix=/usr/local/squid --enable-carp --with-pthreads  
--with-dl --with-aio --enable-storeio=diskd 
--enable-removal-policies=heap --enable-icmp --enable-referer-log 
--enable-useragent-log --enable-snmp 
--enable-cachemgr-hostname=groundzero --enable-ssl --with-openssl 
--enable-cache-digests --enable-default-err-language=Portuguese 
--enable-err-languages=Portuguese --disable-http-violations 
--enable-ipf-transparent --enable-truncate --enable-underscores 
--enable-x-accelerator-vary --enable-kill-parent-hack 
--disable-ident-lookups

depois de compilado e instalado  tudo  roda corretamente ( disckd e 
 afins ) mas  eu    reparei que o  CPU sempre fica em 100 %  

last pid: 16246;  load averages:  3.14,  3.34,  
3.35                                   up 0+03:34:58  05:13:50
55 processes:  4 running, 51 sleeping
CPU states:  8.9% user,  0.0% nice, 89.2% system,  1.9% interrupt,  0.0% 
idle
Mem: 9732K Active, 1444K Inact, 11M Wired, 2956K Cache, 7488K Buf, 380K Free
Swap: 256M Total, 86M Used, 170M Free, 33% Inuse

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
12469 nobody    62   0  4880K   176K RUN     45:53 31.15% 31.15% squid
12474 nobody    63   0  8024K   188K RUN     45:55 31.10% 31.10% squid
12473 nobody    63   0  7672K   192K RUN     45:52 31.10% 31.10% squid
16245 bio       31   0  1980K  1004K RUN      0:01  1.48%  0.88% top
  467 root      10   0  6972K  2768K nanslp  18:31  0.00%  0.00% perl
12465 nobody     2   0 15760K   872K poll     1:51  0.00%  0.00% squid
  464 root       2   0   584K   128K select   1:18  0.00%  0.00% natd
  631 mf2hd      4   0 52408K  1196K bpf      0:40  0.00%  0.00% snort
  583 bio        2   0  5456K  1124K poll     0:20  0.00%  0.00% centericq
  495 root      10   0  4216K   700K nanslp   0:07  0.00%  0.00% perl
  473 root       2   0   824K   444K select   0:07  0.00%  0.00% kproxy
  389 root       2   0   948K   264K select   0:06  0.00%  0.00% syslogd
  392 bind       2   0  2376K   432K select   0:05  0.00%  0.00% named
  466 root       2   0  3064K   496K select   0:03  0.00%  0.00% nmbd
  797 root       2   0  2796K   440K select   0:02  0.00%  0.00% sendmail
  499 root       2   0  8560K   152K select   0:02  0.00%  0.00% httpd
  532 root       2   0  3428K    84K select   0:02  0.00%  0.00% snmpd
  100 root       2   0   944K   332K select   0:02  0.00%  0.00% dhclient
  418 root       2   0  2324K   216K select   0:01  0.00%  0.00% sshd
  721 root       2   0  3188K    80K select   0:01  0.00%  0.00% fetchmail
  585 root       3   0  1376K     0K ttyin    0:01  0.00%  0.00% <csh>
  634 mysql      2   0 27428K   148K poll     0:01  0.00%  0.00% mysqld
16228 root       2   0  2764K  1376K select   0:01  0.00%  0.00% sshd
  416 root      10   0  1000K   160K nanslp   0:00  0.00%  0.00% cron
  512 www        2   0  8760K   216K accept   0:00  0.00%  0.00% httpd
  511 www        2   0  8772K   268K accept   0:00  0.00%  0.00% httpd
  513 www        2   0  8764K   128K accept   0:00  0.00%  0.00% httpd
  414 root       2   0  1112K   208K select   0:00  0.00%  0.00% inetd
12873 www        2   0  8788K   224K accept   0:00  0.00%  0.00% httpd

e o lad  fica direto  cravado em  4 ou 5      antes de eu atualizar o 
 Squid ele nao fazia isto  sera que eu  errei algo na  compilaçao???

eu nao alterei o squid.conf
 é a 1 vez que tenho esse erro  sempre utilizei o  mesmo  squid .conf   
 desde o  2.4stable1   nunca tive problemas

_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd