Anon Sricharoenchai a �crit :
>
> I have tested the "fork" and so called "copy-on-write" operation by
> invoking the following command (as a normal user, not superuser).
>
> perl -e '$| = 1; sub s1() { system("free -t | tail -1") } s1(); for ($i =
> 0; $i<10_000_000; $i++) { $a[$i] = 0 } s1(); if (\!fork()) { s1(); for ($i
> = 0; $i<scalar(@a); $i+=300) { $a[$i] = 0 } s1() } else { wait() }'
> How can I protect this crash ?
You may protect from 'out of memory' linux crash by setting limits on
memory/time for processes with the ulimit command (ugly turnaround).
- [Cooker] QPainter::drawImage Bug in Qt 1.44 Anon Sricharoenchai
- Re: [Cooker] QPainter::drawImage Bug in Qt 1.44 Christopher Molnar
- [Cooker] sawmill is crashed by using gnumeric Anon Sricharoenchai
- Re: [Cooker] sawmill is crashed by using gnu... Frederic Crozat
- [Cooker] Re: sawmill is crashed by using gnu... Anon Sricharoenchai
- [Cooker] "fork" and then "cop... Anon Sricharoenchai
- Re: [Cooker] "fork" and then &... pgeorges
- Re: [Cooker] "fork" and th... Guillaume Cottenceau
- Re: [Cooker] "fork" and th... Meir Faraj
- Re: [Cooker] "fork" and then &... Leon Brooks
