[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] SquirrelMail kan ikke vise foldere med mange filer.




De to ting der umiddelbart kan gå galt, er at PHP løber tør for memory (default 8M - ved 30K mails er det kun 280 bytes per mail - ikke meget!) eller at den ikke kan nå at behandle data færdig inden en forudbestemt grænse (default 30 sec). I php.ini (Apache2/Debian: /etc/php4/apache2/php.ini) skal du kigge på disse parametre:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;


max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)


Jeg har i dette tilfælde skruet op for memory_limit, da jeg bruger en memorytung PHP applikation, men leg lidt med det. Hvis ikke serveren er vildt kritisk, kan du jo prøve at sætte et nul efter hver og se hvad der sker. Husk at reloade apache.

// Martin

Yep, det var lige det der manglede, memory_limit sat op til 80M og problemet var løst.

Mange tak for hjælpen

Jesper

 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-10-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *