lkml.org 
[lkml]   [2000]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Overcomittable memory
Den 13-Mar-00 14:14:19 skrev Khimenko Victor følgende om "Re: Overcomittable memory (Was: Linux 2.2.15pre12)":
> In <1404.107T1850T4774770rask@kampsax.k-net.dk> Rask Ingemann Lambertsen
> (rask@kampsax.k-net.dk) wrote:

>> This doesn't mean that overcommit is a good idea. It just means that
>> fork()/exec() is not a good way of launching programs. Using overcommit to
>> cover up for fork()/exec() deficiencies is like redirecting compiler
>> warnings to /dev/null instead of fixing the code. The symptoms become less
>> visible but the problem remains. The problem could be solved by introducing
>> a new system call with the ability to start an external program as a new
>> process.

> And then we should start playing stupid games with file descriptors. And
> then you can not spawn simple process to communicate with extenal program
> over net. And my 20 apache processes will require 800MiB of virtual memory
> instead of 60MiB they are using now.

Where on Earth did you get those ideas from?

> Not every fork will end up with exec, you know.

I don't think anybody said they do. I surely didn't.

Regards,

/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯T¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\
| Rask Ingemann Lambertsen | E-mail: mailto:rask@kampsax.dtu.dk |
| Please do NOT Cc: to me or the | WWW: http://www.gbar.dtu.dk/~c948374/ |
| mailing list. I am on the list.| "ThrustMe" on XPilot, ARCnet and IRC |
| Packet radio - a true Ether net |


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:2.150 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site