Re: Memory leak in Emacs 23.1 - SL.6.1

2011-10-25 Thread Jean-Paul Chaput
Hello Mr. Moll,

I've made a backport of Emacs 23.3 from Fedora 16 to SL 6.
I use it daily without problems so far, nevertheless I cannot
tell if it solves the problem you're facing.

If you want to uses Yum with my repository, instructions are here:
  
http://ftp.lip6.fr/pub/linux/distributions/slsoc/6x/dim/soc-release/doc/SoCrepo/

If you want to download only the Emacs packages, the
repositories contents are here:
  http://ftp.lip6.fr/pub/linux/distributions/slsoc/soc/SRPMS/repoview/
  http://ftp.lip6.fr/pub/linux/distributions/slsoc/soc/i386/repoview/
  http://ftp.lip6.fr/pub/linux/distributions/slsoc/soc/x86_64/repoview/

Hope this helps.

On Mon, 2011-10-24 at 21:48 +0200, Felip Moll wrote:
 Hello all!,
 
 Recently I installed a SL6.1 Cluster with 16 nodes, slurm resource
 manager, etc.
 
 I use Emacs to edit my files as do some of the researchers of my
 investigation center.
 
 One day I detected that some daemons hunged. I discovered that the
 kernel was killing some processes because the system went out of
 memory. I couldn't reproduce the error anymore, and the thing seemed
 to occurr on very random times.
 
 Since this day, I limited with limits.conf the user stack to 15Gb. (my
 server has 16gb, and consumes normally no more than 1gb).
 
 Today, when I was doing some tasks I could see what is causing the
 problem. It's Emacs!. There seems to be a user that uses emacs and
 that does logout from his session without exiting it. The access to
 the server is done by ssh.
 
 I will try to install the latest 23.3 version with .tar.gz package but
 I like to use the Yum package if it's possible in order to keep the
 installation as clean as possible.
 
 
 Should I report it to some place?
 
 Thank you.
 Felip.
 
 Here there is the info. that I gathered:
 
 
 [root@acuario ~]# free -m
  total   used   free sharedbuffers
 cached
 Mem: 16080  15904175  0 88
 1081
 -/+ buffers/cache:  14734   1345
 Swap:16381353  16028
 
 [root@acuario ~]# uname -a
 Linux acuario 2.6.32-131.17.1.el6.x86_64 #1 SMP Wed Oct 5 17:19:54 CDT
 2011 x86_64 x86_64 x86_64 GNU/Linux
 
 [root@acuario ~]# who
 root pts/12011-10-24 21:25 (192.168.xx.xx)
 
 [root@acuario ~]# lastlog
 ...
 rrossi   pts/3halley.rmeecimne Mon Oct 24 09:30:54 +0200
 2011
 ...
 
 [root@acuario rrossi]# ps aux | grep rrossi
 rrossi   19902 13.1 85.9 14679980 14151208 ?   ROct21 605:18 emacs
 -nw acuari_configure.sh
 root 21157  0.0  0.0 103228   856 pts/1S+   21:33   0:00 grep
 rrossi
 
 [root@acuario rrossi]# du
 -chs ./kratos/cmake_build/acuari_configure.sh
 4.0K./kratos/cmake_build/acuari_configure.sh   (it is a 55 lines
 normal flat text file, I checked it with my root emacs instance and
 all went ok)
 4.0Ktotal
 
 [root@acuario ~]# emacs --version
 GNU Emacs 23.1.1
 Copyright (C) 2009 Free Software Foundation, Inc.
 GNU Emacs comes with ABSOLUTELY NO WARRANTY.
 You may redistribute copies of Emacs
 under the terms of the GNU General Public License.
 For more information about these matters, see the file named COPYING.
 
 [root@acuario ~]# lsof | grep rrossi  (the same as grep emacs)
 COMMAND PID  USER   FD  TYPE DEVICE SIZE/OFF
 NODE NAME
 emacs 19902rrossi  cwd   DIR   8,33 4096
 83886081 /home/kratos_common
 emacs 19902rrossi  rtd   DIR9,0 4096
 2 /
 emacs 19902rrossi  txt   REG9,0 11143104
 5779966 /usr/bin/emacs-23.1
 emacs 19902rrossi  mem   REG9,0   228984
 5768561 /usr/lib64/librsvg-2.so.2.26.0
 emacs 19902rrossi  mem   REG9,0   155696
 2752626 /lib64/ld-2.12.so
 emacs 19902rrossi  mem   REG9,0  1904312
 2752790 /lib64/libc-2.12.so
 emacs 19902rrossi  mem   REG9,0   141576
 2752807 /lib64/libpthread-2.12.so
 emacs 19902rrossi  mem   REG9,0   598816
 2752609 /lib64/libm-2.12.so
 emacs 19902rrossi  mem   REG9,047064
 2752595 /lib64/librt-2.12.so
 emacs 19902rrossi  mem   REG9,0   941440
 2752780 /lib64/libglib-2.0.so.0.2200.5
 emacs 19902rrossi  mem   REG9,088240
 2752794 /lib64/libz.so.1.2.3
 emacs 19902rrossi  mem   REG9,0   283584
 2752597 /lib64/libgobject-2.0.so.0.2200.5
 emacs 19902rrossi  mem   REG9,0   109808
 2752599 /lib64/libresolv-2.12.so
 emacs 19902rrossi  mem   REG9,0   268200
 2752880 /lib64/libdbus-1.so.3.4.0
 emacs 19902rrossi  mem   REG9,0   411200
 5773480 /usr/lib64/libtiff.so.3.9.4
 emacs 19902rrossi  mem   REG9,0   112856
 5770325 /usr/lib64/libxcb.so.1.1.0
 emacs 19902rrossi  mem   REG9,0

Update vs. Clean install of sci-linux 6.1

2011-10-25 Thread Andrew Stallard
I have scientific linux 5.4 and I want to upgrade to 6.1. However, I don't
want the install program to wipe out my existing software programs and
files. Should I use the Full Installation or something else (Live DVD maybe)?

Thank You for Responding

Andrew Stallard


Re: Memory leak in Emacs 23.1 - SL.6.1

2011-10-25 Thread Stephan Wiesand
Hello Felip,

On Oct 24, 2011, at 21:48, Felip Moll wrote:

 Recently I installed a SL6.1 Cluster with 16 nodes, slurm resource manager, 
 etc.
 
 I use Emacs to edit my files as do some of the researchers of my 
 investigation center.
 
 One day I detected that some daemons hunged. I discovered that the kernel was 
 killing some processes because the system went out of memory. I couldn't 
 reproduce the error anymore, and the thing seemed to occurr on very random 
 times.
 
 Since this day, I limited with limits.conf the user stack to 15Gb. (my server 
 has 16gb, and consumes normally no more than 1gb).
 
 Today, when I was doing some tasks I could see what is causing the problem. 
 It's Emacs!. There seems to be a user that uses emacs and that does logout 
 from his session without exiting it. The access to the server is done by ssh.
 
 I will try to install the latest 23.3 version with .tar.gz package but I like 
 to use the Yum package if it's possible in order to keep the installation as 
 clean as possible.
 
 Should I report it to some place?

it seems someone else already has: 
https://bugzilla.redhat.com/show_bug.cgi?id=732157

There's a proposed patch attached to that BZ.

Regards,
Stephan


-- 
Stephan Wiesand
DESY -DV-
Platanenallee 6
15738 Zeuthen, Germany


Re: Memory leak in Emacs 23.1 - SL.6.1

2011-10-25 Thread Felip Moll
Thanks to all!

I didn't search very well into the bugs database. Sorry.

Jean-Paul, I took a look to your repos but I didn't find any emacs package.
I can only see:

   - 
emacs-doxymacshttp://ftp.lip6.fr/pub/linux/distributions/slsoc/soc/SRPMS/repoview/emacs-doxymacs.html-
Doxygen
   add-on for Emacs/XEmacs
   - 
emacs-w3http://ftp.lip6.fr/pub/linux/distributions/slsoc/soc/SRPMS/repoview/emacs-w3.html-
W3
   package for Emacs


   - 
emacs-sdcchttp://ftp.lip6.fr/pub/linux/distributions/slsoc/soc/x86_64/repoview/emacs-sdcc.html-
Emacs
   extensions for SDCC


But no emacs and emacs-common package.

Best regards.
Felip

2011/10/25 Stephan Wiesand stephan.wies...@desy.de

 Hello Felip,

 On Oct 24, 2011, at 21:48, Felip Moll wrote:

  Recently I installed a SL6.1 Cluster with 16 nodes, slurm resource
 manager, etc.
 
  I use Emacs to edit my files as do some of the researchers of my
 investigation center.
 
  One day I detected that some daemons hunged. I discovered that the kernel
 was killing some processes because the system went out of memory. I couldn't
 reproduce the error anymore, and the thing seemed to occurr on very random
 times.
 
  Since this day, I limited with limits.conf the user stack to 15Gb. (my
 server has 16gb, and consumes normally no more than 1gb).
 
  Today, when I was doing some tasks I could see what is causing the
 problem. It's Emacs!. There seems to be a user that uses emacs and that does
 logout from his session without exiting it. The access to the server is done
 by ssh.
 
  I will try to install the latest 23.3 version with .tar.gz package but I
 like to use the Yum package if it's possible in order to keep the
 installation as clean as possible.
 
  Should I report it to some place?

 it seems someone else already has:
 https://bugzilla.redhat.com/show_bug.cgi?id=732157

 There's a proposed patch attached to that BZ.

 Regards,
Stephan


 --
 Stephan Wiesand
 DESY -DV-
 Platanenallee 6
 15738 Zeuthen, Germany



Re: Memory leak in Emacs 23.1 - SL.6.1

2011-10-25 Thread Stephan Wiesand
On Oct 25, 2011, at 15:36, Felip Moll wrote:

 Thanks to all!
 
 I didn't search very well into the bugs database. Sorry.
 
 Jean-Paul, I took a look to your repos but I didn't find any emacs package. I 
 can only see:
   • emacs-doxymacs - Doxygen add-on for Emacs/XEmacs
   • emacs-w3 - W3 package for Emacs
   • emacs-sdcc - Emacs extensions for SDCC
 
 But no emacs and emacs-common package.

I built packages with the proposed fix from BZ. It seems to work, and fix the 
issue. If you're interested even though they had no real testing, find them in 
http://www-zeuthen.desy.de/~wiesand/SL6/emacs/

Regards,
Stephan

 Best regards.
 Felip
 
 2011/10/25 Stephan Wiesand stephan.wies...@desy.de
 Hello Felip,
 
 On Oct 24, 2011, at 21:48, Felip Moll wrote:
 
  Recently I installed a SL6.1 Cluster with 16 nodes, slurm resource manager, 
  etc.
 
  I use Emacs to edit my files as do some of the researchers of my 
  investigation center.
 
  One day I detected that some daemons hunged. I discovered that the kernel 
  was killing some processes because the system went out of memory. I 
  couldn't reproduce the error anymore, and the thing seemed to occurr on 
  very random times.
 
  Since this day, I limited with limits.conf the user stack to 15Gb. (my 
  server has 16gb, and consumes normally no more than 1gb).
 
  Today, when I was doing some tasks I could see what is causing the problem. 
  It's Emacs!. There seems to be a user that uses emacs and that does logout 
  from his session without exiting it. The access to the server is done by 
  ssh.
 
  I will try to install the latest 23.3 version with .tar.gz package but I 
  like to use the Yum package if it's possible in order to keep the 
  installation as clean as possible.
 
  Should I report it to some place?
 
 it seems someone else already has: 
 https://bugzilla.redhat.com/show_bug.cgi?id=732157
 
 There's a proposed patch attached to that BZ.

-- 
Stephan Wiesand
DESY -DV-
Platanenallee 6
15738 Zeuthen, Germany


Re: Memory leak in Emacs 23.1 - SL.6.1

2011-10-25 Thread Jean-Paul Chaput
Hello Felip,

I'm very ashamed. They are now...
Though, they will not contains the BZ patch for 23.1, but maybe
it was no longer needed.

Best regards.

On Tue, 2011-10-25 at 15:36 +0200, Felip Moll wrote:
 Thanks to all!
 
 I didn't search very well into the bugs database. Sorry.
 
 Jean-Paul, I took a look to your repos but I didn't find any emacs
 package. I can only see:
   * emacs-doxymacs - Doxygen add-on for Emacs/XEmacs 
   * emacs-w3 - W3 package for Emacs
   * emacs-sdcc - Emacs extensions for SDCC 
 
 But no emacs and emacs-common package.
 
 Best regards.
 Felip
 
 2011/10/25 Stephan Wiesand stephan.wies...@desy.de
 Hello Felip,
 
 On Oct 24, 2011, at 21:48, Felip Moll wrote:
 
  Recently I installed a SL6.1 Cluster with 16 nodes, slurm
 resource manager, etc.
 
  I use Emacs to edit my files as do some of the researchers
 of my investigation center.
 
  One day I detected that some daemons hunged. I discovered
 that the kernel was killing some processes because the system
 went out of memory. I couldn't reproduce the error anymore,
 and the thing seemed to occurr on very random times.
 
  Since this day, I limited with limits.conf the user stack to
 15Gb. (my server has 16gb, and consumes normally no more than
 1gb).
 
  Today, when I was doing some tasks I could see what is
 causing the problem. It's Emacs!. There seems to be a user
 that uses emacs and that does logout from his session without
 exiting it. The access to the server is done by ssh.
 
  I will try to install the latest 23.3 version with .tar.gz
 package but I like to use the Yum package if it's possible in
 order to keep the installation as clean as possible.
 
  Should I report it to some place?
 
 
 it seems someone else already has:
 https://bugzilla.redhat.com/show_bug.cgi?id=732157
 
 There's a proposed patch attached to that BZ.
 
 Regards,
Stephan
 
 
 --
 Stephan Wiesand
 DESY -DV-
 Platanenallee 6
 15738 Zeuthen, Germany
 

-- 
  .-. J e a n - P a u l   C h a p u t  /  Administrateur Systeme
  /v\ jean-paul.cha...@lip6.fr
/(___)\   work: (33) 01.44.27.53.99  
 ^^ ^^cell:  06.66.25.35.55   home: 01.47.46.01.31

U P M C   Universite Pierre  Marie Curie
L I P 6   Laboratoire d'Informatique de Paris VI
S o C System On Chip


hardware compatibility list

2011-10-25 Thread Scott Williams

Hi,

I have been searching for a hardware compatibility list for scientific
linux, specifically for motherboards (which I have had a problem with
in the past). I have a hardware supplier that has limited stock, so I
am not free to choose from an extensive list and would like to be able
to check particular motherboards for compatibility. Initial searches
have not proved successful. Does such a list exist?

Thanks,
Scott

--


Scott Williams  email: willi...@nscl.msu.edu
Physicist telephone: +1 517 908 7296
NSCLfax: +1 517 353 5967
Michigan State University
1 Cyclotron
East Lansing, MI 48824, USA



Re: hardware compatibility list

2011-10-25 Thread Stephan Wiesand
Hi,

On Oct 25, 2011, at 17:18 , Scott Williams wrote:

 I have been searching for a hardware compatibility list for scientific
 linux, specifically for motherboards (which I have had a problem with
 in the past). I have a hardware supplier that has limited stock, so I
 am not free to choose from an extensive list and would like to be able
 to check particular motherboards for compatibility. Initial searches
 have not proved successful. Does such a list exist?

have a look at https://hardware.redhat.com/ . Hardware certified for this 
distribution will very likely work with the corresponding SL release...

Regards,
Stephan

-- 
Stephan Wiesand
DESY -DV-
Platanenenallee 6
15738 Zeuthen, Germany



smime.p7s
Description: S/MIME cryptographic signature


Re: hardware compatibility list

2011-10-25 Thread Yasha Karant

On 10/25/2011 08:30 AM, Stephan Wiesand wrote:

Hi,

On Oct 25, 2011, at 17:18 , Scott Williams wrote:


I have been searching for a hardware compatibility list for scientific
linux, specifically for motherboards (which I have had a problem with
in the past). I have a hardware supplier that has limited stock, so I
am not free to choose from an extensive list and would like to be able
to check particular motherboards for compatibility. Initial searches
have not proved successful. Does such a list exist?


have a look at https://hardware.redhat.com/ . Hardware certified for this distribution 
will very likely work with the corresponding SL release...

Regards,
Stephan



Two points:

Much of the certification is for RH 5 and earlier; presumably, if the 
hardware drivers exist on RHEL N-M, these also exist on RHEL N .


I was looking for two systems upon which I know EL works -- HP 8530p and 
Lenovo G570 (only EL 6.1 and presumably later releases).  Neither is listed.


Another option (that I did with success):  get the latest SL stand alone 
bootable image (as EUFI is not yet on the hardware and that probably 
will prevent the installation or booting of SL) -- currently:


ftp://ftp1.scientificlinux.org/linux/scientific/livecd/61/

and then choose i386 for a 32 bit version or x86_64 for a 64 bit version 
-- such as:


SL-61-i386-2011-07-27-LiveDVD.iso

burn the image to a DVD, boot the target system from this DVD, and check 
if everything works.  Assuming that there is no special hardware (e.g., 
special external control interfaces or special mass storage hardware), 
test the 802.3 NIC, the 802.11 WNIC (if present, typically on a laptop), 
the video card (did Xwindows work?), the sound card, USB and IEEE 1394 
(firewire) if present.  If you need the integrated webcam, if present, 
then go through the procedures to activate the webcam and display the 
stream to the screen. If you need 802.16 (WiMAX) or Bluetooth, if 
present (typically, on a laptop), check these as well.


If everything works, you probably have a compatible system (no 
proprietary hardware with MS only supplied drivers).  If not, and you 
really want the unit, start hunting on the web and this list to discover 
if a Linux driver exists for the hardware, and if the driver has been 
ported to SL .


Yasha Karant


Re: hardware compatibility list

2011-10-25 Thread Phong Nguyen
Intel-branded motherboards are likely to be compatible, though you may need to 
get backported drivers for the NIC via ELRepo. 

On 25 Oct 2011, at 1018, Scott Williams wrote:

 Hi,
 
 I have been searching for a hardware compatibility list for scientific
 linux, specifically for motherboards (which I have had a problem with
 in the past). I have a hardware supplier that has limited stock, so I
 am not free to choose from an extensive list and would like to be able
 to check particular motherboards for compatibility. Initial searches
 have not proved successful. Does such a list exist?
 
 Thanks,
 Scott
 
 -- 
 
 
 Scott Williams  email: willi...@nscl.msu.edu
 Physicist telephone: +1 517 908 7296
 NSCLfax: +1 517 353 5967
 Michigan State University
 1 Cyclotron
 East Lansing, MI 48824, USA
 


Re: hardware compatibility list

2011-10-25 Thread Mark Stodola
I'll second this.  Been using Intel-branded motherboards and NICs 
(ELrepo drivers) for quite a few years now without problems.


Phong Nguyen wrote:
Intel-branded motherboards are likely to be compatible, though you may need to get backported drivers for the NIC via ELRepo. 


On 25 Oct 2011, at 1018, Scott Williams wrote:

  

Hi,

I have been searching for a hardware compatibility list for scientific
linux, specifically for motherboards (which I have had a problem with
in the past). I have a hardware supplier that has limited stock, so I
am not free to choose from an extensive list and would like to be able
to check particular motherboards for compatibility. Initial searches
have not proved successful. Does such a list exist?

Thanks,
Scott

--


Scott Williams  email: willi...@nscl.msu.edu
Physicist telephone: +1 517 908 7296
NSCLfax: +1 517 353 5967
Michigan State University
1 Cyclotron
East Lansing, MI 48824, USA





--
Mr. Mark V. Stodola
Digital Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591