[EP-tech] ePrints server is freezing very often

John Salter J.Salter at leeds.ac.uk
Fri Apr 5 22:12:08 BST 2019

Hi Francis,
I think the MariaDB errors might not be connected Ted to the EPrint exportview errors.

First, the MariaDB errors - this might be useful:

Adjusting the MariaDB configuration and/or firewall setting on your server should help.

For the exportview errors, this can be a result of someone (or some machine) making a request, but not waiting for a response. This can happen because the export views can take a bit of time to generate. If they take too long, a browser might timeout - and the user might try again - increasing load on the server.

If possible, try and match up the entries in the Apache error log with entries in the Apache access log. You may be able to see the parameters that are being requested - and then be able to recreate the issue.

It may be that the exportview request contains many EPrints, with lots of authors (e.g. some physics papers might have thousands of authors), which will take time to generate.
If we can understand exactly what causes the slow response, we may be able to fix it!

There may even be robots visiting your repository that aren't behaving nicely - which you could block with firewall rules.

I hope some of that helps!
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Francis Jayakanth via Eprints-tech <eprints-tech at ecs.soton.ac.uk>
Sent: 05 April 2019 19:09:21
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] ePrints server is freezing very often

Hi Everyone, In the recent past, our eprints server,
eprints.iisc.ac.in, in becoming unresponsive very frequently - i would
say, once every 30 minutes. Restarting the httpd server brings back
the server, but in less than 30 minutes it freezes again! I had a look
at the httpd error log file, and was surprised to see that the log
file is full of entries similar to the ones indicated below:

[Fri Apr 05 22:44:43.717856 2019] [:error] [pid 114613] :Apache2 IO
write: (32) Broken pipe at /opt/eprints3/cgi/exportview line 108
[Fri Apr 05 22:44:52.392811 2019] [:error] [pid 114910] :Apache2 IO
write: (32) Broken pipe at /opt/eprints3/cgi/exportview line 108
[Fri Apr 05 22:44:58.314788 2019] [:error] [pid 114919] :Apache2 IO
write: (32) Broken pipe at /opt/eprints3/cgi/exportview line 108

I also had a look at the Mariadb log file, which is bombarded with
entries indicated below:

190405 23:23:59 [Warning] IP address '' could not be
resolved: Name or service not known
190405 23:24:54 [Warning] IP address '' could not be
resolved: Name or service not known
190405 23:25:25 [Warning] IP address '' could not be
resolved: Name or service not known
190405 23:26:31 [Warning] IP address '' could not be
resolved: Name or service not known
190405 23:26:59 [Warning] IP address '' could not be
resolved: Name or service not known

All the IPs listed in the Mariadb log file have their origins in
China, South Korea, and other places.

Can someone help me to resolve the issue, please?.

We are running, eprints version: 3.3.15 eps on CentOS Linux release
7.4.1708 (Core)

Thanks and regards, Francis
*** 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&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccebc202f61cd47d9f05a08d6ba0b5ea8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=NMGxvVws72zKO3dOXfzNXZvMGXqLJfn55IcOIdukYRU%3D&amp;reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccebc202f61cd47d9f05a08d6ba0b5ea8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=CYcBDRw2NEo5oHvu9X19TLMe8xnCaCS1C0tr32rNWfU%3D&amp;reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ccebc202f61cd47d9f05a08d6ba0b5ea8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eeyXcagKn7D6qXuCvwbAAv7kCzmNTyI%2Bz7EEZ9E5WDw%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190405/972fadab/attachment-0001.html 

More information about the Eprints-tech mailing list