#12486: Add patchbot to Sage itself
----------------------------------------------+-----------------------------
       Reporter:  robertwb                    |         Owner:  mvngu       
           Type:  enhancement                 |        Status:  needs_review
       Priority:  major                       |     Milestone:  sage-5.2    
      Component:  doctest                     |    Resolution:              
       Keywords:                              |   Work issues:  sage-sdist  
Report Upstream:  N/A                         |     Reviewers:  Volker Braun
        Authors:  Robert Bradshaw, Dan Drake  |     Merged in:              
   Dependencies:                              |      Stopgaps:              
----------------------------------------------+-----------------------------

Comment (by vbraun):

 For the record, this is the 32-bit test VM passing the test:
 
http://patchbot.sagemath.org/ticket/?machine=Fedora/16/i686/3.4.2-1.fc16.i686.PAE/sagevm&status=open
 In any case, this should not block the patchbot ticket going forward.

 I noticed that `$DOT_SAGE/cache` contains a file `$SAGE_ROOT-$PID-
 lazy_import_cache.pickle` that seems to be not cleaned up by the sage
 cleaner. So over time the patchbot will fill it with 32k files, one per
 possible pid. Not terrible, but could be nicer. Should probably be fixed
 in the sage-cleaner, though.

 Running the patchbot for a long time seems to leak file descriptors for a
 pseudoterminal, after a few days I have
 {{{
 [root@volker-desktop 2040]# ps -p 2040 u
 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
 patchbot  2040  0.0  0.3 301676 99940 pts/2    S+   Jun30   0:57 python
 /mnt/storage2TB/patchbot/Sage/sage-5.1.rc0/local/bin/patchbot/patchbot.py
 [root@volker-desktop 2040]# ls -alv /proc/2040/fd/*
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/0 ->
 /dev/pts/2
 l-wx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/1 ->
 pipe:[3598117]
 l-wx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/2 ->
 pipe:[3598117]
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/3 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/4 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/5 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/6 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/7 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/8 ->
 /dev/pts/2
 [...]
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/319 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/320 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 13:14 /proc/2040/fd/321 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/322 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/323 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 12:54 /proc/2040/fd/324 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 13:16 /proc/2040/fd/325 ->
 /dev/pts/2
 lrwx------. 1 patchbot patchbot 64 Jul  1 13:16 /proc/2040/fd/326 ->
 /dev/pts/2
 l-wx------. 1 patchbot patchbot 64 Jul  1 13:16 /proc/2040/fd/328 ->
 pipe:[3598117]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12486#comment:48>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to