<html><body>
<p><font size="2" face="sans-serif">Hi Verena,</font><br>
<br>
<font size="2" face="sans-serif">did you try out the </font><font size="2" face="Menlo-Bold"><b>--generate</b></font><font size="2" face="Menlo-Regular"> </font><font size="2" face="Menlo-Bold"><b>menus</b></font><font size="2" face="sans-serif"> option of generate_views? This reduces the number of files considerably.</font><br>
<br>
<font size="2" face="sans-serif">Also, in our nightly cron job, we delete all files that are older than 24 hours.</font><br>
<font size="2" face="sans-serif"> </font><br>
<font size="2" face="sans-serif">Best regards,</font><br>
<br>
<font size="2" face="sans-serif">Martin</font><br>
<br>
<font size="2" face="sans-serif">--</font><br>
<font size="2" face="sans-serif">Dr. Martin Brändle</font><br>
<font size="2" face="sans-serif">Zentrale Informatik</font><br>
<font size="2" face="sans-serif">Universität Zürich</font><br>
<font size="2" face="sans-serif">Stampfenbachstr. 73</font><br>
<font size="2" face="sans-serif">CH-8006 Zürich</font><br>
<br>
<font size="2" face="sans-serif">mail: martin.braendle@id.uzh.ch</font><br>
<font size="2" face="sans-serif">phone: +41 44 63 56705</font><br>
<font size="2" face="sans-serif">fax: +41 44 63 54505</font><br>
<font size="2" face="sans-serif"><a href="http://www.zi.uzh.ch">http://www.zi.uzh.ch</a></font><br>
<br>
<img width="16" height="16" src="cid:1__=4EBBF531DFA14D8D8f9e8a93df9@lotus.uzh.ch" border="0" alt="Inactive hide details for Verena Mattes ---27/04/2016 10:54:23---Hi Adam, For now, my colleagues in the IT service centre solve"><font size="2" color="#424282" face="sans-serif">Verena Mattes ---27/04/2016 10:54:23---Hi Adam, For now, my colleagues in the IT service centre solved the problem by</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">Von:        </font><font size="1" face="sans-serif">Verena Mattes <verena.mattes@ub.uni-bayreuth.de></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">An:        </font><font size="1" face="sans-serif">eprints-tech@ecs.soton.ac.uk</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Datum:        </font><font size="1" face="sans-serif">27/04/2016 10:54</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Betreff:        </font><font size="1" face="sans-serif">Re: [EP-tech] Problems with view generation: EPrints System Error</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Gesendet von:        </font><font size="1" face="sans-serif">eprints-tech-bounces@ecs.soton.ac.uk</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">Hi Adam,<br>
<br>
For now, my colleagues in the IT service centre solved the problem by <br>
raising the number of files permitted in one directory on our Netapp, <br>
but that is only a temporary solution. Almost 340.000 files in one <br>
directory are just too many, so I'll have to find a way to split the <br>
person view into groups somehow.<br>
<br>
Your suggestion of checking the number of variations should be a first <br>
step in reducing the number of files. Here's our current view <br>
configuration, which I'm going to change by taking away the DEFAULT <br>
variation:<br>
<br>
> {<br>
> id => "person",<br>
> hideempty => 0,<br>
> allow_null => 0,<br>
> menus => [<br>
> {<br>
> fields => [ "person_view_name" ],<br>
> mode => "sections",<br>
> grouping_function => "EPrints::Update::Views::group_by_first_character",<br>
> group_range_function => "EPrints::Update::Views::cluster_ranges_40",<br>
> new_column_at => [40],<br>
> open_first_section => 1,<br>
> },<br>
> ],<br>
> order => "-date;res=year/title/publication/book_title",<br>
> hideup => 0,<br>
> nocount => 0,<br>
> notimestamp => 0,<br>
> include => 1,<br>
> variations => [<br>
> "type",<br>
> "date;truncate=4,reverse",<br>
> "DEFAULT",<br>
> ],<br>
> citation => "view", # Views mit Volltext-Hinweis!<br>
> },<br>
<br>
Thanks for all your help!<br>
<br>
Verena<br>
<br>
><br>
> Message: 1<br>
> Date: Tue, 26 Apr 2016 08:35:49 +0000<br>
> From: Adam Field <Adam.Field@jisc.ac.uk><br>
> Subject: Re: [EP-tech] Problems with view generation: EPrints System<br>
>                  Error<br>
> To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk><br>
> Message-ID: <C2A1398C-702E-4C79-B4CD-2BAD5987789F@jisc.ac.uk><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> My previous suggestion wasn't right and won't work exactly as expected on reflection.<br>
><br>
> What happens when you run generate_views from the command line?<br>
> Just how many files do you have in the directory on the hard disk?<br>
><br>
> Can you paste in the browse view configuration? It may be that turning of variations will solve this.<br>
><br>
> [Jisc]<</font></tt><tt><font size="2"><a href="http://www.jisc.ac.uk/">http://www.jisc.ac.uk/</a></font></tt><tt><font size="2">><br>
><br>
> Adam Field<br>
> SHERPA services analyst developer<br>
><br>
><br>
> From: <eprints-tech-bounces@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>> on behalf of Verena Mattes <verena.mattes@ub.uni-bayreuth.de<</font></tt><tt><font size="2"><a href="mailto:verena.mattes@ub.uni-bayreuth.de">mailto:verena.mattes@ub.uni-bayreuth.de</a></font></tt><tt><font size="2">>><br>
> Reply-To: "eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>" <eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>><br>
> Date: Tuesday, 26 April 2016 07:48<br>
> To: "eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>" <eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>><br>
> Subject: Re: [EP-tech] Problems with view generation: EPrints System Error<br>
><br>
> Hi Alan and Adam,<br>
><br>
> Thanks for your suggestions. We are running EPrints 3.3.11 and the free<br>
> space on our hard disk is not a problem. I checked with a colleague and<br>
> he confirmed my guess that the problem is caused by the number of files<br>
> in the directory, obviously the maximum number was reached last week and<br>
> no further files can be created.<br>
> Does anybody have a quick idea on how to divide files for one view, the<br>
> person view, to different directories? Would it be possible to define<br>
> different views for groups of letters, e.g. A-D or something like that?<br>
><br>
> Thanks!<br>
><br>
> Verena<br>
><br>
><br>
><br>
> Date: Mon, 25 Apr 2016 10:58:47 +0000<br>
> From: Adam Field <Adam.Field@jisc.ac.uk<</font></tt><tt><font size="2"><a href="mailto:Adam.Field@jisc.ac.uk">mailto:Adam.Field@jisc.ac.uk</a></font></tt><tt><font size="2">>><br>
> Subject: Re: [EP-tech] Problems with view generation: EPrints System<br>
> Error<br>
> To: "eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>" <eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>><br>
> Message-ID: <3D933692-5E6D-4B33-9499-1DD23E2B4C62@jisc.ac.uk<</font></tt><tt><font size="2"><a href="mailto:3D933692-5E6D-4B33-9499-1DD23E2B4C62@jisc.ac.uk">mailto:3D933692-5E6D-4B33-9499-1DD23E2B4C62@jisc.ac.uk</a></font></tt><tt><font size="2">>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> What specific version of EPrints are you running? What is line 1550 of /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm<br>
><br>
> Also, silly question, but how much free space do you have on your hard disk?<br>
><br>
> [Jisc]<</font></tt><tt><font size="2"><a href="http://www.jisc.ac.uk/">http://www.jisc.ac.uk/</a></font></tt><tt><font size="2">><br>
><br>
> Adam Field<br>
> SHERPA services analyst developer<br>
><br>
><br>
> From: <eprints-tech-bounces@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a></font></tt><tt><font size="2">><</font></tt><tt><font size="2"><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>> on behalf of Verena Mattes <verena.mattes@ub.uni-bayreuth.de<</font></tt><tt><font size="2"><a href="mailto:verena.mattes@ub.uni-bayreuth.de">mailto:verena.mattes@ub.uni-bayreuth.de</a></font></tt><tt><font size="2">><</font></tt><tt><font size="2"><a href="mailto:verena.mattes@ub.uni-bayreuth.de">mailto:verena.mattes@ub.uni-bayreuth.de</a></font></tt><tt><font size="2">>><br>
> Reply-To: "eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">><</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>" <eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">><</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>><br>
> Date: Monday, 25 April 2016 09:51<br>
> To: "eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">><</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>" <eprints-tech@ecs.soton.ac.uk<</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">><</font></tt><tt><font size="2"><a href="mailto:eprints-tech@ecs.soton.ac.uk">mailto:eprints-tech@ecs.soton.ac.uk</a></font></tt><tt><font size="2">>><br>
> Subject: [EP-tech] Problems with view generation: EPrints System Error<br>
><br>
> Hello,<br>
><br>
> since last week, we've had problems with the view generation for our<br>
> author/person view. These problems specifically concern the views for<br>
> new author names, which are not generated, while the views for already<br>
> existing author names are updated.<br>
><br>
> For each author name concerned, there is an entry in the apache error log:<br>
><br>
> Error writing to /usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kaiser=3AMario=3A=3A.export: File too large<br>
> ------------------------------------------------------------------<br>
> at /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 1550<br>
> EPrints::Update::Views::output_files('EPrints::Repository=HASH(0x7fb0663688d0)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::DocumentFragment=SCALAR(0x7fb06a7e5938)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::Element=SCALAR(0x7fb06a45f160)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::DocumentFragment=SCALAR(0x7fb06a7e5938)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::DocumentFragment=SCALAR(0x7fb06a668aa8)', ...) called at /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 935<br>
> EPrints::Update::Views::update_view_list('EPrints::Repository=HASH(0x7fb0663688d0)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'de', 'EPrints::Update::Views=HASH(0x7fb06a6863f0)', 'ARRAY(0x7fb064b78c70)') called at /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 259<br>
> EPrints::Update::Views::update_view_file('EPrints::Repository=HASH(0x7fb0663688d0)', 'de', '/view/person/Kaiser=3AMario=3A=3A.html', '/view/person/Kaiser=3AMario=3A=3A.html') called at /usr/share/eprints3/perl_lib/EPrints/Apache/Rewrite.pm line 513<br>
> EPrints::Apache::Rewrite::handler('Apache2::RequestRec=SCALAR(0x7fb06a471710)') called at -e line 0<br>
> eval {...} called at -e line 0<br>
><br>
> In this specific case, the author's name is linked to only 2 EPrints<br>
> entries, so it is unlikely that this file would be particularly large.<br>
><br>
> Does anybody have an idea concerning this? I would appreciate any help.<br>
><br>
> Thanks!<br>
><br>
> Verena<br>
><br>
> *** Options: </font></tt><tt><font size="2"><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></font></tt><tt><font size="2"><br>
> *** Archive: </font></tt><tt><font size="2"><a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a></font></tt><tt><font size="2"><br>
> *** EPrints community wiki: </font></tt><tt><font size="2"><a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a></font></tt><tt><font size="2"><br>
> *** EPrints developers Forum: </font></tt><tt><font size="2"><a href="http://forum.eprints.org/">http://forum.eprints.org/</a></font></tt><tt><font size="2"><br>
><br>
> Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc?s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.<br>
><br>
> Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: </font></tt><tt><font size="2"><a href="http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160426/87b9ab89/attachment.html">http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160426/87b9ab89/attachment.html</a></font></tt><tt><font size="2"><br>
> -------------- next part --------------<br>
<br>
*** Options: </font></tt><tt><font size="2"><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></font></tt><tt><font size="2"><br>
*** Archive: </font></tt><tt><font size="2"><a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a></font></tt><tt><font size="2"><br>
*** EPrints community wiki: </font></tt><tt><font size="2"><a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a></font></tt><tt><font size="2"><br>
*** EPrints developers Forum: </font></tt><tt><font size="2"><a href="http://forum.eprints.org/">http://forum.eprints.org/</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>