Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 234 of 796  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versionup Subject
  65639   Wed Oct 31 22:33:49 2007 Reply Jacky Lizli@phys.hawaii.eduQuestionLinux2.6.1Re: large attachment seems to hang elogd?
Hi,

I am having the same problem with 2.6.4.1 and the latest version. It just hangs and taking a long time to upload multiple of 1.5 to 2 MB attachments...or just one few MB attachment. Hope that's a fix soon.
  65640   Wed Oct 31 22:39:54 2007 Reply Jacky Lizli@phys.hawaii.eduQuestionLinux2.6.1Re: large attachment seems to hang elogd?
Hi,

I did more testing..if I suppress email notification, it is fast. There is something wrong there.



Jacky Li wrote:
Hi,

I am having the same problem with 2.6.4.1 and the latest version. It just hangs and taking a long time to upload multiple of 1.5 to 2 MB attachments...or just one few MB attachment. Hope that's a fix soon.
  65641   Wed Oct 31 22:44:06 2007 Reply Jacky Lizli@phys.hawaii.eduQuestionLinux2.6.1Re: large attachment seems to hang elogd?
Ok,

I noticed that the email notification got two copies of the attached files to elog post. It looks like the cause is
between elog and the mail server. When there is email notification, the attachement is sent along to the mail server and that's taking a long time and there are two copies of the attachment.


Jacky Li wrote:
Hi,

I did more testing..if I suppress email notification, it is fast. There is something wrong there.
  65642   Mon Nov 5 14:00:56 2007 Reply Konrad Klimaszewskigraag@o2.plQuestionLinux2.6.1Re: large attachment seems to hang elogd?
Hi,


Jacky Li wrote:
Ok,

I noticed that the email notification got two copies of the attached files to elog post. It looks like the cause is
between elog and the mail server. When there is email notification, the attachement is sent along to the mail server and that's taking a long time and there are two copies of the attachment.


Jacky Li wrote:
Hi,

I did more testing..if I suppress email notification, it is fast. There is something wrong there.



Indeed I can confirm that without email notification it's blazing fast. I haven't observed attachments being send twice. Though I got two indentical entries in the elog.

On my box I'm using sendmail. Until there is some fix in the way elog comunicates with mailer (if it is possible that is) could we have an option to suppress sending attachments in email notification?

Best Regards,
Konrad
  65643   Mon Nov 5 14:06:41 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Konrad Klimaszewski wrote:
Until there is some fix in the way elog comunicates with mailer (if it is possible that is) could we have an option to suppress sending attachments in email notification?


There is such an option:
Email format = 47

This tells elog to send email notifications without attachments. Anyhow I would not recommend to send big attachments as emails, since most email systems won't allow you that. Since the attachments are base64 encoded, the encoding can also take quite a long time.
  65644   Mon Nov 5 14:15:55 2007 Reply Konrad Klimaszewskigraag@o2.plQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Stefan Ritt wrote:

Konrad Klimaszewski wrote:
Until there is some fix in the way elog comunicates with mailer (if it is possible that is) could we have an option to suppress sending attachments in email notification?


There is such an option:
Email format = 47

This tells elog to send email notifications without attachments. Anyhow I would not recommend to send big attachments as emails, since most email systems won't allow you that. Since the attachments are base64 encoded, the encoding can also take quite a long time.


Great Smile. I missed this one while digging through documentation.
Maybe you could consider setting as default:
Email format = 111

Cheers,
Konrad
  65645   Mon Nov 5 14:20:27 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Konrad Klimaszewski wrote:
Great Smile. I missed this one while digging through documentation.
Maybe you could consider setting as default:
Email format = 111


Well, then people will come up and ask: I can see some attachment name in my email, but the attachment is missing, what can I do?. So they would not find the configuration option as you did not, and complain here. You never can make everybody happy Frown

An alternative approach however would be to limit the attachment size. If above 1 MB for example, do not send it. Then make this a flexible parameter (maybe someone wants 2 MB). I will think about that.
  65646   Mon Nov 5 14:34:31 2007 Reply Konrad Klimaszewskigraag@o2.plQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Stefan Ritt wrote:

Konrad Klimaszewski wrote:
Great Smile. I missed this one while digging through documentation.
Maybe you could consider setting as default:
Email format = 111


Well, then people will come up and ask: I can see some attachment name in my email, but the attachment is missing, what can I do?. So they would not find the configuration option as you did not, and complain here. You never can make everybody happy Frown

An alternative approach however would be to limit the attachment size. If above 1 MB for example, do not send it. Then make this a flexible parameter (maybe someone wants 2 MB). I will think about that.


Of course you're right. I suggested using "111" because then in email notification there is a link to the attachment.
Which for me is enough Smile. But there always will be someone that's not happy.

Your solution is nice but then attachments will be sent in a bit inconsistent way.
Easier would be to make it more obvious in the documentation.
I don't know put it in the FAQ or something (under: "Why my posts with large attachments are submitted so slowly" Wink).

Best Regards,
Konrad

PS
Thanks for implementing ELCode for tables - love them Big grin
ELOG V3.1.5-2eba886