Obsolete Releases > SME 8.x Contribs
blank screen at SMTP with attachments
detlevp:
Hello,
I have a problem when sending mails (SMTP). Refers only to the case when large attachments are sent. It is irrelevant whether I send from SOGo or eGroupware
The following parameters are available:
PHP Version 5.3.3
max_execution_time 120 90
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time -1 -1
max_input_vars 1000 1000
memory_limit 128M 128M
open_basedir /usr/share/egroupware:/var/lib/egroupware:/tmp:/usr/share/pear:/usr/share/jpgraph:/tmp:/dev no value
output_buffering no value no value
output_handler no value no value
post_max_size 250M 250M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
request_order no value no value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 250M 250M
upload_tmp_dir no value no value
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order EGPCS EGPCS
Here are the Log-Entrys:
Oct 14 16:21:27 domsrv01 httpd: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 133842964 bytes) in /usr/share/egroupware/phpgwapi/inc/class.smtp.php on line 371
Oct 14 16:31:03 domsrv01 httpd: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65810325 bytes) in /usr/share/egroupware/phpgwapi/inc/class.phpmailer.inc.php on line 1540
Oct 14 16:44:48 domsrv01 /sbin/e-smith/db[27191]: /home/e-smith/db/configuration: OLD php=service|AllowUrlFopen|Off|MemoryLimit|64M|PostMaxSize|250M|UploadMaxFilesize|250M|status|enabled
Oct 14 16:44:48 domsrv01 /sbin/e-smith/db[27191]: /home/e-smith/db/configuration: NEW php=service|AllowUrlFopen|Off|MaxExecutionTime|90|MemoryLimit|64M|PostMaxSize|250M|UploadMaxFilesize|250M|status|enabled
Oct 14 16:45:25 domsrv01 /sbin/e-smith/db[27348]: /home/e-smith/db/configuration: OLD php=service|AllowUrlFopen|Off|MaxExecutionTime|90|MemoryLimit|64M|PostMaxSize|250M|UploadMaxFilesize|250M|status|enabled
Oct 14 16:45:25 domsrv01 /sbin/e-smith/db[27348]: /home/e-smith/db/configuration: NEW php=service|AllowUrlFopen|Off|MaxExecutionTime|90|MemoryLimit|128M|PostMaxSize|250M|UploadMaxFilesize|250M|status|enabled
Oct 14 16:46:00 domsrv01 /sbin/e-smith/db[27383]: /home/e-smith/db/configuration: OLD php=service|AllowUrlFopen|Off|MaxExecutionTime|90|MemoryLimit|128M|PostMaxSize|250M|UploadMaxFilesize|250M|status|enabled
Oct 14 16:46:00 domsrv01 /sbin/e-smith/db[27383]: /home/e-smith/db/configuration: NEW php=service|AllowUrlFopen|Off|MaxExecutionTime|90|MemoryLimit|128M|PostMaxSize|250M|UploadMaxFilesize|250M|UploadMaxSize|250M|status|enabled
Oct 14 16:49:04 domsrv01 httpd: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65810325 bytes) in /usr/share/egroupware/phpgwapi/inc/class.phpmailer.inc.php on line 1540
Does anyone have an idea for me? Thank you very much
Greeting Detlev
CharlieBrady:
--- Quote from: detlevp on October 14, 2012, 05:25:21 PM ---I have a problem when sending mails (SMTP). Refers only to the case when large attachments are sent. It is irrelevant whether I send from SOGo or eGroupware
--- End quote ---
Since neither of those is included in the SME server installation CDROM, your post is off-topic for this forum.
Stefano:
--- Quote from: detlevp on October 14, 2012, 05:25:21 PM ---Hello,
I have a problem when sending mails (SMTP). Refers only to the case when large attachments are sent. It is irrelevant whether I send from SOGo or eGroupware
The following parameters are available:
PHP Version 5.3.3
--- Code: ---memory_limit 128M 128M
--- End code ---
--- Code: ---Oct 14 16:21:27 domsrv01 httpd: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 133842964 bytes) in /usr/share/egroupware/phpgwapi/inc/class.smtp.php on line 371
Oct 14 16:31:03 domsrv01 httpd: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65810325 bytes) in /usr/share/egroupware/phpgwapi/inc/class.phpmailer.inc.php on line 1540
--- End code ---
Does anyone have an idea for me? Thank you very much
--- End quote ---
You already have the answer, see the lines above..
anyway:
- sending large attachments is E V I L: if you need to share big files, don't use email
- I'm quite sure the solution is available here in the forums and in the wiki/FAQ, so please use the search link above, thank you
detlevp:
--- Quote from: CharlieBrady on October 14, 2012, 05:28:20 PM ---Since neither of those is included in the SME server installation CDROM, your post is off-topic for this forum.
--- End quote ---
Thanks for your help. The problem lies in the SME Server, not the clients. :-(
detlevp:
Hallo Stefano,
--- Quote from: Stefano on October 14, 2012, 10:43:43 PM ---anyway:
- sending large attachments is E V I L: if you need to share big files, don't use email
- I'm quite sure the solution is available here in the forums and in the wiki/FAQ, so please use the search link above, thank you
--- End quote ---
Anyone who has grown up in the ARPA network knows how to deal economically with resources. I think it's not good, if email is used for file transfer ..but, why do we need a rearview camera in a car when you can turn your head? We have 2012 not 1977, people will be more comfortable and the broadband service is growing rapidly. I can not stop the time and will not transform even people. I mean this is not personal and know what you want to say...
--- Quote from: Stefano on October 14, 2012, 10:43:43 PM ---You already have the answer, see the lines above..
--- End quote ---
Yes, I've seen these lines. Before I have written here, I've read several threads here and googled. Have tested with different parameters, but nothing has changed. In addition, the e-mail attachment is 10.5 MB in size. Strange that the error occurs at something around 12 MB.
What is the ratio must be the memory limit with post_max_size? Has there ever anything to do with it? Has anyone any idea?
Thanks and greeting
Detlev
Navigation
[0] Message Index
[#] Next page
Go to full version