Hello,
voila depusi peu je trouve que le temps de connection a mon serveur sous debian sarge est long, que se soit en ssh ou par ftp. En fesant top, j’obtiens cela:
[code]Tasks: 60 total, 1 running, 59 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 100.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1556692k total, 1548820k used, 7872k free, 5232k buffers
Swap: 2714944k total, 300k used, 2714644k free, 1450204k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 16 0 1504 512 1352 S 0.0 0.0 0:00.85 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:03.41 events/0
4 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
28 root 5 -10 0 0 0 S 0.0 0.0 0:00.10 kblockd/0
38 root 15 0 0 0 0 S 0.0 0.0 0:00.44 pdflush
39 root 15 0 0 0 0 S 0.0 0.0 0:10.39 pdflush
41 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
40 root 15 0 0 0 0 S 0.0 0.0 0:11.08 kswapd0
177 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
196 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 ata/0
281 root 15 0 0 0 0 S 0.0 0.0 0:11.57 kjournald
836 root 24 0 0 0 0 S 0.0 0.0 0:00.00 pciehpd_
[/code]
Et la je m’apercois que la quasi totalité de la ram est utilisé (1548820k used) ?? est-ce un bug de la commande top ou un probleme sur le serveur qui expliquerais les connection assez longue?
SI je fait un ps aux, j’obteins cela:
santino@debian:~$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1504 512 ? S Jan05 0:00 init [2]
root 2 0.0 0.0 0 0 ? SN Jan05 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? S< Jan05 0:03 [events/0]
root 4 0.0 0.0 0 0 ? S< Jan05 0:00 [khelper]
root 5 0.0 0.0 0 0 ? S< Jan05 0:00 [kacpid]
root 28 0.0 0.0 0 0 ? S< Jan05 0:00 [kblockd/0]
root 38 0.0 0.0 0 0 ? S Jan05 0:00 [pdflush]
root 39 0.0 0.0 0 0 ? S Jan05 0:10 [pdflush]
root 41 0.0 0.0 0 0 ? S< Jan05 0:00 [aio/0]
root 40 0.0 0.0 0 0 ? S Jan05 0:11 [kswapd0]
root 177 0.0 0.0 0 0 ? S Jan05 0:00 [kseriod]
root 196 0.0 0.0 0 0 ? S< Jan05 0:00 [ata/0]
root 281 0.0 0.0 0 0 ? S Jan05 0:11 [kjournald]
root 836 0.0 0.0 0 0 ? S Jan05 0:00 [pciehpd_event]
root 856 0.0 0.0 0 0 ? S Jan05 0:00 [shpchpd_event]
root 1018 0.0 0.0 0 0 ? S Jan05 0:00 [khubd]
daemon 1308 0.0 0.0 1612 456 ? Ss Jan05 0:00 /sbin/portmap
root 1699 0.0 0.0 2260 820 ? Ss Jan05 0:00 /sbin/syslogd
root 1702 0.0 0.0 2460 1476 ? Ss Jan05 0:00 /sbin/klogd
Debian- 1747 0.0 0.1 5140 1716 ? Ss Jan05 0:00 /usr/sbin/exim4 -bd -q30m
root 1753 0.0 0.0 2240 724 ? Ss Jan05 0:00 /usr/sbin/inetd
lp 1761 0.0 0.0 2464 884 ? Ss Jan05 0:00 /usr/sbin/lpd -s
root 1776 0.0 0.0 2504 1228 ? S Jan05 0:00 /bin/sh /usr/bin/mysqld_safe
root 1812 0.0 0.0 2504 1232 ? S Jan05 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 1813 0.0 0.9 116440 15352 ? S Jan05 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --use
root 1814 0.0 0.0 1488 500 ? S Jan05 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
postgres 1913 0.0 0.1 17100 2200 ? S Jan05 0:00 /usr/lib/postgresql/bin/postmaster -D /var/lib/postgres/data
postgres 1934 0.0 0.1 7900 2976 ? S Jan05 0:00 postgres: stats buffer process
postgres 1935 0.0 0.1 6908 2044 ? S Jan05 0:00 postgres: stats collector process
postgres 1942 0.0 0.1 4600 1704 ? Ss Jan05 0:00 /usr/lib/postgresql/bin/pg_autovacuum -D -p 5432 -L /var/log/p
root 1949 0.0 0.0 3468 1508 ? Ss Jan05 0:01 /usr/sbin/sshd
root 1953 0.0 0.0 2376 924 ? Ss Jan05 0:00 /sbin/rpc.statd
nobody 1960 0.0 0.1 4772 2280 ? Ss Jan05 0:00 proftpd: (accepting connections)
daemon 1963 0.0 0.0 1684 628 ? Ss Jan05 0:00 /usr/sbin/atd
root 1966 0.0 0.0 1764 816 ? Ss Jan05 0:00 /usr/sbin/cron
root 1971 0.0 0.6 20160 9344 ? Ss Jan05 0:00 /usr/sbin/apache2 -k start -DSSL
root 1987 0.0 0.0 1500 484 tty1 Ss+ Jan05 0:00 /sbin/getty 38400 tty1
root 1993 0.0 0.0 1500 484 tty2 Ss+ Jan05 0:00 /sbin/getty 38400 tty2
root 1994 0.0 0.0 1500 484 tty3 Ss+ Jan05 0:00 /sbin/getty 38400 tty3
root 1995 0.0 0.0 1500 484 tty4 Ss+ Jan05 0:00 /sbin/getty 38400 tty4
root 1996 0.0 0.0 1500 484 tty5 Ss+ Jan05 0:00 /sbin/getty 38400 tty5
root 1997 0.0 0.0 1500 484 tty6 Ss+ Jan05 0:00 /sbin/getty 38400 tty6
www-data 2073 0.0 0.7 23252 11268 ? S Jan05 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 2076 0.0 0.7 24188 12280 ? S Jan05 0:01 /usr/sbin/apache2 -k start -DSSL
www-data 2077 0.0 0.7 23028 11052 ? S Jan05 0:01 /usr/sbin/apache2 -k start -DSSL
www-data 2089 0.0 0.7 23016 11012 ? S Jan05 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 2150 0.0 0.7 23112 11112 ? S Jan05 0:01 /usr/sbin/apache2 -k start -DSSL
www-data 2273 0.0 0.7 23160 11156 ? S Jan05 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 12486 0.0 0.7 23452 11548 ? S Jan06 0:01 /usr/sbin/apache2 -k start -DSSL
www-data 15722 0.0 0.7 23064 11036 ? S Jan06 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 15723 0.0 0.7 23152 11112 ? S Jan06 0:00 /usr/sbin/apache2 -k start -DSSL
clamav 17017 0.0 0.0 4088 1272 ? Ss Jan06 0:00 /usr/bin/freshclam -d --quiet -p /var/run/clamav/freshclam.pid
www-data 26198 0.0 0.7 21776 11564 ? S Jan07 0:00 /usr/sbin/apache2 -k start -DSSL
root 27702 0.0 0.1 14452 1976 ? Ss 02:06 0:00 sshd: santino [priv]
santino 27705 0.0 0.1 14620 2040 ? S 02:07 0:00 sshd: santino@pts/0
santino 27706 0.0 0.1 4536 1644 pts/0 Ss 02:07 0:00 -bash
santino 27711 0.1 0.0 2064 1048 pts/0 S+ 02:07 0:00 top
root 27712 0.0 0.1 14452 1976 ? Ss 02:07 0:00 sshd: santino [priv]
santino 27715 0.0 0.1 14460 2028 ? S 02:08 0:00 sshd: santino@pts/1
santino 27716 0.1 0.1 4536 1644 pts/1 Ss 02:08 0:00 -bash
santino 27721 0.0 0.0 2496 844 pts/1 R+ 02:08 0:00 ps aux
Je peux voir certains procesus lancer 9 fois? est-ce normale?
Merci de votre aide