LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2003, 11:53 AM   #1
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
squirellmail, Fatal error: Allowed memory size exhausted


I fianally got my mail server up and going yesterday. I am having a problem with squirrelmail when I go into the folders option to create a folder I get this error at the bottom of the page
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 84 bytes) in /var/www/html/mail/functions/imap_mailbox.php on line 631
I cant seem to seem to see any folders in the "create folder as sub folder".

I would post the line 631 in /var/www/html/mail/functions/imap_mailbox.php but the numbers are never the same.

Thanks,
AD
 
Old 11-08-2003, 12:17 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
You may want to try one of the following;

Edir your php.ini file and tweak 'memory_limit = 8M' to something more suitable. Restart apache after making any changes.

Some squirrelmail users have reported that any attempts by users to create a top-level mail folder will give this error on some IMAP server. Edit your squirrelmail config to use IMAP-specific commands for your particular IMAP server.
 
Old 11-08-2003, 04:31 PM   #3
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
My problem is I dont know exactly what imap server I am running. I have tried to find this our in the past with no luck. The error limit is already set to 8M. I am going to output the errors to a file maybe I will get some more details.

Thanks,
AD
 
Old 11-08-2003, 04:39 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
If you haven't specifically installed an IMAP server then you've got UW-IMAP.

You could try increasing the memory limit for php. See if you still have the same error at 80Mb (assuming you have a lot of RAM in the box).
 
Old 11-08-2003, 05:21 PM   #5
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
I increased the memory linit to 80 and now there is no error. Im not sure if this is right or not but i get a boat load of folder i can subscribe too. its all of the folders in my home directory. this doesnt seem right at all to me. no wonder i was running out of memory there is probly 5000 files in my home directory and it was trying to list every single one of them.
 
Old 11-08-2003, 05:34 PM   #6
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
I moved my default folder prefix to be /mail and that seemed to fix that problem. Seems to me that squireelmail would make this a default for security purposes. Doesnt seem to be too secure off right off. needs some tweeks here and there.

Thanks,
AD
 
Old 11-08-2003, 05:46 PM   #7
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
indeed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tool to detect number of memory slots, memory module type, speed, and size stefanwolf Linux - Hardware 8 04-22-2013 09:48 AM
HLFS: sed-4.1.4 & uClibc-0.9.28, Memory Exhausted. Yerp Linux From Scratch 1 01-05-2006 02:26 PM
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 09:57 AM
"Undeleting" data using grep, but get "grep: memory exhausted" error SammyK Linux - Software 2 03-13-2004 03:11 PM
"pipe: memory exhausted" problem nixie Linux - Software 1 09-02-2003 01:56 PM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration