[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Ask about IRStats result
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.
On 26/06/2020 09:02, Ajunk Pracetio via Eprints-tech wrote:
> 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: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7C9b32ef303211457c62f608d819a90cec%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=9fbcSN4qnDNiEECvlyoyxSc2USt5doPnAr9DG6LiuoY%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C9b32ef303211457c62f608d819a90cec%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=hxkETSznk%2BdMrddIMcvpoeXAiGUlOLgpPi6TT27i2mU%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=01%7C01%7C%7C9b32ef303211457c62f608d819a90cec%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=bkJq2otwjbwKdJe9e98iDMc0cSlOSZaoKbZ712W%2BEGQ%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200626/12676044/attachment.html