It's important to fully understand what the Linux free command means. 
Linux uses as much memory as it can as disk cache, should a program need
that memory Linux will immediately drop that disk cache and free the
memory for the running program so when you look at the output of free,
subtract "cached" from "used" to get a better idea of the available ram
for programs.  "free" is only that part that is completely unused (i.e.
wasted).  So it's a good thing that it's only 5 megs as long as cache is
high and there's plenty of available memory.  What's likely happening here
is Linux is caching your folder files which is a good thing as it's likely
you'll be reading from that file again.  UW-IMAP has some performance
problems of it's own though.  Be sure to look at the SM documentation on
speeding up UW:

http://www.squirrelmail.org/wiki/en_US/SpeedWithUW

My suggestion though is to look at moving to a more effecient and powerful
IMAP server like Courier or Cyrus.

~~~~~~~~~~~~~~~~~~~~~~~~~
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
Langhorne, PA
~~~~~~~~~~~~~~~~~~~~~~~~~~

Robert Bovens said:
>> I have a RedHat linux 8.0 install using UW imap, on a AMD 1600 w/ 256MB
>> of
>> RAM.  I notice by using the TOP command and watching memory, I will have
>> about 60MB of free Mem.  If i login to squirrelmail (1.4.0), and just
>> click around on folders and emails, the available mem will drop withing
>> a
>> few minutes from the 60MB free to about 5MB, and I can see the slowness.
>> If i restart the http service it will be back up to 60MB free again.
>> Can
>> anyone tell me what might be causing this?  How can i fix?
>
> Well I have a familiar problem, but I`m not sure if it is related to
> squirrelmail or apache itself.
> We have a pentium4 with 512 MB RAM.Using SuSE 9.0 with cyrus-imapd.
> I know you can limit the memoryuasge in apache, but how much memory does
> apache need to run the application proper?
> The system has about 1900 users in Mysql. The purpose is to have a usage
> of
> 256 or 512 users constant.
> Is it possible to tweak squirrelmail?
>
> Some hints are appreciated.
>
> Thanx in advance.
>
> Robert
>
>> Thanks
>>
>> --
>> Tim
>>
>>
>> -------------------------------------------------------
>> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>> Build and deploy apps & Web services for Linux with
>> a free DVD software kit from IBM. Click Now!
>> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
>> --
>> squirrelmail-users mailing list
>> List Address: [EMAIL PROTECTED]
>> List Archives:
>> http://sourceforge.net/mailarchive/forum.php?forum_id=2995
>> List Info:
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>>
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to