[FUG-BR] out of swap space
Joao Rocha Braga Filho
goffredo em gmail.com
Quarta Março 7 15:32:17 BRT 2007
Um programa de e-mail, o do gmail e/ou o seu, bagunçou a saída do ps.
Se quiser, pode fazer um anexo, ou mandar em private para
goffredo at goffredo.eti.br
João Rocha.
On 3/7/07, marcelo at mginformatica.com <marcelo at mginformatica.com> wrote:
>
>
> ta resevado 25 Giga pro squid. ai vai a saida do comando ps axwl
>
> UID PID PPID CPU PRI NI
> VSZ RSS MWCHAN STAT
> TT TIME COMMAND
> 0 0
> 0 0 -16 0
> 0 0 sched DLs
> ?? 0:00.45 [swapper]
>
> 0 1 0 28
> 8 0 740 84 wait
> ILs ?? 0:00.18 /sbin/init --
> 0 2
> 0 0 -8 0
> 0 8 -
> DL ?? 0:05.01 [g_event]
> 0 3
> 0 0 -8 0
> 0 8 -
> DL ?? 1:05.29 [g_up]
> 0 4
> 0 0 -8 0
> 0 8 -
> DL ?? 0:49.75 [g_down]
> 0 5
> 0 0 8 0
> 0 8 -
> DL ?? 0:00.00 [kqueue taskq]
> 0 6
> 0 0 8 0
> 0 8 -
> DL ?? 0:00.00 [thread taskq]
> 0 7
> 0 0 -16 0
> 0 8 psleep DL
> ?? 0:28.22 [pagedaemon]
>
> 0 8 0 10
> 20 0 0 8 psleep
> DL ?? 0:07.41 [vmdaemon]
> 0 9
> 0 0 171 0
> 0 8 pgzero DL
> ?? 0:50.59 [pagezero]
>
> 0 10 0 0 -16
> 0 0 8 ktrace
> DL ?? 0:00.00 [ktrace]
> 0 11
> 0 77 171 0 0 8
> - RL ?? 2707:55.07
> [idle]
> 0
> 12 0 0 -60
> 0 0 8
> - WL ??
> 0:00.00 [irq1: atkbd0]
> 0
> 13 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq3:]
> 0
> 14 0 0 -60
> 0 0 8
> - WL ??
> 0:00.00 [irq4: sio0]
> 0
> 15 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq5:]
> 0
> 16 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq6:]
> 0
> 17 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq7:]
> 0
> 18 0 0 -84
> 0 0 8
> - WL ??
> 0:00.00 [irq8: rtc]
> 0
> 19 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq9:]
> 0
> 20 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq12:]
> 0
> 21 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq13:]
> 0
> 22 0 0 -64
> 0 0 8
> - WL ??
> 0:15.76 [irq14: ata0]
> 0
> 23 0 0 -64
> 0 0 8
> - WL ??
> 0:06.95 [irq15: ata1]
> 0
> 24 0 0 -68
> 0 0 8
> - WL ??
> 1:30.32 [irq10: rl0]
> 0
> 25 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq17:]
> 0
> 26 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq18:]
> 0
> 27 0 0 -68
> 0 0 8
> - WL ??
> 0:00.00 [irq11: sis0]
> 0
> 28 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq20:]
> 0
> 29 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq21:]
> 0
> 30 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq22:]
> 0
> 31 0 0 -21
> 0 0 8
> - WL ??
> 0:00.00 [irq23:]
> 0
> 32 0 0 -84
> 0 0 8
> - WL ??
> 0:00.00 [irq0: clk]
> 0
> 33 0 0 -28
> 0 0 8
> - WL ??
> 1:25.63 [swi5: clock sio]
> 0
> 34 0 0 -32
> 0 0 8
> - WL ??
> 0:00.00 [swi4: vm]
> 0
> 35 0 0 -44
> 0 0 8
> - WL ??
> 3:09.75 [swi1: net]
> 0
> 36 0 0 -16
> 0 0 8
> - DL ??
> 0:14.44 [yarrow]
> 0
> 37 0 0 -40
> 0 0 8
> - WL ??
> 0:00.00 [swi2: camnet]
> 0
> 38 0 0 -36
> 0 0 8
> - WL ??
> 0:00.00 [swi3: cambio]
> 0
> 39 0 0 -24
> 0 0 8
> - WL ??
> 0:00.00 [swi6: task queue]
> 0
> 40 0 0 -24
> 0 0 8
> - WL ??
> 0:00.00 [swi6:+]
> 0
> 41 0 0 -24
> 0 0 8
> - WL ??
> 0:00.00 [swi6:+]
> 0
> 42 0 0 -48
> 0 0 8
> - WL ??
> 0:00.00 [swi0: sio]
> 0
> 43 0 0 -16
> 0 0 8 psleep
> DL ?? 0:00.75 [bufdaemon]
> 0 44
> 0 0 -4 0
> 0 8 vlruwt DL
> ?? 0:00.69 [vnlru]
>
> 0 45 0 0
> 20 0 0 8 syncer
> DL ?? 1:04.74 [syncer]
> 0 46
> 0 0 8 0
> 0 8 -
> IL ?? 0:00.00 [nfsiod 0]
> 0 47
> 0 0 8 0
> 0 8 -
> IL ?? 0:00.00 [nfsiod 1]
> 0 48
> 0 0 8 0
> 0 8 -
> IL ?? 0:00.00 [nfsiod 2]
> 0 49
> 0 0 8 0
> 0 8 -
> IL ?? 0:00.00 [nfsiod 3]
> 0 50
> 0 0 -8 0
> 0 8 -
> DL ?? 0:11.26 [schedcpu]
> 0 145
> 0 0 -8 0
> 0 8 mdwait DL
> ?? 0:08.31 [md0]
> 0
> 177 1 102 20 0
> 1192 8 pause Is
> ?? 0:00.00 adjkerntz -i
>
> 0 237 1 102 108 0
> 516 8 select Is
> ?? 0:00.00 /sbin/devd
>
> 0 259 1 0 96
> 0 1324 256 select Ss
> ?? 0:01.85 /usr/sbin/syslogd -l /var/run/log -l
> /var/named/var/run/log -s
> 53
> 274 1 0 20 0
> 7056 3796 kserel Ss ?? 1:36.84
> /usr/sbin/named -u bind -t /var/named
>
> 0 388 1 0 96
> 0 3384 292 select Is
> ?? 0:01.98 /usr/sbin/sshd
>
> 0 409 1 0
> 8 0 1364 220 nanslp Is
> ?? 0:00.82 /usr/sbin/cron -s
>
> 0 423 1 0 96
> 0 8160 2172 select Ss ??
> 0:07.81 /usr/local/sbin/httpd
> 80
> 456 423 0 4 0 325000 47528
> sbwait S ?? 12:17.18
> /usr/local/sbin/httpd
> 80 457
> 423 0 4 0 274248 27440 accept
> S ?? 11:03.78 /usr/local/sbin/httpd
> 80 459 423
> 0 4 0 313348 39464 accept S
> ?? 11:51.11 /usr/local/sbin/httpd
> 65534
> 465 1 0 96 0
> 4412 248 select Is ??
> 0:01.41 proftpd: (accepting connections) (proftpd)
>
> 0 511 1 85 106 0
> 1400 8 select Is
> ?? 0:00.00 /usr/sbin/inetd -wW -C 60
>
> 80 535 423 0 4 0
> 289876 19960 accept S ?? 11:12.83
> /usr/local/sbin/httpd
> 80 559
> 423 0 4 0 342956 38928 accept
> S ?? 12:23.00 /usr/local/sbin/httpd
> 80 30930 423 0 4
> 0 141704 40004 accept S ??
> 4:23.18 /usr/local/sbin/httpd
> 80 33244
> 423 2 4 0 119700 55648 accept
> S ?? 3:28.23
> /usr/local/sbin/httpd
> 80 33870
> 423 0 4 0 110852 56384 accept
> S ?? 3:24.56
> /usr/local/sbin/httpd
> 80 34748
> 423 0 4 0 76064 55548 accept
> S ?? 2:32.75
> /usr/local/sbin/httpd
> 80 40238
> 423 0 4 0 50220 45780 accept
> S ?? 1:38.72
> /usr/local/sbin/httpd
> 0 40938
> 388 0 4 0 6136 680 sbwait
> Is ?? 0:00.04 sshd: marcelo [priv]
> (sshd)
> 1001 40941 40938 0 96 0
> 6116 1160 select S ??
> 0:00.70 sshd: marcelo at ttyp0 (sshd)
> 100 41103 1 0
> 8 0 4992 8 wait
> Is ?? 0:00.01 /usr/local/sbin/squid
> -D
> 100 41105 41103 0 4 0 26292
> 24068 kqread S ?? 0:11.36
> (squid) -D (squid)
> 100 41106 41105 0
> -8 0 1388 708 piperd Is
> ?? 0:00.01 (unlinkd) (unlinkd)
> 1001 40942
> 40941 0 8 0
> 1692 8 wait Is
> p0 0:00.01 -sh (sh)
> 0 40944
> 40942 0 8 0
> 1608 8 wait I
> p0 0:00.01 su -
> 0 40945
> 40944 0 20 0 2296 980
> pause S p0 0:00.11 -su
> (csh)
> 0 41786 40945 0 96
> 0 1432 820 -
> R+ p0 0:00.00 ps axwl
> 0 523 1
> 85 5 0 1288 8 ttyin
> Is+ v0 0:00.00 /usr/libexec/getty Pc
> ttyv0
> 0 524
> 1 85 5 0 1288 8
> ttyin Is+ v1 0:00.00
> /usr/libexec/getty Pc ttyv1
> 0
> 525 1 85 5 0
> 1288 8 ttyin Is+
> v2 0:00.00 /usr/libexec/getty Pc ttyv2
> 0 526 1
> 85 5 0 1288 8 ttyin
> Is+ v3 0:00.00 /usr/libexec/getty Pc
> ttyv3
> 0 527
> 1 85 5 0 1288 8
> ttyin Is+ v4 0:00.00
> /usr/libexec/getty Pc ttyv4
> 0
> 528 1 85 5 0
> 1288 8 ttyin Is+
> v5 0:00.00 /usr/libexec/getty Pc ttyv5
> 0 529 1
> 85 5 0 1288 8 ttyin
> Is+ v6 0:00.00 /usr/libexec/getty Pc
> ttyv6
> 0 530
> 1 85 5 0 1288 8
> ttyin Is+ v7 0:00.00
> /usr/libexec/getty Pc ttyv7
> 88
> 435 1 88 8 0
> 1660 8 wait I
> con- 0:00.01 /bin/sh /usr/local/bin/mysqld_safe
> --defaults-extra-file=/var/d
> 88
> 464 435 0 20 0 61556 6704 kserel
> S con- 3:20.36 /usr/local/libexec/mysqld
> --defaults-extra-file=/var/db/mysql/m
> srvp#
>
>
>
>
>
> > Use o comando top e o 'ps axwl' para acompanhar o que
> está acontecendo.
> > Assim você pode descobrir que
> programa está alocando memória sem parar.
> >
> > Mas já começando. Qual é o tamanho da cache do
> squid. Para 512 MB de
> > memória eu desaconselho caches
> superiores a 30 GB, especialmente se a
> > máquina roda
> outros serviços. Uma outra possibilidade é a quantidade de
>
> > processos. Verifique com o comando ps a quantidade de processos
> na
> > máquina.
> >
> > Para uma ajuda mais
> direta, nos mande uma saída do comando 'ps awxl'.
> >
>
>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
--
"Sempre se apanha mais com as menores besteiras. Experiência própria."
goffredo at goffredo.eti.br
goffredo at gmail.com
http://www.goffredo.eti.br
Mais detalhes sobre a lista de discussão freebsd