EPrints Technical Mailing List Archive
Message: #08224
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Ask about IRStats result
- To: <eprints-tech@ecs.soton.ac.uk>, Ajunk Pracetio <prazetyo@gmail.com>
- Subject: Re: [EP-tech] Ask about IRStats result
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Fri, 26 Jun 2020 09:15:10 +0100
Hi Agung Prasetyo,
I ocassionally see this error message. It is due to a single
access record failing to set the time and date the access
occurred. Based on some repositories having tens of millions if
not over 100 million access records, the odd failure like this is
not uncommon. I have never got down the bottom of why it happens,
as it happens so infrequently*. However, if you are regenerating
your stats from scratch, it may be looking over many years of
access records, so it is more likely to find one access record
with this issue. It is not anything to be overly concerned
about. I guess the code could be tidied up to spot this a just
log a single warning line that there is an access record without a
timestamp.
Regards
David Newman
*My best guess would be some race condition where Perl sends off a system request for the current time and maybe due to load on the server this times out but EPrints writes the access record without the time anyway.
Hi,
I ran the command process_stats myrepo --setup --verbose 3 days ago. Today when seeing the results, an error like the following appears:
Use of uninitialized value $ hour in multiplication (*) at /usr/share/perl/5.22/Time/Local.pm line 134.
Use of uninitialized values in sprintf at /usr/share/eprints3/lib/plugins/EPrints/Plugin/Stats/Processor/Access.pm line 301.
Use of uninitialized values in sprintf at /usr/share/eprints3/lib/plugins/EPrints/Plugin/Stats/Processor/Access.pm line 302.
Use of uninitialized values in sprintf at /usr/share/eprints3/lib/plugins/EPrints/Plugin/Stats/Processor/Access.pm line 303.
Use of uninitialized value $ year in concatenation (.) Or string at /usr/share/eprints3/lib/plugins/EPrints/Plugin/Stats/Processor/Access.pm line 307.
Use of uninitialized values in subtraction (-) at /usr/share/eprints3/lib/plugins/EPrints/Plugin/Stats/Processor/Access.pm line 307.
Use of uninitialized values in subtraction (-) at /usr/share/eprints3/lib/plugins/EPrints/Plugin/Stats/Processor/Access.pm line 307.
Use of uninitialized value $ _ [3] in addition (+) at /usr/share/perl/5.22/Time/Local.pm line 75.
Is this some kind of bug or notification that there are errors in our eprints?
Eprints version: 3.4
OS: Linux Ubuntu 16.04
RAM: 8GB
Regards,Agung Prasetyo
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
- References:
- [EP-tech] Ask about IRStats result
- From: Ajunk Pracetio <prazetyo@gmail.com>
- [EP-tech] Ask about IRStats result
- Prev by Date: [EP-tech] Ask about IRStats result
- Next by Date: [EP-tech] Experimental integration with MS Azure Cognitive Services
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):