Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 59 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon6.gif   How long should it taken for new entry with attachments?, posted by An Thai on Tue Jun 19 23:21:52 2007 
Hello,

shortly I have a new issue of entry with attachments.
I try to re-produce the problem and find out that elog service needs very long to serve an entry with attachments.

Normally it takes about 3 seconds after the button SUBMIT is clicked to open the confirm page (ca. 20 recipients).

But when an user tries to enter a new entry and attach a file (about 500 Kb or greater) or some files (total of 500 Kb or greater), it takes several minutes and his browser displays "the page can not be opened"
In this time intervall, elog service runs with 100% CPU server recource.

My questions are:

  • is there a form to calculate or estimate how long Elog needs to serve an new entry with attachment? (for example: Summary or multiplication of recipients and large of files) It will help to make a comment to warn users.

  • Could you please make the SUBMIT button disable after clicked? Because it happens that my users click it many times after enter a new entry with big attachments.

Thank in advance and best regards.
    icon2.gif   Re: How long should it taken for new entry with attachments?, posted by Stefan Ritt on Wed Jun 20 18:20:01 2007 

An Thai wrote:
I try to re-produce the problem and find out that elog service needs very long to serve an entry with attachments.

Normally it takes about 3 seconds after the button SUBMIT is clicked to open the confirm page (ca. 20 recipients).

But when an user tries to enter a new entry and attach a file (about 500 Kb or greater) or some files (total of 500 Kb or greater), it takes several minutes and his browser displays "the page can not be opened"
In this time intervall, elog service runs with 100% CPU server recource.


This can be related you your email server. Attachments are converted into some ASCII form (base64 encoding), which increases their size by 2-3x. Some email servers are slow in receiving multi-MB data. Can you try to switch off the email attachments in the notification with
Email format = 111

This does not send attachments in email, just their names. If your performance gets much better then, it is related to your email server, and I cannot do anything. So just keep it then turned off.
icon5.gif   sorting a drop down menu in elog, posted by chris williams on Sun Jun 24 00:12:15 2007 
Hi, I was wondering, how can I insert new items into my drop down menu and have them appear in an alphabetical order? Is there some sort of code I can insert into the config file to do so?
Thanks
icon5.gif   list of 500 files, posted by chris williams on Sun Jun 24 02:38:31 2007 
How can I have my list accept over 500 entries? I tried increasing the elogd.c (max_n_list)file as stated but the compiler gives me errors. Please help
    icon2.gif   Re: sorting a drop down menu in elog, posted by Stefan Ritt on Mon Jun 25 08:46:55 2007 

chris williams wrote:
Hi, I was wondering, how can I insert new items into my drop down menu and have them appear in an alphabetical order? Is there some sort of code I can insert into the config file to do so?
Thanks


No, you have to sort them by hand in the config file.
    icon2.gif   Re: list of 500 files, posted by Stefan Ritt on Mon Jun 25 08:50:38 2007 

chris williams wrote:
How can I have my list accept over 500 entries? I tried increasing the elogd.c (max_n_list)file as stated but the compiler gives me errors. Please help


No way to get so many entries. If you just increase the value and recompile, you will get stack and heap overflows in the program. Why do you need so many entries? Can you explain? Maybe there is another way to achieve this.
    icon2.gif   Re: list of 500 files, posted by chris williams on Mon Jun 25 18:14:44 2007 
Thanks for the response. I am trying to use it as a file database, to monitor the status of files(whether they have been removed, ammended etc), currently there are 90 files but I expect the size to grow.
    icon2.gif   Re: sorting a drop down menu in elog, posted by chris williams on Mon Jun 25 18:15:24 2007 
ok...thanks much.
ELOG V3.1.5-3fb85fa6