Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    12MB mail stuck in Outlook

    General usage of Z-Push
    4
    7
    3101
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ThorstenS
      ThorstenS last edited by

      Hi,
      we are usign kopano 8.1 with univention/ucs4.1.3 -all patches applied.

      When trying to send 12MB Excel sheet via KOE 1.1.44 and z-push 2.3.4 I get following messages an mail is stuck in „Postausgang”.

      /var/log/z-push/z-push-error.log

      16/02/2017 13:46:06 [ 5804] [FATAL] [BENUTZER] Fatal error: /usr/share/z-push/backend/kopano/kopano.php:466 - Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes) (1)
      16/02/2017 13:46:06 [ 5804] [FATAL] [BENUTZER] Fatal error: /usr/share/z-push/backend/kopano/kopano.php:466 - Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes) (1)
      16/02/2017 13:46:07 [ 6574] [ERROR] [BENUTZER] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command 'SendMail' at 16/02/2017 13:02:13 with pid '6573' terminated unexpectedly or is still running.
      16/02/2017 13:46:07 [ 6574] [ERROR] [BENUTZER] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command 'SendMail' at 16/02/2017 13:02:13 with pid '6573' terminated unexpectedly or is still running.
      16/02/2017 13:46:07 [ 6574] [ERROR] [BENUTZER] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the Z-Push dev team.
      16/02/2017 13:46:07 [ 6574] [ERROR] [BENUTZER] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the Z-Push dev team.
      16/02/2017 13:46:08 [ 6575] [ERROR] [BENUTZER] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command 'SendMail' at 16/02/2017 13:02:57 with pid '6573' terminated unexpectedly or is still running.
      16/02/2017 13:46:08 [ 6575] [ERROR] [BENUTZER] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command 'SendMail' at 16/02/2017 13:02:57 with pid '6573' terminated unexpectedly or is still running.
      16/02/2017 13:46:08 [ 6575] [ERROR] [BENUTZER] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the Z-Push dev team.
      16/02/2017 13:46:08 [ 6575] [ERROR] [BENUTZER] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the Z-Push dev team.
      16/02/2017 13:46:09 [11380] [FATAL] [BENUTZER] Fatal error: /usr/share/z-push/backend/kopano/kopano.php:466 - Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) (1)
      16/02/2017 13:46:09 [11380] [FATAL] [BENUTZER] Fatal error: /usr/share/z-push/backend/kopano/kopano.php:466 - Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) (1)
      

      /var/log/apache2/error.log

      [Thu Feb 16 13:46:06 2017] [error] [client 1.2.3.4] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes) in /usr/share/z-push/backend/kopano/kopano.php on line 466
      [Thu Feb 16 13:46:09 2017] [error] [client 1.2.3.4] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /usr/share/z-push/backend/kopano/kopano.php on line 466
      [Thu Feb 16 13:47:16 2017] [error] [client 1.2.3.4] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes) in /usr/share/z-push/backend/kopano/kopano.php on line 466
      

      memory_limit, upload_max_filesize and post_max_size:

      root@master:~# egrep ^"memory_limit|upload_max_filesize|post_max_size" /etc/php5/*/php.ini
      /etc/php5/apache2/php.ini:memory_limit = 1024M
      /etc/php5/apache2/php.ini:post_max_size = 50M
      /etc/php5/apache2/php.ini:upload_max_filesize = 20M
      /etc/php5/cgi/php.ini:memory_limit = 1024M
      /etc/php5/cgi/php.ini:post_max_size = 8M
      /etc/php5/cgi/php.ini:upload_max_filesize = 20M
      /etc/php5/cli/php.ini:memory_limit = 1024M
      /etc/php5/cli/php.ini:post_max_size = 8M
      /etc/php5/cli/php.ini:upload_max_filesize = 20M
      

      When using WebApp and DeskApp bigger attachements are send - What can I do?

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @ThorstenS last edited by fbartels

        Hello @ThorstenS,

        there is actually also a memory limit set in the apache vhost of z-push:

            # Setting memory limit higher (larger attachments)
            php_value memory_limit 128M
        

        When you uncomment this and restart apache, the higher memory limit set in apache will be used and the mail will be sent.

        We recently stumbled upon this problem with lager attachments ourselves and memory consumption therefore has been improved with Z-Push 2.3.5 beta as well.

        PS: you should update KOE. There is now a 1.2.127.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        ThorstenS 1 Reply Last reply Reply Quote 0
        • Sebastian
          Sebastian Kopano last edited by

          Increasing the memory_limit is the easiest fix, but in some cases (e.g. when using send-as with KOE) the memory usage gets much higher. It could be that with 256 MB memory also gets exhausted.

          SendMail memory usage has been improved drastically in 2.3.5: https://forum.kopano.io/topic/61/z-push-2-3-5-beta1-released

          Final is scheduled for 01.03.2017, but feedback is of course very welcome before the final. ;)

          Cheers,
          Sebastian

          ThorstenS JungleMarc 2 Replies Last reply Reply Quote 0
          • ThorstenS
            ThorstenS @fbartels last edited by

            @fbartels
            Thanks, I commented this line - tomorrow we will do our tests.

            Every version after KOE 1.1.44 crashed Outlook more worse and frequently, than 1.1.44 did. Today we installed 1.2.127 on some machine - looks much better. crossing fingers

            1 Reply Last reply Reply Quote 1
            • ThorstenS
              ThorstenS @Sebastian last edited by

              @Sebastian
              As we are running univention corporate server, I prefer installing debs.
              Is there a repo for me? I will give it a try!

              Sebastian 1 Reply Last reply Reply Quote 0
              • Sebastian
                Sebastian Kopano @ThorstenS last edited by

                There is also a Univention repository for the betas.
                You can find all information here: https://wiki.z-hub.io/display/ZP/Installation

                Just use this repository (and proceed as described in the wiki): http://repo.z-hub.io/z-push:/pre-final/Univention_4.0/

                1 Reply Last reply Reply Quote 1
                • JungleMarc
                  JungleMarc @Sebastian last edited by

                  @sebastian Is there a known recommended value for the PHP memory limit?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post