----- Original Message ----- 
From: "Radamanthus Batnag" <[EMAIL PROTECTED]>
To: "Philippine Linux Users Group Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 9:05 PM
Subject: RE: [plug]Swap Increase


> My hunch is that the problem is not an OS problem or even a DB problem.
The
> problem is a badly designed application - probably written in Delphi or
VB,
> but JBoss with stupid EJBs is also a candidate - that is treating a very
> large database table as if it were a small DBF file. The app loads *all*
> table records - probably thousands of them - whenever it needs to display
a
> screenful of records. And there are several instances of this app running
> at the same time.

the server side would not affected with bad design at the client side
because firebird and other client/server rdbms are doing a *database paging*
when accessing a record...

----- Original Message ----- 
From: "Kelsey Hartigan Go" <[EMAIL PROTECTED]>
To: "Philippine Linux Users Group Mailing List" <[EMAIL PROTECTED]>
Cc: "Sacha Chua" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 7:36 PM
Subject: RE: [plug]Swap Increase


> Over memory?  But when I have too many processes it kswapd tends to
> take over cpu...but not much swapping happening -- could it be its
> cleaning up garbage?

yes, kswapd is responsible for reclaiming pages when memory is running
low...

----- Original Message ----- 
From: "Orlando Andico" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Philippine Linux Users Group Mailing List"
<[EMAIL PROTECTED]>
Cc: "Sacha Chua" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 12:54 PM
Subject: RE: [plug]Swap Increase


> the usual rule is swap = 3X mem.

the usual rule of thumb is 2X... if you dont have a lot of ram, you will
generally want a lot more swap space... the more ram you have, the lesser of
swap space you allocated but it is not recommended that you configure any
less than 256mb of swap space on your system...

> any more than that will do you no good
> because a machine that's swapping all the time is sevrely bottlenecked.

not exactly... depends on the situation.... you need more swap space in a
large multi-user systems where you have lots of users entering and leaving
the system and lots of idle processes... such systems tend to generate a
great deal of continuous pressure on free memory reserves... for example, if
you have lots of idle processes, it is better to swap it to disk and give it
more memory space to those active processes for better performance...

----- Original Message ----- 
From: "Robert de los Santos" <[EMAIL PROTECTED]>
To: "Sacha Chua" <[EMAIL PROTECTED]>; "Philippine Linux Users Group Mailing
List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 12:54 PM
Subject: RE: [plug]Swap Increase


> Yes,I always do run out of memory.
> Unfortunately i wont be able to add additional memory on it.
> it already have the maximum 2GB memory, w/c the mobo could handle.

i suspected that you are having a memory leak... a strong indication that
you are having a memory leak is that your swap space is never decreasing
because a leak page that will never reclaim will be swap to disk...

fooler.

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to