*** For details on how to be removed from this list visit the *** *** CCP4 home page http://www.ccp4.ac.uk ***
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, limiting resources can make some programs stop. It would be better using the 'nice' command. Wouldn't be useful to have such option in the ccp4i gui? Cheers, Miguel En/na Kay Diederichs ha escrit: > Hi - > > but limiting the stacksize would make the affected program (here: > phaser) crash when it wants more memory, right? > > Limiting ressources probably makes a lot of sense on a server (where you > don't want a single user to hog the system) but not on a workstation. > > If, on a workstation, a calculation takes so much memory that it needs > to swap, I would expect email and web browsing to become very slow. In > that case you need to buy more memory. I use "xosview" to see if my > workstation is happy (memory-wise). > > best, > > Kay > > Harry Powell wrote: >> *** For details on how to be removed from this list visit the *** >> *** CCP4 home page http://www.ccp4.ac.uk *** >> >> >> Hi >> >> bash (etc) have "ulimit" >> >> csh/tcsh have "limit" (& "unlimit" if you want to remove limits...). >> >> man or info pages on these should give you hints as to how to proceed. >> >>> Many shells have a command 'ulimit', by which you can limit the >>> resources >>> a process may use. With ksh, for example, you would say >>> ulimit -m 256000 to restrict the memory of any process to 256000 kB. I >>> suppose with bash it is very similar. I do not know about csh, though. >>> >>> Tim >>> >>> - -- >>> Tim Gruene >>> Institut fuer anorganische Chemie >>> Tammannstr. 4 >>> D-37077 Goettingen >>> >>> GPG Key ID = A46BEE1A >>> >>> >>> On Wed, 1 Nov 2006, Eleanor Dodson wrote: >>> >>>> How can I stop PHASER grabbing ALL the memory and destroying my >>>> machine!! >>>> Eleanor >>>> >>>> >>>> >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.1 (GNU/Linux) >>> >>> iD8DBQFFSSq3UxlJ7aRr7hoRAjVGAKDgXewyaSx+eM36Xt/2jVb+R9bpwwCg29Bg >>> +QKnpUaVNNRWO3aoJJ/rp8s= >>> =/7Lk >>> -----END PGP SIGNATURE----- >>> >> >> Harry > > - -- Miguel Ortiz Lombardía Centro de Investigaciones Oncológicas C/ Melchor Fernández Almagro, 3 28029 Madrid, Spain Tel. +34 912 246 900 Fax. +34 912 246 976 e-mail: [EMAIL PROTECTED] - ---------------------------------------------------------------------- Et ainsi ne pouvant faire que ce qui est juste fût fort, on a fait que ce qui est fort fût juste. Blaise Pascal, Pensées -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFSj9FF6oOrDvhbQIRAnakAJ9ltgKP8BIsS/C0VsOsaXE7+Nv/tgCfaBJn ziAXTAArZ2qBi/BeEek8YlU= =/tJg -----END PGP SIGNATURE-----
