cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
125 stars 67 forks source link

Email forwarding notifications don't work properly #283

Closed The-Luz closed 7 years ago

The-Luz commented 8 years ago

When forwarding certain applications nothing happens. No error message gets displayed and no Email gets sent. Other applications can be forwarded but sometimes there is also no message saying that it succeeded.

cbleek commented 8 years ago

is there is something in the YAWIK/log/error.log ?

The-Luz commented 8 years ago

Nothing related to that.

TiSiE commented 8 years ago

From the current informations, it is hard to reproduce the behaviour. It would help a lot, if you could provide more informations Especially what is the difference between "working" applications and those, where the emails are not send.

The-Luz commented 8 years ago

The state is confirmed and all jobs are for the same organization. All jobs have been assigned to the same recruiter. I could't find out exactly what the difference between working aplications and those who don't but there is an application with an 7 MB PDF attached and the mail does not get sent out and there is no message/notification saying error or success. ( We have set attachmentsMaxSize in 'Yawik\module\Applications\src\Applications\Options\ModuleOptions.php' to 15728640 and we have also set attachmentsMaxSize in 'Yawik\config\autoload\applications.forms.global.php' to 15728640). Is it maybe because we have missed to change a value? But that still does not explain why there are no error or success notifications like there used to be in previous versions.

TiSiE commented 8 years ago

I'll check if the attachments could cause the issue.

The-Luz commented 7 years ago

After updating from v0.26 to v0.29 the notifications work again, but applications with about 8 MB of attachments or bigger still fail to forward. erroryawik

cbleek commented 7 years ago

the default memory limit for post requests in PHP is 8MB. You have to increase it, in case you want to allow attachments larger attachments. You also have to adjust the upload_max_filesize in you php.ini

; http://php.net/post-max-size post_max_size = 8M ; http://php.net/upload-max-filesize upload_max_filesize = 2M

The-Luz commented 7 years ago

We did increase both to 15M

erroryawik3

TiSiE commented 7 years ago

I believe strongly, this is an issue with RAM consumption when processing large attachments. In our current implementation they all have to be loaded fully into the RAM. Which likely causes memory overflow errors on large attachements.

To be sure about that, it would be very helpful, if you could send the error.log file

The-Luz commented 7 years ago

We have found the issue. We are using the Postfix Mail Transfer Agent and it had a limit of 10 MB.