[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problème de mémoire



Le mar 08/07/2003 à 09:29, miki a écrit :
> Quand je dis ramer c'est que par exemple en local pour relever les mails sur
> mon serveur de ma machine perso il me faut relativement 5 minutes alors
> qu'il n'y a que un seul mail de quelques K et que pour surfer aussi bien de
> ma machine que sur la passerelle pour afficher la page de google il me faut
> relativement 2 minutes alors que je suis en adsl 512 et que j'ai tres peu de
> trafic, sinon d'installer sur la machine j'ai
> dhcp, dns (nom de domaine), serveur de mail web ftp samba firewall...
> 
> 
> Un top me donne ceci :
> 
> 78 processes: 77 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states:   0.8% user,   0.6% system,   0.0% nice,  98.6% idle
> Mem:   2068824K total,  1945444K used,   123380K free,   117640K buffers
> Swap:  1951856K total,        0K used,  1951856K free,  1649080K cached
> 


moi je vois aucun probleme, au contraire, les fichiers utilisé sont mis
en cache c'est normal (1G6 de cache ça fait que mois de 400 Mo sont
réellement utilisé par les processus)
Si ça rame pour consulter les mails en local c'est soit un probléme d'IO
disque soit (plus vraisemblable) un probléme de configuration réseaux
vérifie le réseau et notament la config loopback


>   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> 15366 miki      16   0  7516 7516  5972 S     0.7  0.3   0:00
> multiload-apple
> 15375 root      16   0  1048 1048   820 R     0.5  0.0   0:00 top
>   490 root      15   0   772  772   624 S     0.3  0.0  50:20 pppstatus
> 15269 miki      15   0  1968 1968  1792 S     0.3  0.0   0:00 sshd
> 15297 root       5 -10  275M  19M  3788 S <   0.1  0.9   0:04 XFree86
>     1 root      15   0   484  484   424 S     0.0  0.0   0:08 init
>     2 root      0K   0     0    0     0 SW    0.0  0.0   0:00 migration_CPU0
>     3 root      0K   0     0    0     0 SW    0.0  0.0   0:00 migration_CPU1
>     4 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
>     5 root      34  19     0    0     0 SWN   0.0  0.0   0:02 ksoftirqd_CPU0
>     6 root      34  19     0    0     0 SWN   0.0  0.0   0:02 ksoftirqd_CPU1
>     7 root      15   0     0    0     0 SW    0.0  0.0   0:09 kswapd
>     8 root      25   0     0    0     0 SW    0.0  0.0   0:00 bdflush
>     9 root      15   0     0    0     0 SW    0.0  0.0   0:18 kupdated
>    14 root      22   0     0    0     0 SW    0.0  0.0   0:00 khubd
>    17 root      15   0     0    0     0 SW    0.0  0.0   0:00 kreiserfsd
>   118 root      15   0     0    0     0 SW    0.0  0.0   0:00 eth0
>   232 root      15   0   780  780   664 S     0.0  0.0   0:01 syslogd
>   253 root      15   0   536  536   380 S     0.0  0.0   0:00 klogd
>   259 root      15   0   920  916   756 S     0.0  0.0   0:00 pppd
>   265 root      15   0     0    0     0 SW    0.0  0.0   0:00 eth1
>   275 root      15   0  1648 1648   880 S     0.0  0.0   0:02 named
>   279 root      15   0   908  908   732 S     0.0  0.0   0:00 dhcpd-2.2.x
>   284 root      15   0   704  704   628 S     0.0  0.0   0:00 inetd
>   291 root      17   0  1084 1084   896 S     0.0  0.0   0:00 safe_mysqld
>   326 mysql     15   0  5420 5420  2152 S     0.0  0.2   0:00 mysqld
>   328 mysql     15   0  5420 5420  2152 S     0.0  0.2   0:01 mysqld
>   329 mysql     15   0  5420 5420  2152 S     0.0  0.2   0:00 mysqld
>   330 mysql     20   0  5420 5420  2152 S     0.0  0.2   0:00 mysqld
>   440 root      15   0  1128 1128   956 S     0.0  0.0   0:00 master
>   446 root      15   0  1244 1244   800 S     0.0  0.0   0:01 nmbd
>   448 root      15   0  1248 1248   768 S     0.0  0.0   0:00 smbd
>   454 root      15   0  1212 1212  1084 S     0.0  0.0   0:00 sshd
>   458 nobody    15   0  1428 1428  1148 S     0.0  0.0   0:00 proftpd
>   461 daemon    15   0   580  580   504 S     0.0  0.0   0:00 atd
>   464 root      15   0   676  676   564 S     0.0  0.0   0:00 cron
>   468 root      15   0  3040 3040  2972 S     0.0  0.1   0:03 apache
>   472 root      15   0  2076 2072  1552 S     0.0  0.1   0:00 zsh
>   473 root      15   0  2940 2936  1584 S     0.0  0.1   0:01 zsh
>   474 miki      15   0  2132 2128  1536 S     0.0  0.1   0:00 zsh
>   475 root      15   0   468  468   408 S     0.0  0.0   0:00 getty
>   476 root      15   0   468  468   408 S     0.0  0.0   0:00 getty
>   477 root      15   0   468  468   408 S     0.0  0.0   0:00 getty
> 12979 root      15   0   476  476   404 S     0.0  0.0   3:33 pppoe
> 13010 postfix   16   0  1256 1256  1052 S     0.0  0.0   0:01 qmgr
> 15141 www-data  15   0  3344 3344  3068 S     0.0  0.1   0:00 apache
> 15142 www-data  16   0  3056 3056  2984 S     0.0  0.1   0:00 apache
> 15143 www-data  16   0  3056 3056  2984 S     0.0  0.1   0:00 apache
> 15144 www-data  16   0  3056 3056  2984 S     0.0  0.1   0:00 apache
> 15145 www-data  16   0  3056 3056  2984 S     0.0  0.1   0:00 apache
> 15253 www-data  16   0  3056 3056  2980 S     0.0  0.1   0:00 apache
> 15263 postfix   15   0   952  952   808 S     0.0  0.0   0:00 pickup
> 15267 root      15   0  1884 1884  1716 S     0.0  0.0   0:00 sshd
> 15270 miki      15   0  1756 1752  1316 S     0.0  0.0   0:00 zsh
> 
> Un ps aux me donne :
> 
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> root         1  0.0  0.0  1272  484 ?        S    Jul06   0:08 init
> root         2  0.0  0.0     0    0 ?        SW   Jul06   0:00
> [migration_CPU0]
> root         3  0.0  0.0     0    0 ?        SW   Jul06   0:00
> [migration_CPU1]
> root         4  0.0  0.0     0    0 ?        SW   Jul06   0:00 [keventd]
> root         5  0.0  0.0     0    0 ?        SWN  Jul06   0:02
> [ksoftirqd_CPU0]
> root         6  0.0  0.0     0    0 ?        SWN  Jul06   0:02
> [ksoftirqd_CPU1]
> root         7  0.0  0.0     0    0 ?        SW   Jul06   0:09 [kswapd]
> root         8  0.0  0.0     0    0 ?        SW   Jul06   0:00 [bdflush]
> root         9  0.0  0.0     0    0 ?        SW   Jul06   0:18 [kupdated]
> root        14  0.0  0.0     0    0 ?        SW   Jul06   0:00 [khubd]
> root        17  0.0  0.0     0    0 ?        SW   Jul06   0:00 [kreiserfsd]
> root       118  0.0  0.0     0    0 ?        SW   Jul06   0:00 [eth0]
> root       232  0.0  0.0  2036  780 ?        S    Jul06   0:01 /sbin/syslogd
> root       253  0.0  0.0  1356  536 ?        S    Jul06   0:00 /sbin/klogd
> root       259  0.0  0.0  2008  916 ?        S    Jul06   0:00
> /usr/sbin/pppd call dsl-provider
> root       265  0.0  0.0     0    0 ?        SW   Jul06   0:00 [eth1]
> root       275  0.0  0.0  2496 1648 ?        S    Jul06   0:02
> /usr/sbin/named
> root       279  0.0  0.0  2204  908 ?        S    Jul06   0:00
> /usr/sbin/dhcpd-2.2.x -q
> root       284  0.0  0.0  1988  704 ?        S    Jul06   0:00
> /usr/sbin/inetd
> root       291  0.0  0.0  2180 1084 ?        S    Jul06   0:00 /bin/sh
> /usr/bin/safe_mysqld
> mysql      326  0.0  0.2 36872 5420 ?        S    Jul06   0:00
> /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysql
> mysql      328  0.0  0.2 36872 5420 ?        S    Jul06   0:01
> /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysql
> mysql      329  0.0  0.2 36872 5420 ?        S    Jul06   0:00
> /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysql
> mysql      330  0.0  0.2 36872 5420 ?        S    Jul06   0:00
> /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-
> file=/var/run/mysql
> root       440  0.0  0.0  2488 1128 ?        S    Jul06   0:00
> /usr/lib/postfix/master
> root       446  0.0  0.0  2708 1244 ?        S    Jul06   0:01
> /usr/sbin/nmbd -D
> root       448  0.0  0.0  3572 1248 ?        S    Jul06   0:00
> /usr/sbin/smbd -D
> root       454  0.0  0.0  2788 1212 ?        S    Jul06   0:00
> /usr/sbin/sshd
> nobody     458  0.0  0.0  3636 1428 ?        S    Jul06   0:00 proftpd
> (accepting connections)
> daemon     461  0.0  0.0  1384  580 ?        S    Jul06   0:00 /usr/sbin/atd
> root       464  0.0  0.0  1652  676 ?        S    Jul06   0:00
> /usr/sbin/cron
> root       468  0.0  0.1 73144 3040 ?        S    Jul06   0:03
> /usr/sbin/apache
> root       472  0.0  0.1  3844 2072 tty1     S    Jul06   0:00 -zsh
> root       473  0.0  0.1  4668 2936 tty2     S    Jul06   0:01 -zsh
> miki       474  0.0  0.1  3912 2128 tty3     S    Jul06   0:00 -zsh
> root       475  0.0  0.0  1256  468 tty4     S    Jul06   0:00 /sbin/getty
> 38400 tty4
> root       476  0.0  0.0  1256  468 tty5     S    Jul06   0:00 /sbin/getty
> 38400 tty5
> root       477  0.0  0.0  1256  468 tty6     S    Jul06   0:00 /sbin/getty
> 38400 tty6
> root       490  2.0  0.0  1564  772 tty1     S    Jul06  50:22 pppstatus
> root     12979  0.3  0.0  1280  476 ?        S    Jul07   3:33
> /usr/sbin/pppoe -I eth1 -T 80 -m 1412
> postfix  13010  0.0  0.0  3764 1256 ?        S    Jul07   0:01 qmgr -l -t
> fifo -u -c
> www-data 15141  0.0  0.1 73244 3344 ?        S    06:25   0:00
> /usr/sbin/apache
> www-data 15142  0.0  0.1 73168 3056 ?        S    06:25   0:00
> /usr/sbin/apache
> www-data 15143  0.0  0.1 73168 3056 ?        S    06:25   0:00
> /usr/sbin/apache
> www-data 15144  0.0  0.1 73168 3056 ?        S    06:25   0:00
> /usr/sbin/apache
> www-data 15145  0.0  0.1 73168 3056 ?        S    06:25   0:00
> /usr/sbin/apache
> www-data 15253  0.0  0.1 73168 3056 ?        S    07:57   0:00
> /usr/sbin/apache
> postfix  15263  0.0  0.0  2416  952 ?        S    08:23   0:00 pickup -l -t
> fifo -u -c
> root     15267  0.0  0.0  6400 1884 ?        S    09:18   0:00
> /usr/sbin/sshd
> miki     15269  0.0  0.0  6408 1968 ?        R    09:18   0:00
> /usr/sbin/sshd
> miki     15270  0.0  0.0  3280 1752 pts/1    S    09:18   0:00 -zsh
> root     15277  0.0  0.0  3280 1784 pts/1    S    09:18   0:00 zsh
> miki     15283  0.0  0.0  2312 1020 tty3     S    09:20   0:00 /bin/sh
> /usr/bin/X11/startx
> miki     15296  0.0  0.0  2068  632 tty3     S    09:20   0:00 xinit
> /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc
> root     15297  2.6  0.9 284640 19376 ?      S<L  09:20   0:04
> /usr/bin/X11/X -dpi 100 -nolisten tcp
> miki     15301  0.0  0.0  2304  980 tty3     S    09:20   0:00 sh
> /home/miki/.xsession
> miki     15328  0.0  0.0  2236  776 ?        S    09:20   0:00
> /usr/bin/ssh-agent sh /home/miki/.xsession
> miki     15329  0.1  0.3 14172 8060 tty3     S    09:20   0:00 gnome-session
> miki     15332  0.2  0.2  6980 5000 tty3     S    09:20   0:00
> /usr/lib/gconf2/gconfd-2 11
> miki     15334  0.0  0.1  4404 2492 ?        S    09:20   0:00
> /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-outp
> ut-fd=16
> miki     15336  0.4  0.3 14056 6820 ?        S    09:20   0:00
> gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-i
> or-fd=14
> miki     15342  0.0  0.0  3260 1600 ?        S    09:20   0:00
> xscreensaver -nosplash
> miki     15345  0.0  0.1  6492 2428 ?        S    09:20   0:00
> gnome-smproxy --sm-config-prefix /.gnome-smproxy-zZgsYY/ --sm-client-id
> 11c0a801010001057500575
> miki     15347  0.1  0.1  8600 3788 ?        S    09:20   0:00
> /usr/bin/sawfish --sm-client-id
> 11c0a80101000105750057500000023920001 --sm-prefix aeuqeoqblf
> miki     15349  0.8  0.6 29100 14248 ?       S    09:20   0:01
> nautilus --sm-config-prefix /nautilus-dYGRHS/ --sm-client-id
> 11c0a80101000105750057600000023920
> miki     15351  0.5  0.6 18316 12652 ?       S    09:20   0:00
> gnome-panel --sm-config-prefix /gnome-panel-PWpiDU/ --sm-client-id
> 11c0a80101000105750057500000
> miki     15360  0.0  0.6 29100 14248 ?       S    09:20   0:00
> nautilus --sm-config-prefix /nautilus-dYGRHS/ --sm-client-id
> 11c0a80101000105750057600000023920
> miki     15361  0.0  0.6 29100 14248 ?       S    09:20   0:00
> nautilus --sm-config-prefix /nautilus-dYGRHS/ --sm-client-id
> 11c0a80101000105750057600000023920
> miki     15362  0.0  0.6 29100 14248 ?       S    09:20   0:00
> nautilus --sm-config-prefix /nautilus-dYGRHS/ --sm-client-id
> 11c0a80101000105750057600000023920
> miki     15363  0.0  0.6 29100 14248 ?       S    09:20   0:00
> nautilus --sm-config-prefix /nautilus-dYGRHS/ --sm-client-id
> 11c0a80101000105750057600000023920
> miki     15364  0.0  0.6 29100 14248 ?       S    09:20   0:00
> nautilus --sm-config-prefix /nautilus-dYGRHS/ --sm-client-id
> 11c0a80101000105750057600000023920
> miki     15366  0.4  0.3 13056 7516 ?        S    09:20   0:00
> /usr/lib/gnome-panel/multiload-applet-2 --oaf-activate-iid=OAFIID:GNOME_Mult
> iLoadApplet_Factory
> miki     15368  0.2  0.3 17568 7800 ?        S    09:20   0:00
> /usr/lib/gnome-panel/gweather-applet-2 --oaf-activate-iid=OAFIID:GNOME_GWeat
> herApplet_Factory -
> miki     15369  0.0  0.3 17568 7800 ?        S    09:20   0:00
> /usr/lib/gnome-panel/gweather-applet-2 --oaf-activate-iid=OAFIID:GNOME_GWeat
> herApplet_Factory -
> miki     15370  0.0  0.3 17568 7800 ?        S    09:20   0:00
> /usr/lib/gnome-panel/gweather-applet-2 --oaf-activate-iid=OAFIID:GNOME_GWeat
> herApplet_Factory -
> miki     15373  0.1  0.3 13568 7884 ?        S    09:20   0:00
> /usr/lib/gnome-panel/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerAppl
> et_Factory --oaf-io
> miki     15374  0.0  0.3 17568 7800 ?        S    09:20   0:00
> /usr/lib/gnome-panel/gweather-applet-2 --oaf-activate-iid=OAFIID:GNOME_GWeat
> herApplet_Factory -
> root     15380  0.0  0.0  2940 1072 pts/1    R    09:22   0:00 ps aux
-- 
Philippe Amelant <philippe.amelant@free.fr>



Reply to: