It's not actually that bad.

On Linux (and BSD I believe), the threads of a multithreaded process
each show their memory usage inclusive of all memory that is shared with
the other threads in their process.

So when you see each thread using 1 meg, the ENTIRE process is actually
using just 1 meg.  Each thread adds very little extra memory usage.

So crank up the number of threads and relax.

Jay


On Thu, 2002-01-24 at 22:49, Richard Gordon wrote:
> I've noticed that when I do ps auxw on my virtual host, the 
> ThreadedAppServer instances are each taking up 1.0% of memory. 
> Assuming that this applies against the 1 gig of ram on the machine, 
> that works out to about 10 megs per instance. I am trying to keep 
> good relations with my host and had configured things so that only 3 
> threads would spawn at startup and no more than 5 would be allowed 
> ever, but I wind up with 7 threads to start anyway which strikes me 
> as a little odd.
> 
> So I am trying to maintain a low profile with WebKit, but can't 
> imagine that I will go for too long before someone notices that I've 
> got 70 megs of ram tied up on a machine that is supposed to service 
> maybe 120 web sites. As a practical matter, no virtual host is likely 
> to tolerate this kind of resource usage- am I either overlooking or 
> misinterpreting something?
> 
> Richard Gordon
> --------------------
> Gordon Design
> Web Design/Database Development
> http://www.richardgordon.net
> 
> 
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to