[imp] About php
Eric Rostetter
eric.rostetter at physics.utexas.edu
Wed Feb 12 09:47:36 PST 2003
Quoting edwardspl at ita.org.mo:
> Second, about our System :
> Mail Server ( RH 6.2 ) + sendmail : 16MB Ram + pentium 7x CPU + swap drive
> around
> 130MB of Linux System.
> Webmail System ( RH 7.2 ) , IMP 3.1 + php 4.1.2 ( came from Horde ) : 32MB
> Ram +
> pentium 1xx CPU + swap drive around 180MB of Linux System.
You are not going to get great performance on those machines with that little
memory (16MB and 32MB).
> Other info :
> 1, 30 users
> 2, Setting of php ( php.ini ) :
>
> upload_max_filesize = 10M
> post_max_size = 10M
> max_execution_time = 300
> memory_limit = 96M
That memory limit seems excessive for a machine with so little memory.
However, as discussed on the list, there are bugs in php 4.1.2 which
could cause you to require setting memory_limit higher than really
needed/used.
> So, how can we set the config of php ( php.ini ), then the problem ( the
> speed is
> very slow , even hang the browser of client ) of attachment will be fixed ?
Set memory limit lower. Probably around 20MB, 30MB at max should work.
If it doesn't, then try a different version of php and see if that fixes it.
Or, add more memory to your machines.
> Thank for your help !
>
> Edward.
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the imp
mailing list