ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67619
|
Fri Nov 15 11:30:31 2013 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | V2.9.2-245 | Re: Inconsistent and long load times |
> We recently installed ELOG and it works pretty well, but the load times are rather inconsistent. Most of the time
> it is very fast, but it also often hangs for around 5-10 seconds while loading. It seems to affect all parts of
> the page that are returned at random, so sometimes the main html file will hang, sometimes the css file and
> sometimes the images.
>
> The hardware it is running on is nothing special, an older 3 GHz Celeron, but it should be fast enough. It is
> running on Debian 7.
>
> Any ideas what the problem could be, or how I could investigate it further to find the bottleneck?
I'm not an expert in debugging web applications. Here are my two cent:
We once had a problem when we hosted very large logbooks (several 10 thousands of entries) that the server would run
out of real memory and was slowed down by swapping. Therefore my first idea would be to monitor the server: Is
the CPU load peaking? What happens with the memory consumption? Any other suspicious process running on the server?
But it could be as well a network or browser problem. Did you try different browsers?
Did you check the elogd log file? |
67620
|
Fri Nov 15 12:21:45 2013 |
| Fabian | hiller@nmr.uni-frankfurt.de | Question | Linux | V2.9.2-245 | Re: Inconsistent and long load times |
> I'm not an expert in debugging web applications. Here are my two cent:
> We once had a problem when we hosted very large logbooks (several 10 thousands of entries) that the server would run
> out of real memory and was slowed down by swapping. Therefore my first idea would be to monitor the server: Is
> the CPU load peaking? What happens with the memory consumption? Any other suspicious process running on the server?
> But it could be as well a network or browser problem. Did you try different browsers?
> Did you check the elogd log file?
The logbook only has a few hundred entries, elogd is using only around 20-30 MB and there is enough free RAM. The load
average for the server is around 0.2, elogd only uses 5% CPU at most when it is accessed and the CPU is idle most of the
time.
Strangely it happens mostly when using Chrome, and almost never with Firefox. I captured the network traffic, but I can't
see anything unusual. It just takes very long until the answer is returned by the elogd server. |
67622
|
Fri Nov 15 13:46:16 2013 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | V2.9.2-245 | Re: Inconsistent and long load times |
> > I'm not an expert in debugging web applications. Here are my two cent:
> > We once had a problem when we hosted very large logbooks (several 10 thousands of entries) that the server would run
> > out of real memory and was slowed down by swapping. Therefore my first idea would be to monitor the server: Is
> > the CPU load peaking? What happens with the memory consumption? Any other suspicious process running on the server?
> > But it could be as well a network or browser problem. Did you try different browsers?
> > Did you check the elogd log file?
>
> The logbook only has a few hundred entries, elogd is using only around 20-30 MB and there is enough free RAM. The load
> average for the server is around 0.2, elogd only uses 5% CPU at most when it is accessed and the CPU is idle most of the
> time.
>
> Strangely it happens mostly when using Chrome, and almost never with Firefox. I captured the network traffic, but I can't
> see anything unusual. It just takes very long until the answer is returned by the elogd server.
My tuppance worth. I have noticed (firefox) that some attachments take rather longer than might be expected to upload. I
originally thought this was the ghostview program processing say a pdf to make pngs etc, but have more recently started to
question that assumption. No solution or much clue, just another observation. |
67472
|
Wed Apr 3 17:11:06 2013 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.9.2 | Re: Incomplete SSL proxy instructions, insecure result. |
> The instructions for securing elogd using an SSL proxy are incomplete.
> http://midas.psi.ch/elog/adminguide.html#secure
> http://midas.psi.ch/elogs/contributions/11
>
> If you follow these instructions, elogd will still listen for and accept non-SSL connections on it's own TCP port bypassing the SSL proxy.
>
> (True, the elogd TCP port number is somewhat secret, so there is some security-by-obscurity here).
>
> To secure the elogd TCP port against connections that bypass the SSL proxy, elogd has to be started
> with the "-n localhost" command line options.
>
> To add this option, one has to edit /etc/init.d/elogd. I do not know if this change will be lost when the elog rpm package is updated.
>
> It would be better if this option could have been specified through elogd.conf.
>
> The "-n" command line option is not documented here
> http://midas.psi.ch/elog/adminguide.html#config
> but is visible if you run "elogd -h".
>
> P.S. Even with "-n localhost", users of the local machine can bypass the SSL proxy.
>
> K.O.
I added the option "interface" to the config file. So you could do
[global]
...
interface = localhost
It was not there originally since most people who care about security use a firewall. The firewall (either locally or one another machine), opens only port 443 for the secure connection and
not the non-secure one (typically 80 or 8080). This way this has not been an issue in the past. As you guessed correctly the -n option would be overwritten by an rpm package update, so
that's why I added the "interface" option. |
964
|
Tue Mar 1 13:39:09 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | Latest | Re: Including the text in the CSV export |
> Is there any way to include the text of a log message in the CSV export?
> Anyway to include a pointer to the attachment?
The text of a log message is usually several lines long. To my knowledge, CSV
only allows single line values, that's why I excluded the text field from the
CSV export. This is different in the XML export, which supports multi-line
values. If you teach me however how multi-line values can be represented in
CSV format, I could easily add that.
As for the attachment, do you just need a name, or a URL back to the logbook?
Should the pointer be in the form "http://elog.server/logbook/attachment.jpg"
or in HTML form like <a href="http:/...">attachment</a> ? |
965
|
Tue Mar 1 17:29:47 2005 |
| Gary Mercier | gmercier@newgistics.com | Question | Windows | Latest | Re: Including the text in the CSV export |
> > Is there any way to include the text of a log message in the CSV export?
> > Anyway to include a pointer to the attachment?
>
> The text of a log message is usually several lines long. To my knowledge, CSV
> only allows single line values, that's why I excluded the text field from the
> CSV export. This is different in the XML export, which supports multi-line
> values. If you teach me however how multi-line values can be represented in
> CSV format, I could easily add that.
>
> As for the attachment, do you just need a name, or a URL back to the logbook?
> Should the pointer be in the form "http://elog.server/logbook/attachment.jpg"
> or in HTML form like <a href="http:/...">attachment</a> ?
I will attempt to use an active x script in a DTS package on SQL Server to parse
the xml and load it into the database. I can see where CSV has it's limitations. |
1604
|
Wed Jan 18 12:57:30 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | | | Re: In version 2.6 the themes do not work right on Windows. |
Quote: | The URL is fixed at whichever logbook that is selected (e.g. ELOG 2.5.9-4 is <link rel="stylesheet" type="text/css" href="default.css"> & ELOG 2.6.0-1 is <link rel="stylesheet" type="text/css" href="http://localhost:8080/demo/default.css">). |
So what is your problem? Can't you access http://localhost:8080/demo/default.css ?
If so, you could use an
URL = http://{your host}:8080/
option in your config file, where you replace {your host} with your real host name. |
1613
|
Thu Jan 19 20:50:29 2006 |
| Mark Coudriet | markcoudriet@yahoo.com | Bug report | | 2.6.0 | Re: In version 2.6 the themes do not work right on Windows. |
Stefan Ritt wrote: |
Quote: | The URL is fixed at whichever logbook that is selected (e.g. ELOG 2.5.9-4 is <link rel="stylesheet" type="text/css" href="default.css"> & ELOG 2.6.0-1 is <link rel="stylesheet" type="text/css" href="http://localhost:8080/demo/default.css">). |
So what is your problem? Can't you access http://localhost:8080/demo/default.css ?
If so, you could use an
URL = http://{your host}:8080/
option in your config file, where you replace {your host} with your real host name. |
No, because they would have to be in every logbook instead of coming out of the theme directory.
But I just updated to your new version 2.6.1 & everything is fine now. Thanks for your help!  |