Messages in this thread | | | Date | Mon, 8 Mar 1999 14:28:54 -0500 | From | Myrdraal <> | Subject | Re: Simple DoS...out of resources? |
| |
On Mon, Mar 08, 1999 at 01:39:24PM -0500, rewt wrote: Hi, > It is very easy to crash a system simply by viewing a large file with > editor such as pico. It will eat up all the resources and do some > unpredictible things. In my case I viewed a 100mb file as it was reading > it, it filled up all the swap space which is 48mb. It killed most of the > processes including sendmail, sshd, X, syslog. Does anyone have any idea > how can i protect myself against that kind of DoS? My configuration: > P100, 48mb ram, 48mb swap running on kernel 2.2.2. You need to set user resource limits. This isn't a kernel problem. See the "ulimit" command if you use bash. Other shells probably use a different command. -Myrdraal -- Linux jackalz 2.2.2 #73 Tue Feb 23 03:22:39 EST 1999 i586 unknown 2:27pm up 13 days, 10:54, 29 users, load average: 0.06, 0.09, 0.08 **[ Linux: Because a penguin makes a better mascot than Satan. ]**
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |