Bonjour,
J'ai installe sur une machine ubuntu server 8.10 que j'utilise comme serveur domestique.
Sur ce serveur j'ai installe 3 applications serveur : samba, vsftp et un serveur apache2..
Je suis nouveau en tout ce qui concerne l'administration serveur, mais je me suis rendu compte qu'il y a qqch de bizarre par rapport a la gestion de la memoire :
Ca me parait enorme la memoire utilise alors que je n'ai pas installe grand chose...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 user@machine:$ free -m -t total used free shared buffers cached Mem: 1001 230 770 0 19 153 -/+ buffers/cache: 57 943 Swap: 3851 0 3851 Total: 4852 230 4621
En plus ca augmente de plus en plus tout le X temps... !!
Si je fais un "top"
Je me suis rendu compte d'autre chose. Quand je fais un ps -ef je trouve des process qui sont repetes, genre :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 Tasks: 73 total, 1 running, 72 sleeping, 0 stopped, 0 zombie Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1025084k total, 236388k used, 788696k free, 20156k buffers Swap: 3943948k total, 0k used, 3943948k free, 157260k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 8562 user 20 0 2416 1116 884 R 1 0.1 0:00.06 top 1 root 20 0 3056 1888 564 S 0 0.2 0:01.86 init 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 15 -5 0 0 0 S 0 0.0 0:00.48 ksoftirqd/0 5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 15 -5 0 0 0 S 0 0.0 0:00.18 ksoftirqd/1 8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root 15 -5 0 0 0 S 0 0.0 0:00.44 events/0 10 root 15 -5 0 0 0 S 0 0.0 0:00.58 events/1 11 root 15 -5 0 0 0 S 0 0.0 0:00.02 khelper 51 root 15 -5 0 0 0 S 0 0.0 0:00.00 kintegrityd/0 52 root 15 -5 0 0 0 S 0 0.0 0:00.00 kintegrityd/1 54 root 15 -5 0 0 0 S 0 0.0 0:00.02 kblockd/0 55 root 15 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 57 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid 58 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify 131 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue 135 root 15 -5 0 0 0 S 0 0.0 0:00.00 kseriod 180 root 20 0 0 0 0 S 0 0.0 0:00.00 pdflush 181 root 20 0 0 0 0 S 0 0.0 0:00.48 pdflush 182 root 15 -5 0 0 0 S 0 0.0 0:00.00 kswapd0 224 root 15 -5 0 0 0 S 0 0.0 0:00.00 aio/0 225 root 15 -5 0 0 0 S 0 0.0 0:00.00 aio/1 1137 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksuspend_usbd 1140 root 15 -5 0 0 0 S 0 0.0 0:00.00 khubd 1297 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/0 1298 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/1
Est-ce que cela tout est normal? sinon, pourquoi ca arrive et quelle est la procedure pour reparer ca ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 root 8414 1 0 13:07 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8419 8414 0 13:07 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8565 8414 0 13:47 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8566 8414 0 13:47 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8567 8414 0 13:47 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8569 8414 0 13:47 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8570 8414 0 13:47 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8571 8414 0 13:47 ? 00:00:00 /usr/sbin/apache2 -k start www-data 8572 8414 0 13:47 ? 00:00:00 /usr/sbin/apache2 -k start
Merci d'avance
Partager