Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[python]Me bouffe litteralement toutes mes ressources!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
kangal
Guru
Guru


Joined: 25 Jun 2005
Posts: 362
Location: Paris

PostPosted: Sun Sep 11, 2005 11:21 am    Post subject: [python]Me bouffe litteralement toutes mes ressources! Reply with quote

Salut a tous,
voila mon probleme, quand mon pc est allumer depuis une ou deux jours , quand je fais un top, je m'appercois que mon pc (au repos) swap!
et quand je m'attarde sur les processus lancer je vois ca:

Code:

 9679 kangal    15   0 70884  50m 9400 S  0.7  5.0   2:16.61 python                                                       
 9699 kangal    15   0 70916  50m 9360 S  0.7  5.0   2:13.83 python                                                       
 9673 kangal    15   0 70904  50m 9400 S  0.7  5.0   2:15.75 python                                                       
 9665 kangal    15   0 70916  50m 9400 S  0.3  5.0   2:16.11 python                                                       
 9697 kangal    15   0 70924  50m 9400 S  0.3  5.0   2:16.29 python                                                       
 9703 kangal    15   0 70920  50m 9396 S  0.3  5.0   2:14.14 python                                                       
 9675 kangal    15   0 70968  50m 9396 S  0.7  5.0   2:20.23 python                                                       
 9663 kangal    15   0 70916  50m 9360 S  1.0  5.0   2:15.79 python                                                       
 9693 kangal    15   0 70912  50m 9400 S  0.3  5.0   2:17.77 python                                                       
 9669 kangal    15   0 70896  50m 9360 S  0.7  5.0   2:16.91 python                                                       
 9691 kangal    15   0 70880  50m 9360 S  0.3  5.0   2:15.97 python                                                       
 9683 kangal    15   0 70916  50m 9360 S  0.7  5.0   2:15.49 python                                                       
 9677 kangal    15   0 70920  50m 9360 S  0.3  5.0   2:17.64 python                                                       
 9685 kangal    15   0 70928  50m 9360 S  0.7  5.0   2:15.45 python                                                       
 9705 kangal    15   0 70936  50m 9356 S  0.7  5.0   2:15.75 python                                                       
24402 kangal    15   0 65868  43m  19m S 53.3  4.3  10:21.82 firefox-bin                                                 
24403 kangal    16   0 65868  43m  19m S  0.0  4.3   0:00.00 firefox-bin                                                 
24404 kangal    16   0 65868  43m  19m S  0.0  4.3   0:00.41 firefox-bin                                                 
24406 kangal    15   0 65868  43m  19m S  0.3  4.3   0:02.21 firefox-bin                                                 
24526 kangal    16   0 65868  43m  19m S  0.0  4.3   0:00.00 firefox-bin                                                 
 9566 root      16   0  176m  35m 4452 R 21.8  3.5 315:44.98 X                                                           
 9646 kangal    15   0 14780 9600 3264 S  0.3  0.9   2:48.08 wish                                                         
 9310 lp        18   0 21536 9216 3304 S  0.0  0.9   0:00.38 gs                                                           
 9752 kangal    15   0 49080 8260 4608 S  1.0  0.8   3:29.13 xmms                                                         
 9753 kangal    16   0 49080 8260 4608 S  0.0  0.8   0:00.23 xmms                                                         
 9754 kangal    15   0 49080 8260 4608 S  0.0  0.8   0:01.03 xmms                                                         
 9757 kangal    15   0 49080 8260 4608 S  0.0  0.8   0:00.88 xmms                                                         
24524 kangal    15   0 49080 8260 4608 S  1.0  0.8   0:01.17 xmms                                                         
24525 kangal    15   0 49080 8260 4608 S  0.7  0.8   0:00.23 xmms             


Donc je me demande legerement pourquoi python me prend plus d'un giga de ram...
Pourtant je l'ai mis a jour recement, mais ca ne semble avoir aucun rapport...

Merci du coup de main, bon week end a tous
_________________
SNK 4 Ever
Back to top
View user's profile Send private message
Ey
l33t
l33t


Joined: 07 Apr 2005
Posts: 863
Location: Paris

PostPosted: Sun Sep 11, 2005 11:26 am    Post subject: Re: [python]Me bouffe litteralement toutes mes ressources! Reply with quote

kangal wrote:
Donc je me demande legerement pourquoi python me prend plus d'un giga de ram...
Pourtant je l'ai mis a jour recement, mais ca ne semble avoir aucun rapport...

Merci du coup de main, bon week end a tous

Euh tu l'as vu ou ton giga de ram ? Là c'est des thread de python et ils partagent la même mémoire.
Back to top
View user's profile Send private message
kangal
Guru
Guru


Joined: 25 Jun 2005
Posts: 362
Location: Paris

PostPosted: Sun Sep 11, 2005 1:39 pm    Post subject: Reply with quote

bon, ben si python n'est pas incriminee, alors qui??? je posterais un top quand mon pc reswappera au repos pour que tu puisses me donner ton avis

merci du coup de main...
_________________
SNK 4 Ever
Back to top
View user's profile Send private message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Sun Sep 11, 2005 2:10 pm    Post subject: Reply with quote

Et par curiosité, c'est quoi le programme python qui tourne ?
Back to top
View user's profile Send private message
kangal
Guru
Guru


Joined: 25 Jun 2005
Posts: 362
Location: Paris

PostPosted: Mon Sep 12, 2005 6:12 am    Post subject: Reply with quote

je ne sais pas du tout :o
Ce matin mon pc swappait comme prevu:
Code:

Tasks:  88 total,   2 running,  84 sleeping,   0 stopped,   2 zombie
Cpu(s): 30.4% us, 11.2% sy,  0.0% ni, 47.2% id,  0.0% wa,  0.3% hi, 10.9% si
Mem:   1035732k total,  1018756k used,    16976k free,   144380k buffers
Swap:   506036k total,      192k used,   505844k free,   133004k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                   
 9458 root      16   0  169m  33m 6156 R 31.0  3.3 219:49.83 X                                                                                                           
12485 kangal    15   0 61792  32m  18m S 12.2  3.2   0:11.23 firefox-bin                                                                                                 
 9489 kangal    15   0 10388 4776 2992 S  2.0  0.5  15:59.03 enlightenment                                                                                               
 9510 kangal    15   0 10340 4740 3060 S  2.0  0.5  15:32.39 enlightenment                                                                                               
 9588 kangal    15   0 50520  36m 9.8m S  0.7  3.7   1:23.82 python                                                                                                     
12504 kangal    16   0  2044 1080  824 R  0.7  0.1   0:00.23 top                                                                                                         
 9525 kangal    15   0 32412 8320 5044 S  0.3  0.8   4:47.04 xmms                                                                                                       
 9554 kangal    15   0 50480  36m 9.8m S  0.3  3.7   1:24.77 python                                                                                                     
 9562 kangal    15   0 50476  36m 9.8m S  0.3  3.7   1:24.50 python                                                                                                     
 9566 kangal    15   0 50472  36m 9.8m S  0.3  3.7   1:25.51 python                                                                                                     
 9568 kangal    15   0 50500  36m 9.8m S  0.3  3.7   1:26.82 python                                                                                                     
 9578 kangal    15   0 50500  36m 9.8m S  0.3  3.7   1:25.56 python                                                                                                     
 9586 kangal    15   0 50564  36m 9.8m S  0.3  3.7   1:26.27 python                                                                                                     
 9590 kangal    15   0 50496  36m 9.8m S  0.3  3.7   1:25.69 python                                                                                                     
 9592 kangal    15   0 50508  36m 9.8m S  0.3  3.7   1:25.70 python                                                                                                     
 9594 kangal    15   0 50504  36m 9.8m S  0.3  3.7   1:26.00 python                                                                                                     
 9596 kangal    15   0 50504  36m 9.8m S  0.3  3.7   1:25.76 python                                                                                                     
    1 root      16   0  1456  492  436 S  0.0  0.0   0:01.17 init                                                                                                       
    2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0                                                                                                 
    3 root      34  19     0    0    0 S  0.0  0.0   0:00.03 ksoftirqd/0                                                                                                 
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.06 events/0                                                                                                   
    5 root      11  -5     0    0    0 S  0.0  0.0   0:00.01 khelper                                                                                                     
   10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread                                                                                                     
   23 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid                                                                                                     
   96 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0                                                                                                   
  149 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                                                                     
  150 root      15   0     0    0    0 S  0.0  0.0   0:01.33 pdflush                                                                                                     
  152 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0                                                                                                       
  151 root      15   0     0    0    0 S  0.0  0.0   0:00.77 kswapd0                                                                                                     
  154 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 xfslogd/0                                                                                                   
  155 root      19  -5     0    0    0 S  0.0  0.0   0:00.00 xfsdatad/0                                                                                                 
  156 root      15   0     0    0    0 S  0.0  0.0   0:00.04 xfsbufd                                                                                                     
  235 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod                                                                                                     
  717 root      15   0     0    0    0 S  0.0  0.0   0:00.23 khubd                                                                                                       
 1153 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khpsbpkt                                                                                                   
 1226 root      15   0     0    0    0 S  0.0  0.0   0:00.00 knodemgrd_0                                                                                                 
 1487 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kmirrord/0                                                                                                 
 1592 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ata/0                                                                                                       
 2588 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 reiserfs/0                                                                                                 
 2647 root      12  -4  1460  456  392 S  0.0  0.0   0:00.11 udevd                                                                                                       
 8349 root      15   0  1768  812  572 S  0.0  0.1   0:00.06 syslog-ng                                                                                                   
 9039 root      16   0  5100 2144 1440 S  0.0  0.2   0:00.42 cupsd                                                                                                       
 9073 lp        18   0  4400 1204 1036 S  0.0  0.1   0:00.00 pstoraster                                                                                                 
 9074 lp        16   0  6032 1200  940 S  0.0  0.1   0:00.01 rastertohp                                                                                                 
 9075 root      16   0  2920  716  540 S  0.0  0.1   0:00.03 parallel                                                                                                   
 9077 lp        18   0  4400 1204 1036 S  0.0  0.1   0:00.00 pstoraster                                                                                                 
 9080 lp        16   0  6032 1200  940 S  0.0  0.1   0:00.00 rastertohp                                                                                                 
 9081 root      16   0  2924  720  544 S  0.0  0.1   0:00.02 usb                                                                                                         
 9210 lp        18   0 19096 6680 3304 S  0.0  0.6   0:00.27 gs

Je ne sais pas comment vous copier l'integralite du top vu qu'il n'arrete pas de bouger...
_________________
SNK 4 Ever
Back to top
View user's profile Send private message
Ey
l33t
l33t


Joined: 07 Apr 2005
Posts: 863
Location: Paris

PostPosted: Mon Sep 12, 2005 9:25 am    Post subject: Reply with quote

Un petit
Code:
$ ps faux
devrait t'afficher l'intégralité des process.

EDIT : Sinon pour afficher l'utilisation mémoire
Code:
$ free -m
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum