Jason Corekin said:
> I have at least one folder that I use for archiving a mailing list that I
> am on that has almost 5000 messages.  It displays just fine when I  leave
> it in the unthreaded paginated view.  However when I try to either display
> in threaded view or one large list, I get and error message that says that
> the server reached it's execution time limit of 30 seconds.  While this
> was running I popped open a window on the server and ran top to find that
> httpd (RH 8.0 Apache 2) was using as high as 99% of the processing
> resources. So that leaves me with two questions.
>
> 1)  Is there anyway lengthen the execution time limit?
>

Yes. In the php.ini, look for this:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30 ; Maximum execution time, in seconds
memory_limit = 8M  ; Maximum amount of memory a script may consume


And adjust it to suit your tastes.

> 2) Is there anyway to increase the efficiency of the process so that it
> doesn't take so long in the first place?
>

If your IMAP server supports it, turn on the server-side sorting settings.
It's /much/ faster than having PHP do it.

Hope this helps.

Matthew

-- 
 Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=utoxin&p=main




-------------------------------------------------------
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