Foros del Web » Administración de Sistemas » Unix / Linux »

Mi Centos está terriblemente lento

Estas en el tema de Mi Centos está terriblemente lento en el foro de Unix / Linux en Foros del Web. Hola tengo un Centos con la siguiente versión: Linux xxx.xxx.xxx 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux Y tengo ...
  #1 (permalink)  
Antiguo 03/12/2010, 10:15
Avatar de Galled  
Fecha de Ingreso: marzo-2005
Ubicación: Lima
Mensajes: 254
Antigüedad: 19 años
Puntos: 0
Mi Centos está terriblemente lento

Hola tengo un Centos con la siguiente versión:

Linux xxx.xxx.xxx 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux

Y tengo los siguientes problemas:

- Cuando me conecto con SSH, cada comando puede tomar hasta 2 minutos en ejecutarse!
- Reiniciar el servidor toma 16 minutos en promedio.
- Tengo una página web en este servidor (PHP (Joomla) with Apache/2.2.8 (Unix) ) y cada página tomar alrededor de 1 minuto en cargar.
- Yo pensé inicialmente que era porque el servidor se conectaba con IPv6, porque cuando ejecutaba el comando "lsmod | grep v6" me mostraba los siguiente:

ipv6 261473 125
xfrm_nalgo 13381 1 ipv6

Pero usando esta página web (http://techno.mayix.net/deshabilitar...-redhatcentos/), pude deshabilitar la conección IPv6, ya que cuando ejecuto el comando "lsmod | grep v6" ya no me muestra nada. Pero los problemas de lentitud siguen.

- Cuando ejecuto el comando "top" me da esto:

top - 09:40:08 up 10 min, 1 user, load average: 18.89, 14.99, 8.02
Tasks: 153 total, 13 running, 140 sleeping, 0 stopped, 0 zombie
Cpu(s): 57.1%us, 42.4%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.2%hi, 0.3%si, 0.0%st
Mem: 1555380k total, 667200k used, 888180k free, 18332k buffers
Swap: 2048276k total, 0k used, 2048276k free, 193784k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2265 mysql 15 0 133m 23m 6052 S 35.8 1.5 2:43.58 mysqld
2868 apache 15 0 42092 21m 4520 S 18.2 1.4 0:19.51 httpd
3112 apache 16 0 41844 21m 4536 S 18.2 1.4 0:09.18 httpd
2506 apache 15 0 42108 21m 4516 S 17.9 1.4 0:23.15 httpd
3471 apache 16 0 41732 20m 4252 S 17.9 1.4 0:02.59 httpd
2567 apache 15 0 42060 21m 4496 S 16.9 1.4 0:20.84 httpd
2625 apache 16 0 41840 21m 4568 R 16.9 1.4 0:16.53 httpd
3461 apache 15 0 41460 20m 4260 S 16.6 1.4 0:02.17 httpd
2593 apache 15 0 42084 21m 4480 S 16.3 1.4 0:15.37 httpd
2429 apache 15 0 42040 21m 4484 S 9.8 1.4 0:14.31 httpd
3477 apache 18 0 36900 15m 3792 R 5.5 1.0 0:01.24 httpd
3499 apache 19 0 37432 16m 3840 R 3.3 1.1 0:01.40 httpd
2417 apache 15 0 40544 20m 4508 S 1.3 1.3 0:18.89 httpd
3520 root 15 0 2420 1060 800 R 1.3 0.1 0:00.46 top
3464 apache 15 0 41332 20m 4432 S 0.7 1.4 0:04.03 httpd
2423 operador 15 0 10032 1596 1024 S 0.3 0.1 0:00.54 sshd
2463 root 16 0 2052 636 556 S 0.3 0.0 0:01.84 hald-addon-stor
2482 apache 15 0 37224 16m 4508 S 0.3 1.1 0:17.95 httpd
1 root 15 0 2152 672 580 S 0.0 0.0 0:02.09 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.10 migration/0
3 root 34 19 0 0 0 R 0.0 0.0 0:00.00 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.05 migration/1
6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1
7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0.0 0.0 0:00.06 events/0
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 events/1
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.03 khelper
11 root 14 -5 0 0 0 S 0.0 0.0 0:00.02 kthread
15 root 10 -5 0 0 0 S 0.0 0.0 0:00.08 kblockd/0
16 root 10 -5 0 0 0 S 0.0 0.0 0:00.05 kblockd/1
17 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
74 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0
75 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/1
78 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
80 root 14 -5 0 0 0 S 0.0 0.0 0:00.03 kseriod
146 root 19 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
147 root 15 0 0 0 0 S 0.0 0.0 0:00.50 pdflush
148 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 kswapd0
149 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
150 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 aio/1
305 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused


.....
__________________
Mi blog
  #2 (permalink)  
Antiguo 03/12/2010, 10:27
Avatar de Galled  
Fecha de Ingreso: marzo-2005
Ubicación: Lima
Mensajes: 254
Antigüedad: 19 años
Puntos: 0
Respuesta: Mi Centos está terriblemente lento

.... continúa...

349 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 mpt_poll_0
350 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
354 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
355 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 ata/1
356 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux
363 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 kstriped
376 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 ksnapd

Como ven, apache tiene muchas instancias y consume muchos recursos.
¿Porque el servidor está tan lento? ¿Qué puede estar pasando? ¿Porqué apache parece que tuviera muchas instancias creadas y porqué consume tanto CPU?
__________________
Mi blog

Etiquetas: centos, lento
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 05:18.