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
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 r
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 reported.
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&
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
ave. 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) are set
>> from "/etc/security/limits.conf" :-?
>
>>From [1]
>
&
On Wed, Apr 11, 2012 at 12:49 PM, Camaleón 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
>
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
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
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
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,
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
, 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.
> In /et
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,
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. :-(
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
> >
e
following entry:
* 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 sta
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
> >
> > give
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?
> I
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
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
with a
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
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
how can I set apache [1.3] ulimit from the default 1024?
thanks
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 w
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 s
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 actua
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 session?
Hi,
On Wed, Sep 9, 2009 at 4:14 PM, Boyd Stephen Smith Jr.
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.co
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 S
-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
o hard. I still like huge address
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.
A
nsure that no limits 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
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 :)
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 environm
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
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 defau
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 UNSU
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 li
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.
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]
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
a
r 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 yo
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
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
> /etc/security/limi
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
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 "ul
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 sa
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 sa
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
--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 PROTEC
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 terro
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,
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 a
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
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
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 loc
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.
t; 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?
--
Jens B. Jorgensen
[EMAIL PROTECTED]
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]
ianyone knows why i can't find ulimit in debian potato?
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 com
Regular users on my system (2.0.34) have a data seg size limited
to 20480KB (as shown in ulimit -a). Only root can change the
setting of its own shell to larger.
Where can I change the system-wide setting? Where does 20480
comes from? (it's not in /etc/login.defs)
Thanks
M
what I thaught was a swap space problem comes in fact from the
bash ulimit data segment size set to 20480
Is this hardwired in bash?
Can it be change system-wide? For the time beeing, I'm only able
to change it in a shell run by root.
Thanks
M
Hi,
I am trying to enlarge the default ulimit -s (stack size) value on a
debian 1.3.1 system. Obviously login isn't linked with libpam, so
/etc/security/limits.conf isn't read. There is an ULIMIT entry in
/etc/login.defs, but that seems to be ignored also. I can lower
the ulimit -s lim
"Thomas Gebhardt" <[EMAIL PROTECTED]> writes:
> So, where can I enlarge
> the maximum stack size value, which somehow defaults to 8 MB?
Write a wrapper around login. Hope that bash has no buffer overflows
that can be exploited this way:
- /usr/local/sbin/ulogin ---
> Normally, limits are not set (ie they're set as the maximum available). If
> the limits are lower than normal:
> 1) either you have lshell installed, and there's a configuration file in etc
> which tells you which are the limits,
yep.. got it.. Thanks a lot.
That's my first encounter with lshe
On Sat, 23 Nov 1996 00:36:14 +0800 Tan Wee Yeh ([EMAIL PROTECTED]
g) wrote:
> At least I understand how the prior case has only local
> effect and that the user is limited by the hard limts.
>
> Now... is there anyway to raise the hard limit globally.
Normally, limits are not set (ie they're se
> I have tried to first raise the hard-limit as root then
> the soft-limit as the user after root logouts without
> success.
>
> Same message
> ulimit: cannot raise limit: Operation not permitted
> is persistent.
>
> Just found that I can raise the ulimit for the
On Sat, 23 Nov 1996 11:17:22 +0800 Tan Wee Yeh ([EMAIL PROTECTED]
) wrote:
> > On Fri, 22 Nov 1996 16:04:22 +0800 Tan Wee Yeh ([EMAIL PROTECTED]
> > ) wrote:
> > > Anyone knows how I can raise the limits?
> > > It doesn't seem to be the problem with Hard/Soft
> > > limits but more like priviledge
On Fri, 22 Nov 1996 16:04:22 +0800 Tan Wee Yeh ([EMAIL PROTECTED]
) wrote:
> Hi,
>
> I'm trying to raise the ulimit as an ordinary user.
> I don't seem to be able to raise any limit above some
> ceiling, except when I'm root.
>
> Anyone knows how I can raise
Hi,
I'm trying to raise the ulimit as an ordinary user.
I don't seem to be able to raise any limit above some
ceiling, except when I'm root.
~~~~
bash$ ulimit -a
...
cpu time (seconds) 3600
...
bash$ ulimit -t 3601
72 matches
Mail list logo