[Fwd: Re: [imp] compose with attachment/s sized 800kb+]

Benoit St-AndrĂ© <[email protected]> Tue, 02 Nov 2004 11:38:57 -0500
Newsgroups gmane.comp.horde.documentation
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============1688293092==
Content-type: multipart/signed;
	boundary=------------enigB57480FB01A09788B2CDF309;
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB57480FB01A09788B2CDF309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Message seen in the IMP lists...

I browsed through horde and imp docs/ and I didn't find any mentions of
memory_limit of php.

Should we add this somewhere (I believe so). And if so, is INSTALL of
IMP , or Horde, or PERFORMANCE of Horde the best place to put it ?

--=20
Benoit St-Andr=E9
[email protected]
Mon carnet web: http://benoitst-andre.net/blog/
Connaissez-vous Linux=E9du-Qu=E9bec ? http://linuxeduquebec.org

kendyl peebles a =E9crit :
> ok, memory_limit seems to be the controlling factor in this issue...  w=
ith it
> set to unlimited (-1)  the compose window behaves like it should and no=
t like
> the spoiled 3yr old that it was acting like before..
> Intention is to limit attachment sizes to ~8mb and have proper notifica=
tion
> instead of just dieing.
> the following are my quick and dirty test results...
> memory_limit =3D 8M
> ~400k attachment - OK
> ~600k attachment - OK
> ~800k attachment - compose window becomes blank white screen that never=
 goes
> away, after closing that window, subsequent compose popups never load p=
ast the
> 'browser' window frame... cannot log out of imp.. must kill browser win=
dow and
> bring up new browser and log back in... message arrives intact at desti=
nation
> ~900k attachment - "The page cannot be displayed" error... imp behaves
> normally after closing the compose popup manually. message arrives inta=
ct at
> destination.
>=20
> memory_limit =3D 16M
> ~600k attachment - OK
> ~800k attachment - OK
> ~1M   attachment - OK
> ~1.4M attachment - OK
> ~1.6M attachment - OK
> ~1.7M attachment - OK
> ~1.8M attachment - compose window becomes blank white screen that never=
 goes
> away, after closing that window, subsequent compose popups never load p=
ast the
> 'browser' window frame... cannot log out of imp.. must kill browser win=
dow and
> bring up new browser and log back in... message arrives intact at desti=
nation
> ~1.9M   attachment - "The page cannot be displayed" error... imp behave=
s
> normally after closing the compose popup manually. message arrives inta=
ct at
> destination.
>=20
> memory_limit =3D 24M
> 1.8M attachment - OK
> 2M    attachment - OK
> 2.2M attachment -OK
> 2.4M attachment - OK
> 2.6M attachment - OK
> 2.8M attachment - compose window becomes blank white screen that never =
goes
> away, after closing that window, subsequent compose popups never load p=
ast the
> 'browser' window frame... cannot log out of imp.. must kill browser win=
dow and
> bring up new browser and log back in... message arrives intact at desti=
nation
> 2.9M attachment - "The page cannot be displayed" error... imp behaves n=
ormally
> after closing the compose popup manually. message arrives intact at
> destination.
>=20
> memory_limit =3D 32M
> 2.8M attachment - OK
> 3M    attachment - OK
> 3.4M attachment - OK
> 3.8M attachnemt - compose window becomes blank white screen that never =
goes
> away, after closing that window, subsequent compose popups never load p=
ast the
> 'browser' window frame... cannot log out of imp.. must kill browser win=
dow and
> bring up new browser and log back in... message arrives intact at desti=
nation
> 3.9M attachment - "The page cannot be displayed" error... imp behaves n=
ormally
> after closing the compose popup manually. message arrives intact at
> destination.
>=20
> hmmm  following progression... 8*8=3D64 should get me ~7.7mb attachment=
 size,
> lets add 4 to set above 8M so.... setting memory_limit =3D 68M
> trying:
>=20
> 8M attachment - OK
>=20
> setting post_max_size =3D 7M, upload_max_filesize =3D 7M, leaving memor=
y_limit =3D
> 68M
>=20
> hmmm  no notification of exceeding filesize limit... can push all the w=
ay up
> to 8.2M and the earlier documented symptom manifest...
>=20
> I can live with that... I think... user gets that issue... smack his ha=
nd for
> sending attachments that large... <shrug>
>=20
> Kendyl
>=20
>=20
>=20
>=20
>=20
> Josh Trutwin wrote:
>=20
>=20
>>On Tue, 02 Nov 2004 07:33:25 -0500
>>kendyl peebles <[email protected]> wrote:
>>
>>
>>>remove the memory limit?!?  hmmm
>>>I'll give a try to upping the memory limit and also see what happens
>>>when it is removed altogether...
>>
>>I guess if you set memory_limit to -1 that it's unlimitted as well -
>>see:
>>http://us2.php.net/manual/en/ini.sect.resource-limits.php#ini.memory-li=
mit
>>
>>Note, your php needs to be built with:
>>
>>--enable-memory-limit
>>
>>Create a phpinfo.php script if you're not sure if that's the case.
>>
>>Josh
>>--
>>IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>Frequently Asked Questions: http://horde.org/faq/
>>To unsubscribe, mail: [email protected]
>=20
>=20




--=20
Benoit St-Andr=E9
[email protected]
Mon carnet web: http://benoitst-andre.net/blog/
Connaissez-vous Linux=E9du-Qu=E9bec ? http://linuxeduquebec.org

--------------enigB57480FB01A09788B2CDF309
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBh7ghR0UcBtNHiJ4RAs2IAKC8RAwY8BumhnNGxUfasmdtzgcrOACg8xNh
jtI+Q2LADlcF0KsHKbTqHmg=
=6szC
-----END PGP SIGNATURE-----

--------------enigB57480FB01A09788B2CDF309--

--===============1688293092==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
Documentation mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]

--===============1688293092==--