From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Tue 02 Mar 2004 - 12:58:21 GMT
On Tue, Mar 02, 2004 at 02:28:33PM +0200, Bogdan B. Rudas wrote:
> Herbert Poetzl wrote:
>
> >On Tue, Mar 02, 2004 at 10:29:00AM +0200, Bogdan B. Rudas wrote:
> >
> >
> >>Hi all.
> >>It's from my config: ULIMIT="-HS -u 1000 -m 32000 -t 5"
> >>but it seems me not working!
> >>Folowing script running in vserver cause dramatical perfomance loss with
> >>load utp 400 - a was forced to reboot host. :(((
> >>
> >>
> >
> >which part of the ULIMITs did you expect to stop
> >or prevent the fork bomb?
> >
> >best,
> >Herbert
> >
> >
> >
> >>#!/usr/bin/perl
> >>
> >>@a = ();
> >>while (1) {
> >> push @a, '1'x10000;
> >>}
> >>
> >>I have self-buid kernel: Linux version 2.4.25-vs1.3.7rc-ow1 (root_at_wptop)
> >>(gcc version 2.95.4 20011002 (Debian prerelease)) #3 Thu Feb 26 00:33:57
> >>MST 2004
> >>And what does the following string mean: "Unknown HZ value! (20670)
> >>Assume 100." - I see it when enter or start vserver.
interesting, is the first report after a long time
that the uptime fake confuses top or similar ...
what distro do you use? especially what psutils?
> 1'st - it was not a fork bomb.
sorry I do not use perl ...
> I expected that -t 5 will give to vserver
> no mo then 10% of CPU time and -m 32000 will refuse to get more then 32M
> of physical RAM
ever tried to limit physical ram with ulimit?
-m The maximum resident set size
-t The maximum amount of cpu time in seconds
best,
Herbert
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver