Could someone tell me how to fix this ?

I am getting complaints from scripts dying when
users are attempting to sendmail in squirrel-mail.

The error that appears on the users screen is like this:
    Fatal error: allowed memory size of 20971520 bytes exhausted 
    (tired to allocate 104876 bytes) in 
    /usr/share/squirrelmail/functions/imap_general.php on line 96

I have a memory limit of 20M in my /etc/php/php.ini

memory_limit = 20M ; Maximum amount of memory a script may consume (8MB)

This server has 4GB of RAM but it never uses over 2.3 GB of RAM even 
though it has a custom kernel which I compiled for large memory support.

Currently, about 1000 users access this 1 dual processor squirrelmail server daily.

Normally, there are 60 - 120 established connections using it all the
time.

uname -a
Linux webmail 2.4.19 #1 SMP Fri Oct 18 14:53:01 EDT 2002 i686 Intel(R)
Pentium(R) III CPU family      1133MHz GenuineIntel GNU/Linux

ted@webmail:~$ free -m 
              total       used       free     shared    buffers cached

Mem:          3981       1860       2121          0     94      1159
-/+ buffers/cache:        607       3374
Swap:          956          0        956

ii  apache-common  1.3.26-1.1     Support files for all Apache
ii  apache-ssl     1.3.26.1+1.48- Versatile, high-performance HTTP
ii  libapr0        2.0.43-1       The Apache Portable Runtime
ii  squirrelmail   1.2.8-1.1      Webmail for nuts

Ted Knab
Systems Engineer


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
--
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