Re: Stretch - bash crash when reach ulimit file size

2018-01-26 Thread Felipe Salvador
On Fri, Jan 26, 2018 at 11:05:09AM -0500, Greg Wooledge wrote: > Yes, it's a bug in his script. Not in bash. > > Resource limits are quite low-level; they are implemented as kernel > system calls (see setrlimit(2)). Processes which violate a resource > limit are signalled by the kernel. > > In

Re: Stretch - bash crash when reach ulimit file size

2018-01-26 Thread Peter Hillier-Brook
On 26/01/18 16:05, Greg Wooledge wrote: > On Fri, Jan 26, 2018 at 03:45:22PM +, Peter Hillier-Brook wrote: >> On 26/01/18 10:47, Felipe Salvador wrote: >>> $ while true; do echo a>>a; done >>> >>> makes bash crash when file size is reached > >> A crash is always a bug. I suggest that you

Re: Stretch - bash crash when reach ulimit file size

2018-01-26 Thread Greg Wooledge
On Fri, Jan 26, 2018 at 03:45:22PM +, Peter Hillier-Brook wrote: > On 26/01/18 10:47, Felipe Salvador wrote: > > $ while true; do echo a>>a; done > > > > makes bash crash when file size is reached > A crash is always a bug. I suggest that you report it as such - if not > already

Re: Stretch - bash crash when reach ulimit file size

2018-01-26 Thread Peter Hillier-Brook
On 26/01/18 10:47, Felipe Salvador wrote: > Hi list, > setting > > ulimit -f 1024 > > and running (for example) > > $ while true; do echo a>>a; done > > makes bash crash when file size is reached > > Warning: Program '/bin/bash' cras

Stretch - bash crash when reach ulimit file size

2018-01-26 Thread Felipe Salvador
Hi list, setting ulimit -f 1024 and running (for example) $ while true; do echo a>>a; done makes bash crash when file size is reached Warning: Program '/bin/bash' crashed. $ du a 1024/home/felipe/a I would expect an error or something else

Re: filedecriptor ulimit -n

2012-11-17 Thread Angel Claudio Alvarez
El Fri, 16 Nov 2012 09:25:10 +0100 Trujillo Carmona, Antonio antonio.trujillo.s...@juntadeandalucia.es escribió: El jue, 15-11-2012 a las 14:40 +, Camaleón escribió: El Thu, 15 Nov 2012 14:04:08 +0100, Trujillo Carmona, Antonio escribió: Estamos teniendo problemas con el proxy. He

Re: filedecriptor ulimit -n

2012-11-16 Thread Trujillo Carmona, Antonio
El jue, 15-11-2012 a las 14:40 +, Camaleón escribió: El Thu, 15 Nov 2012 14:04:08 +0100, Trujillo Carmona, Antonio escribió: Estamos teniendo problemas con el proxy. He encontrado le error: Your cache is running out of filedescriptors (...) Me adelanto sólo por si acaso...

Re: filedecriptor ulimit -n

2012-11-16 Thread Esteban Torres Rodríguez
- nofile 4096 (la ultima anotación la hice por probar) El caso es que si me logeo al poxy como usuario obtengo: gdxtrujo@proxy-00:~$ ulimit -n 4096 como root: root@proxy-00:/home/HVN/gdxtrujo# ulimit -n 1024 como proxy (le he puesto un passwd paras probar) $ ulimit -n 1024

Re: filedecriptor ulimit -n

2012-11-16 Thread Trujillo Carmona, Antonio
/limits.conf .../... * - nofile 4096 proxy - nofile 4096 (la ultima anotación la hice por probar) El caso es que si me logeo al poxy como usuario obtengo: gdxtrujo@proxy-00:~$ ulimit -n 4096 como root: root@proxy-00:/home/HVN

Re: filedecriptor ulimit -n

2012-11-16 Thread Camaleón
El Fri, 16 Nov 2012 09:25:10 +0100, Trujillo Carmona, Antonio escribió: El jue, 15-11-2012 a las 14:40 +, Camaleón escribió: El Thu, 15 Nov 2012 14:04:08 +0100, Trujillo Carmona, Antonio escribió: Estamos teniendo problemas con el proxy. He encontrado le error: Your cache is running

Re: filedecriptor ulimit -n

2012-11-16 Thread Hector Garcia
cuestiones de seguridad. Te vuelvo a pegar los comandos para especificarlo a nivel S.O. echo 4096 /proc/sys/fs/file-max ulimit -Hn 4096 /etc/security/limits.conf * - nofile 4096 ulimit -s 4096 ulimit -n 4096 Saludos P.D. Requiere reinicio de Squid - y me parece que también del S.O

Re: filedecriptor ulimit -n

2012-11-15 Thread Camaleón
El Thu, 15 Nov 2012 14:04:08 +0100, Trujillo Carmona, Antonio escribió: Estamos teniendo problemas con el proxy. He encontrado le error: Your cache is running out of filedescriptors (...) Me adelanto sólo por si acaso... ¿puede estar relacionado con este otro hilo? (era para squeeze pero

Re: ulimit not working for changing daemon limits

2012-04-12 Thread Camaleón
a ulimit command in the init script is the way to do this. (...) I can be wrong but I had understood ulimits (per user/daemon) are set from /etc/security/limits.conf :-? From [1] /etc/security/limits.{d,conf} are only processed by pam_limits. Processes started from init generally do

ulimit not working for changing daemon limits

2012-04-11 Thread Matt Zagrabelny
Greetings, I am trying to increase the number of open files the sendmail daemon may have. I have read that inserting a ulimit command in the init script is the way to do this. I have adjusted the init script as so: # head -n 25 /etc/init.d/sendmail #!/bin/sh ### BEGIN INIT INFO # Provides

Re: ulimit not working for changing daemon limits

2012-04-11 Thread Camaleón
On Wed, 11 Apr 2012 11:04:19 -0500, Matt Zagrabelny wrote: I am trying to increase the number of open files the sendmail daemon may have. I have read that inserting a ulimit command in the init script is the way to do this. (...) I can be wrong but I had understood ulimits (per user/daemon

Re: ulimit not working for changing daemon limits

2012-04-11 Thread Matt Zagrabelny
On Wed, Apr 11, 2012 at 12:49 PM, Camaleón noela...@gmail.com wrote: On Wed, 11 Apr 2012 11:04:19 -0500, Matt Zagrabelny wrote: I am trying to increase the number of open files the sendmail daemon may have. I have read that inserting a ulimit command in the init script is the way to do

Re: how to set permanent ulimit

2010-01-27 Thread Alex Samad
On Wed, Jan 27, 2010 at 07:15:19AM +0100, Vadkan Jozsef wrote: sorry:D i wanted to write: it's not working. :\ what happens when you type ulimit -a plus you need # Sets up user limits according to /etc/security/limits.conf # (Replaces the use of /etc/limits in old login) session

how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
How can I set ulimit? when I give: ulimit -n 10240 ok, ulimit -n gives 10240. But. after a few minutes, it 1024 again! How can I set the ulimit to be permanently 10240? It would be important! :S Thank you :\ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org

Re: how to set permanent ulimit

2010-01-26 Thread Boyd Stephen Smith Jr.
On Tuesday 26 January 2010 11:54:49 Vadkan Jozsef wrote: How can I set ulimit? when I give: ulimit -n 10240 ulimits is an inheritable aspect of processes, like an environment variable. The ulimit command is actually a shell built-in that tell the shell process to increase its limit

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-26 at 12:54:49 -0500, Vadkan Jozsef wrote: How can I set ulimit? when I give: ulimit -n 10240 ok, ulimit -n gives 10240. But. after a few minutes, it 1024 again! How can I set the ulimit to be permanently 10240? It would be important! :S Thank you :\ man bash

Re: how to set permanent ulimit

2010-01-26 Thread Alex Samad
On Tue, Jan 26, 2010 at 01:47:31PM -0500, Stephen Powell wrote: On 2010-01-26 at 12:54:49 -0500, Vadkan Jozsef wrote: How can I set ulimit? when I give: ulimit -n 10240 ok, ulimit -n gives 10240. But. after a few minutes, it 1024 again! How can I set the ulimit

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
: * hardnofile 1048 I then shutdown and rebooted. I login as a normal user and issue $ ulimit -n 1024 $ ulimit -n 1048 $ ulimit -n 1048 $ ulimit -n 2000 -bash: ulimit: open files: cannot modifiy limit: Operation not permitted The limit starts at the default

Re: how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
so the question still is: how can I set ulimit to be permanent? e.g.: 10240 after reboot? :D there's no way for it?:O On k, 2010-01-26 at 15:42 -0500, Stephen Powell wrote: On 2010-01-26 at 14:40:23 -0500, Alex Samad wrote: have a look at /etc/security/limits.conf I have 2 lines

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-26 at 15:53:37 -0500, Vadkan Jozsef wrote: so the question still is: how can I set ulimit to be permanent? e.g.: 10240 after reboot? :D there's no way for it?:O I believe that Alex and I just told you, in effect. But if you need detailed instructions, OK. :-( First of all

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-26 at 16:44:33 -0500, Stephen Powell wrote: In /etc/security/limits.conf, add the following line: databasehardnofile 10240 In /home/database/.bash_profile add the following line: ulimit -n 10240 I just thought of another way, which I think is even better

Re: how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
the following line: databasehardnofile 10240 In /home/database/.bash_profile add the following line: ulimit -n 10240 I just thought of another way, which I think is even better. In /etc/security/limits.conf, add *two* lines, in this order: databasehard

Re: how to set permanent ulimit

2010-01-26 Thread Stephen Powell
On 2010-01-01 at 19:04:22 -0500, Vadkan Jozsef wrote: i wrote this two lines: *hardnofile10240 *softnofile10240 in /etc/security/limits.conf, reboot but its now working. That does not make sense. Do you mean and it's now working, or do you mean but it's not

Re: how to set permanent ulimit

2010-01-26 Thread Vadkan Jozsef
sorry:D i wanted to write: it's not working. :\ On k, 2010-01-26 at 19:42 -0500, Stephen Powell wrote: On 2010-01-01 at 19:04:22 -0500, Vadkan Jozsef wrote: i wrote this two lines: *hardnofile10240 *softnofile10240 in /etc/security/limits.conf, reboot

Re: setting ulimit permanently

2010-01-05 Thread Boyd Stephen Smith Jr.
In 560840.34719...@web114116.mail.gq1.yahoo.com, Tudod Ki wrote: is echo 'ulimit -n 10240' /etc/profiles a bad idea? [because it runs every time when someone logins] Is it a BAD idea OR NOT? It is a bad idea, since global limits can already be managed by editing /etc/security/limits.conf

setting ulimit permanently

2010-01-05 Thread Tudod Ki
is echo 'ulimit -n 10240' /etc/profiles a bad idea? [because it runs every time when someone logins] Is it a BAD idea OR NOT? :D:O thank you

set apache ulimit

2010-01-04 Thread Tudod Ki
how can I set apache [1.3] ulimit from the default 1024? thanks

Limits (ulimit)

2009-12-03 Thread Márcio Luciano Donada
Hi People I set some limits (/etc/security/ limits.conf) but when you restart the server the same did not apply the rules, as follows: * softnproc 8188 * hardnproc 65536 * softnofile 8192 * hardnofile 824692 core file

Re: Limits (ulimit)

2009-12-03 Thread Roger Leigh
On Thu, Dec 03, 2009 at 01:28:21PM -0200, Márcio Luciano Donada wrote: Hi People I set some limits (/etc/security/ limits.conf) but when you restart the server the same did not apply the rules, as follows: Hi, check if the server PAM config under /etc/pam.d includes pam_limits.so, which is

Re: what exactly is resident set size in /etc/security/limit.conf and ulimit -m?

2009-11-11 Thread Todd A. Jacobs
On Wed, Nov 11, 2009 at 12:14:43PM +0800, Zhang Weiwu wrote: Having read the manual and examples on the Internet, still confused. As far as I understand it, ulimit is per process. RSS only addresses how much of the process is resident in RAM, and some googling suggests that it may not actually

what exactly is resident set size in /etc/security/limit.conf and ulimit -m?

2009-11-10 Thread Zhang Weiwu
Having read the manual and examples on the Internet, still confused. Some suggest it is the limit of a session (as http://www.svantech.com/node/4. * Was it the size limit of a single process? * Was it the size limit of a single session? * If it is for a session, what counts a

fixing ulimit -n at system level ?

2009-09-09 Thread Frank Bonnet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Is there a way to fix at bootup for all users the ulimit -n statement (lenny) ? The default value is ridiculously 1024 Thanks -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http

Re: fixing ulimit -n at system level ?

2009-09-09 Thread Boyd Stephen Smith Jr.
In 4aa76c0d.8080...@esiee.fr, Frank Bonnet wrote: Is there a way to fix at bootup for all users the ulimit -n statement (lenny) ? Yes. The default value is ridiculously 1024 If you think this is not a sane default, you should probably file a bug. -- Boyd Stephen Smith Jr

Re: fixing ulimit -n at system level ?

2009-09-09 Thread Javier Barroso
Hi, On Wed, Sep 9, 2009 at 4:14 PM, Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote: In 4aa76c0d.8080...@esiee.fr, Frank Bonnet wrote: Is there a way to fix at bootup for all users the ulimit -n statement (lenny) ? Yes. More specificly, maybe in /etc/security/limits.conf ? The default

understanding ulimit -r -m -v

2008-01-23 Thread Christopher Zimmermann
spaces and being able to realloc is nice. Completely turning off swap is not possible since this is a multiuser system and there are many sleeping processes lying around. I'll attach my testing program, in case someone would like to play around with ulimit. Any hints, pointers to documentation

rsync + ulimit

2007-10-06 Thread Mariano Cediel
del servidor rsync o del cliente ? Quien es el que no puede hacer la lista ? 2. He leído por ahí que es problema de configurar el ulimit -s, pero por mucho que se lo aumento en el script, me devuelve el mismo error. Cual es la manera de hacer esto correctamente ? 3. Alguna otra sugerencia ? (en los

permisos para ulimit

2007-07-31 Thread [EMAIL PROTECTED]
Buenas, Después de actualizar de sarge a etch noto que el comando ulimit -u 16384 -n 65536 para los usuarios convencionales ya no tiene permisos y sale con el siguiente error: su - usuario -su: ulimit: open files: cannot modify limit: Operación no permitida /etc/security/limits.conf

Re: ulimit

2007-05-10 Thread M.Barış ÜNAL
serverde bazı aksaklıklar başlamıştı. apache zamansız olarak duruyordu. bazı hata loglarında too many open file: ./htaccess pcfg_openfile gibi bir hata mesajı buldum. biraz araştırdım ve ulimit komutu çözüm oldu gibi. fakat makine reboot ettikten sonra ulimit -n ile kontrol ettiğimde eski değeri

Consulta de ulimit

2007-04-12 Thread Ricardo Marcelo Alvarez
Hola, Una consulta, si quiero decirle al sistema que el usuario de apache pueda abrir mas de 1024 archivos en debian por defecto es 1024, esta el comando ulimit -n 4096, esto lo hace para todos los usuarios? hay forma de decirle al sistema que solo el usuario de apache pueda abrir 4096 y el

Re: Consulta de ulimit

2007-04-12 Thread Iñigo Tejedor Arrondo
El jue, 12-04-2007 a las 14:31 -0300, Ricardo Marcelo Alvarez escribió: Hola, Una consulta, si quiero decirle al sistema que el usuario de apache pueda abrir mas de 1024 archivos en debian por defecto es 1024, esta el comando ulimit -n 4096, esto lo hace para todos los usuarios? hay forma

/etc/security/limits.conf: ulimit -l (max locked memory) reports 32 when it should be unlimited

2006-07-16 Thread Yasir Assam
will apply to use users belonging to the group 'root'. However, when I run uname -a I get 32 kb instead of unlimited for the max locked memory: $ ulimit -a core file size(blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked

Re: ulimit setzen in X

2005-09-19 Thread Joerg Sommer
Hallo Christian, Christian Knoke [EMAIL PROTECTED] wrote: On Sun, Sep 18, 2005 at 03:22:01PM +, Joerg Sommer wrote: Christian Knoke [EMAIL PROTECTED] wrote: ich nutze den Gnome Desktop in Debian Sarge mit gdm, und möchte, das ulimit -c unlimited für alle Programme gilt, die ich

Re: ulimit setzen in X

2005-09-19 Thread Christian Knoke
On Sun, Sep 18, 2005 at 08:39:38PM +, Joerg Sommer wrote: Was sagt grep '^[^#].*limits' /etc/pam.d/*? [EMAIL PROTECTED]:~$ grep '^[^#].*limits' /etc/pam.d/* /etc/pam.d/ftp:session requiredpam_limits.so /etc/pam.d/gdm:session requiredpam_limits.so

Re: ulimit setzen in X

2005-09-18 Thread Joerg Sommer
Hallo Christian, Christian Knoke [EMAIL PROTECTED] wrote: Hallo, ich nutze den Gnome Desktop in Debian Sarge mit gdm, und möchte, das ulimit -c unlimited für alle Programme gilt, die ich dort ausführe. Leider klappt das nur für Terminalfenster, nicht jedoch für Programme, die ich vom

Re: ulimit setzen in X

2005-09-18 Thread Christian Knoke
Hallo Jörg, On Sun, Sep 18, 2005 at 03:22:01PM +, Joerg Sommer wrote: Christian Knoke [EMAIL PROTECTED] wrote: ich nutze den Gnome Desktop in Debian Sarge mit gdm, und möchte, das ulimit -c unlimited für alle Programme gilt, die ich dort ausführe. Leider klappt das nur für

Re: ulimit setzen in X

2005-09-18 Thread Jens Schüßler
* Christian Knoke [EMAIL PROTECTED] [18-09-05 20:04]: Hallo Jörg, On Sun, Sep 18, 2005 at 03:22:01PM +, Joerg Sommer wrote: Christian Knoke [EMAIL PROTECTED] wrote: ich nutze den Gnome Desktop in Debian Sarge mit gdm, und möchte, das ulimit -c unlimited für alle

Re: ulimit setzen in X

2005-09-18 Thread Christian Knoke
, das ulimit -c unlimited für alle Programme gilt, die ich dort ausführe. Leider klappt das nur für Terminalfenster, nicht jedoch für Programme, die ich vom Panel aus aufrufe. Du kannst das auch in /etc/security/limits.conf einstellen. Danke. Das habe ich

Re: ulimit setzen in X

2005-09-18 Thread Jens Schüßler
* Christian Knoke [EMAIL PROTECTED] [18-09-05 23:01]: Danke. Das habe ich bereits versucht. Ich habe #domain type item value chris hardcore 30 dort eingetragen, doch es funktioniert nicht. Ich habe im GUI immer noch ulimit -c = 0. Ist

ulimit setzen in X

2005-09-16 Thread Christian Knoke
Hallo, ich nutze den Gnome Desktop in Debian Sarge mit gdm, und möchte, das ulimit -c unlimited für alle Programme gilt, die ich dort ausführe. Leider klappt das nur für Terminalfenster, nicht jedoch für Programme, die ich vom Panel aus aufrufe. Ein /usr/bin/X11/xterm -fg black -e bash

Re: ulimit setzen in X

2005-09-16 Thread Hans-Georg Bork
Moin, On Fri, Sep 16, 2005 at 07:02:49PM +0200, Christian Knoke wrote: [...] /usr/bin/X11/xterm -fg black -e bash --noprofile --norc 'Starte im xterm eine bash ohne startdateien zu lesen' vom Panel aus gestartet, ergibt bash-2.05b$ ulimit -c 0 vom 'normalen' Terminal bekomme ich

Re: ulimit setzen in X

2005-09-16 Thread Christian Knoke
startdateien zu lesen' Genau. vom Panel aus gestartet, ergibt bash-2.05b$ ulimit -c 0 Wenn die Xsession auf unlimited core files eingestellt wäre, hätte hier aber *trotzdem* 'unlimited' erscheinen müssen. Die Frage ist, warum das nicht klappt Ich habe 'ulimit -c unlimited' bisher ohne Erfolg

ulimit

2005-07-04 Thread Mike Tesliuk
tudo mais, eu tenho hoje, nesta maquina uns 300 dominios, a questao é se eu der um ulimit -n eu tenho um valor 1024, oque ocorre, é que esse valor é muito baixo para a minha necessidade, entao no minimo eu jogo ele pra 2048, mas sempre, sempre mesmo, esse valor volta para 1024 ( sem reiniciar

Re: ulimit

2005-07-04 Thread Mike Tesliuk
a aplicaçao plesk ( é um painel de controle, caso alguem nao conheça ), bom, praticamente, é isto que controla as paradas, adiciona os dominios e tudo mais, eu tenho hoje, nesta maquina uns 300 dominios, a questao é se eu der um ulimit -n eu tenho um valor 1024, oque ocorre, é que esse valor

Setting defaults for ulimit

2005-06-30 Thread Paulo M C Aragão
Does anybody know where the defaults for ulimit are set ? I couldn't find anything in /etc. Thanks Paulo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Setting defaults for ulimit

2005-06-30 Thread Lee Braiden
On Thursday 30 Jun 2005 20:41, Paulo M C Aragão wrote: Does anybody know where the defaults for ulimit are set ? I couldn't find anything in /etc. /etc/security/limits.conf -- Lee. Please do not CC replies directly to me. I'll read them on the list.

Re: Setting defaults for ulimit

2005-06-30 Thread Ugo Bellavance
Paulo M C Aragão wrote: Does anybody know where the defaults for ulimit are set ? I couldn't find anything in /etc. Thanks Paulo Probably /etc/security/limits.conf -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long

Re: Setting defaults for ulimit

2005-06-30 Thread Paulo M C Aragão
Lee Braiden wrote on Jun, 30: Does anybody know where the defaults for ulimit are set ? I couldn't find anything in /etc. /etc/security/limits.conf Thanks, Lee. That's why 'grep -r ulimit /etc' couldn't find anything. Paulo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

Re: Setting defaults for ulimit

2005-06-30 Thread Paulo M C Aragão
Lee Braiden wrote on Jun, 30: Does anybody know where the defaults for ulimit are set ? I couldn't find anything in /etc. /etc/security/limits.conf Just looked at the file again and noticed that all entries are commented out (start with #). So the defaults must be coming from somewhere

Re: Setting defaults for ulimit

2005-06-30 Thread Lee Braiden
On Thursday 30 Jun 2005 23:37, Paulo M C Aragão wrote: Lee Braiden wrote on Jun, 30: Just looked at the file again and noticed that all entries are commented out (start with #). So the defaults must be coming from somewhere else. Any ideas ? I think the defaults are just from the same pam

Re: Setting defaults for ulimit

2005-06-30 Thread Paulo M C Aragão
Lee Braiden wrote on Jun, 30: I think the defaults are just from the same pam module that includes that file as an example of what you can change :) I'm not sure if I understood you. Forgive my ignorance and please correct me: 1. There's a pam module that sets limits for a shell

Re: Setting defaults for ulimit

2005-06-30 Thread Lee Braiden
On Thursday 30 Jun 2005 23:55, Paulo M C Aragão wrote: I'm not sure if I understood you. Forgive my ignorance and please correct me: 1. There's a pam module that sets limits for a shell environment 2. These limits are hardcoded but can be changed via /etc/security/limits.conf Yep :) At

Archivos de mas de 2 GB con ulimit=unlimited

2005-04-26 Thread Daniel
Hola... Tengo un pequeño problema. Estuve mirando en la lista un mensaje en el que decia como hace posible que hubiese archivos de mas de 2 GB... y pareció funcionar, pero cuando me descargo una iso de dvd con wget por ejemplo, falla al alcanzar ese limite... Puse ya que no hubiese limite en

ulimit problem

2005-01-04 Thread Dipl.-Ing. Martin Lorenz
Dear gurus on this list, I use linux since kernel 0.93 and went through quite a lot of ups and downs but this is something I simply don't understand: for running vmware I needed to increase the limit for open files. ok, ulimit -n is restricted for non-root. I could do a su , ulimit -n and su

Re: ulimit

2004-08-06 Thread Patrick Petermair
Patrick Petermair wrote: Habe schon alle möglichen Schreibweisen probiert, allerdings ohne Effekt. Für das Google Archiv. Scheint irgendwie ein lokales Problem gewesen zu sein. Ich habe es auf 2 anderen Rechnern getestet, und da funktionierte es wunderbar! MfG Patrick -- Haeufig gestellte

ulimit

2004-08-05 Thread Patrick Petermair
Hi! Wir haben hier einen ziemlich beschäftigten Server mit mehreren Tomcat Instanzen. Da es häufig zu Performance-Einbußen und Fehlermeldungen kommt, habe ich mich mal mit ulimit auseinandergesetzt. ulimit -u gibt nur einen Wert von 256 max user processes an, die der tomcat User schon längst

Re: ulimit

2004-08-05 Thread Patrick Schoenfeld
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Patrick, Patrick Petermair wrote: Was ist hier die richtige Handhabung beim Setzen der ulimit Werte? versuch es mal mit vi /etc/security/limits.conf Gruß Patrick - -- IN MEDIAS RES - -=Operations=- tel. +49 (0) 2166 - 99 99 - 685 fax. +49 (0

Re: ulimit

2004-08-05 Thread Patrick Petermair
ulimit Werten (sowohl ulimit -S als auch ulimit -H). MfG Patrick -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)

Re: Questions about /etc/profile ulimit -Hn and /etc/initscript /etc/security/limits

2004-06-05 Thread Bob Proulx
to a memory leak. You need to close files after you are through using them. I was told 1) change /etc/profile to add ulimit -Hn 65536 2)create /etc/initscript as described in man initscript, including ulimit -Hn 65536 That would only be a temporary workaround. If you are leaking file descriptors

Questions about /etc/profile ulimit -Hn and /etc/initscript /etc/security/limits

2004-06-03 Thread tripolar
When running java w/ another program I get this error message- java.io.IOException: Too many open files I was told 1) change /etc/profile to add ulimit -Hn 65536 2)create /etc/initscript as described in man initscript, including ulimit -Hn 65536 Someone else mentioned /etc/security/limits. Now I

Re: unable to increase process ulimit

2004-03-25 Thread Brian Brazil
On Wed, Mar 24, 2004 at 06:41:22PM -0600, Jonathan Rockway wrote: Hello, everyone. I'm having a problem with eclipse spawning many processes, causing me to go over my process limit. Since this is normal behavior, I would like to increase my process limit. I have edited

unable to increase process ulimit

2004-03-24 Thread Jonathan Rockway
Hello, everyone. I'm having a problem with eclipse spawning many processes, causing me to go over my process limit. Since this is normal behavior, I would like to increase my process limit. I have edited /etc/security/limits.conf, and uncommented the appropriate lines in /etc/pam.d/* (the lines

ulimit, bash and ash

2004-01-30 Thread Hugo van der Merwe
I just noticed that in bash ulimit -u is the same as ash's ulimit -p, while bash has another meaning for ulimit -p ... This makes writing scripts quite difficult, I'd say you cannot then use ulimit in /bin/sh scripts, only in scripts specifically for bash or ash. Just a thought, posted in case

Re: ulimit, bash and ash

2004-01-30 Thread Colin Watson
On Fri, Jan 30, 2004 at 04:40:30PM +0200, Hugo van der Merwe wrote: I just noticed that in bash ulimit -u is the same as ash's ulimit -p, while bash has another meaning for ulimit -p ... This makes writing scripts quite difficult, I'd say you cannot then use ulimit in /bin/sh scripts, only

Re: ulimit, bash and ash

2004-01-30 Thread Paul Morgan
On Fri, 30 Jan 2004 16:40:30 +0200, Hugo van der Merwe wrote: I just noticed that in bash ulimit -u is the same as ash's ulimit -p, while bash has another meaning for ulimit -p ... This makes writing scripts quite difficult, I'd say you cannot then use ulimit in /bin/sh scripts, only

Re: ulimit, bash and ash

2004-01-30 Thread Paul Morgan
On Fri, 30 Jan 2004 11:08:59 -0500, Paul Morgan wrote: On Fri, 30 Jan 2004 16:40:30 +0200, Hugo van der Merwe wrote: I just noticed that in bash ulimit -u is the same as ash's ulimit -p, while bash has another meaning for ulimit -p ... This makes writing scripts quite difficult, I'd say you

ulimit [Re: repartitionnement]

2002-06-04 Thread Davy Gigan
Charles Goyard writes: Ainsi parlait Guillaume Morin : L'implémententation (relativement simple) se trouve dans mm/oom_kill.c. Au niveau utilisateur, la commande ulimit permet d'empêcher les processus de trop grossir. Mais ulimit est une commande interne de bash, ce n'est donc

Re: pb ulimit uniquement sous X

2002-03-22 Thread Macolu
Tu fais man bash et tu cherches ulimit. Il y a d'autres options que -a (-a pour all) cdfmltpnuv pour voir si tu as la même chose en précisant tes désirs. Je cherche à faire des fichiers de plus de 2 Go. En ligne de commande, ça passe : # ulimit -f unlimited # Sous X (xterm, konsole, etc

Re: pb ulimit uniquement sous X

2002-03-22 Thread Davy Gigan
Macolu writes: Je cherche à faire des fichiers de plus de 2 Go. En ligne de commande, ça passe : # ulimit -f unlimited # Sous X (xterm, konsole, etc) j'obtiens ça : # ulimit -f 2097151 # Cela signifie que quelque part entre le moment ou tu lances X et le moment ou tu

Re: pb ulimit uniquement sous X

2002-03-21 Thread Jean-Michel OLTRA
On mercredi 20 mar 2002, Macolu wrote: Bonjour tout le monde ! Lorsque je fais un ulimit -a en mode texte, j'obtiens (entre autres) unlimited. Tu as essayé avec autre chose que -a -- jean-michel

Re: pb ulimit uniquement sous X

2002-03-21 Thread Macolu
Le Jeudi 21 Mars 2002 08:43, Jean-Michel OLTRA a écrit : On mercredi 20 mar 2002, Macolu wrote: Bonjour tout le monde ! Lorsque je fais un ulimit -a en mode texte, j'obtiens (entre autres) unlimited. Tu as essayé avec autre chose que -a comment ça ?

pb ulimit uniquement sous X

2002-03-20 Thread Macolu
Bonjour tout le monde ! Lorsque je fais un ulimit -a en mode texte, j'obtiens (entre autres) unlimited. Lorsque je lance cette même commande sous X, j'obtiens ça : 2097151 Du coup, ça me limite, notamment dans la taille maximale des fichiers (logique). Comment faire pour que les limites sous

Ulimit

2002-01-24 Thread Ramiro Brito Willmersdorf
Hi, I'm running kde on debian woody. Where can I change my resource limits? I'm having problems with some programs that I think might be caused by having ulimit set to: 3|[EMAIL PROTECTED]:rbw $ulimit -s 8196 4|[EMAIL PROTECTED]:rbw $ I tried: 1) Editing /etc/security/limits.conf, addind

Re: Ulimit

2002-01-24 Thread Dave Sherohman
On Thu, Jan 24, 2002 at 01:08:33PM -0200, Ramiro Brito Willmersdorf wrote: 1) Editing /etc/security/limits.conf, addind the line: rbw softstack unlimited Had you tried also increasing the hard limit to unlimited? -- When we reduce our own liberties to stop

Re: Ulimit

2002-01-24 Thread Noah Massey
--begin quoted message from Ramiro Brito Willmersdorf, Hi, I'm running kde on debian woody. Where can I change my resource limits? I'm having problems with some programs that I think might be caused by having ulimit set to: 3|[EMAIL PROTECTED]:rbw $ulimit -s 8196 4|[EMAIL PROTECTED

Re: ulimit -n problem

2001-11-15 Thread Mathias Gygax
On Don, Nov 15, 2001 at 11:31:00 +0800, Patrick Hsieh wrote: Hello, lilo, I'd like to test an overloaded apache with 2000 httpd processes running as nobody on it. However, I can't ulimit the maximum number of open file descriptors for nobody as well as common users. Is there any way

ulimit -n problem

2001-11-14 Thread Patrick Hsieh
Hello, I'd like to test an overloaded apache with 2000 httpd processes running as nobody on it. However, I can't ulimit the maximum number of open file descriptors for nobody as well as common users. Is there any way to achieve this? Thanks. -- Patrick Hsieh[EMAIL PROTECTED] SuSE - The Linux

ulimit - Como?

2001-11-03 Thread José Claudio
Estou recebendo a seguinte mensagem num servidor que roda cerca de 400 processos, a maior parte deles rodando sobre o telnetd Fork - Resource temporarily unavailable Verificando o ulimit -a vejo que o numro de processos maximos por usuarios é de 256 Mas ao que parece esse limite nao tem sido

Re: ulimit - Como?

2001-11-03 Thread Hélio Alexandre Lopes Loureiro
Estou recebendo a seguinte mensagem num servidor que roda cerca de 400 processos, a maior parte deles rodando sobre o telnetd Fork - Resource temporarily unavailable Verificando o ulimit -a vejo que o numro de processos maximos por usuarios é de 256 Mas ao que parece esse limite nao tem

Re: ulimit - Como?

2001-11-03 Thread Edson Yassuo Fugio
On Sat, 03 Nov 2001 13:09:03 -0200 (BRST) José Claudio [EMAIL PROTECTED] wrote: Estou recebendo a seguinte mensagem num servidor que roda cerca de 400 processos, a maior parte deles rodando sobre o telnetd Fork - Resource temporarily unavailable Verificando o ulimit -a vejo que o numro

ulimit and staroffice

2000-12-05 Thread Timo Benk
Hi, What ulimits need I to start StarOffice. I already adjusted the virtual memory to 80 Megs, but StarOffice hangs at the startup picture/screen. Any Ideas? These are my ulimits: core file size (blocks) 100 data seg size (kbytes) 102400 file size (blocks) unlimited max

Re: ulimit and staroffice

2000-12-05 Thread Jonathan D. Proulx
Hi, not sure exactly, but I've seen soffice suckdown 215M virtual with 96M resident, while working with big files... It's a real pig, but still better than Windows atleast -Jon

exim's .forward ulimit

1999-10-20 Thread Pere Camps
Hi! Does anybody know how to limit the resorces available for the program that runs when somebody uses the ability of the .forward file to pass the contents of the email onto a program? TIA! -- p.

Re: ulimit

1999-09-04 Thread Jens B. Jorgensen
To wit, consider that this function, just as 'cd', must be implemented as a shell builtin. If it was a program then the value's set wouldn't be able to affect future programs which are run. David Z. Maze wrote: Stavros [EMAIL PROTECTED] writes: Stavros ianyone knows why i can't find ulimit

ulimit

1999-09-03 Thread Stavros
ianyone knows why i can't find ulimit in debian potato?

Re: ulimit

1999-09-03 Thread David Z. Maze
Stavros [EMAIL PROTECTED] writes: Stavros ianyone knows why i can't find ulimit in debian potato? Because it's a builtin in various Bourne-style shells (bash, zsh, pdksh), and therefore doesn't have its own package? -- David Maze [EMAIL PROTECTED] http://donut.mit.edu

problem with ulimit on HP-UX 10.20

1999-03-26 Thread System Administrator
executed but the error is displayed. The error displayed is a follows : sh[28]: ulimit: The specified value exceeds the user's allowable limit. * Cron: The previous message is the standard output and standard error of one of your at commands

  1   2   >