<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>We’ve been doing some testing with PDF exports recently, and have noticed that if a resource record gets to a certain size, it will lock up AS for a couple of minutes and send the user to an error page.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We have had no problem with smaller PDF files, and haven’t had issues with EAD export. Has anyone else run into this issue? Our IT department has been unable to track down the issue. We thought it might be a mysql lock wait problem, but that ended up being fruitless.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any thoughts?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here’s a log of what’s happening:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2014-12-02 12:21:16.741:INFO:/:Started GET "/resources/11211/download_ead?include_daos=false&include_unpublished=true&numbered_cs=false&print_pdf=true" for 192.168.50.129 at 2014-12-02 12:21:16 -0500|<o:p></o:p></p><p class=MsoNormal>2014-12-02 12:21:16.761:INFO:/:  Parameters: {"include_daos"=>"false", "include_unpublished"=>"true", "numbered_cs"=>"false", "print_pdf"=>"true", "id"=>"11211"}|<o:p></o:p></p><p class=MsoNormal>D, [2014-12-02T12:21:16.946000 #25469] DEBUG -- : Thread-3486: GET /repositories/2/resource_descriptions/11211.pdf/metadata [session: #<Session:0x2574efb4 @store={:user=>"jmorillo", :login_time=>2014-12-02 09:32:54 -0500, :expirable=>true}, @id="e8486be22af564ff33cd7254844716d921777beae4daeafadf29ac8c676a21e6">]<o:p></o:p></p><p class=MsoNormal>D, [2014-12-02T12:21:16.959000 #25469] DEBUG -- : Thread-3486: Post-processed params: {:id=>11211, :repo_id=>2, :fmt=>"pdf"}<o:p></o:p></p><p class=MsoNormal>D, [2014-12-02T12:21:17.049000 #25469] DEBUG -- : Thread-3470: GET /repositories/2/resource_descriptions/11211.pdf?include_unpublished=true&print_pdf=true&include_daos=false&numbered_cs=false [session: #<Session:0x5e315b17 @store={:user=>"jmorillo", :login_time=>2014-12-02 09:32:54 -0500, :expirable=>true}, @id="e8486be22af564ff33cd7254844716d921777beae4daeafadf29ac8c676a21e6">]<o:p></o:p></p><p class=MsoNormal>D, [2014-12-02T12:21:17.057000 #25469] DEBUG -- : Thread-3470: Post-processed params: {:id=>11211, :include_unpublished=>true, :include_daos=>false, :numbered_cs=>false, :print_pdf=>true, :repo_id=>2}<o:p></o:p></p><p class=MsoNormal>D, [2014-12-02T12:21:20.720000 #25469] DEBUG -- : Thread-3470: GET /repositories/2/resources/11211/tree?include_unpublished=true&print_pdf=true&include_daos=false&numbered_cs=false [session: #<Session:0x21b962c3 @store={:user=>"jmorillo", :login_time=>2014-12-02 09:32:54 -0500, :expirable=>true}, @id="e8486be22af564ff33cd7254844716d921777beae4daeafadf29ac8c676a21e6">]<o:p></o:p></p><p class=MsoNormal>D, [2014-12-02T12:21:20.728000 #25469] DEBUG -- : Thread-3470: Post-processed params: {:id=>11211, :repo_id=>2}<o:p></o:p></p><p class=MsoNormal>D, [2014-12-02T12:21:31.415000 #25469] DEBUG -- : Thread-3470: Responded with [200, {"Content-Type"=>"application/json", "Cache-Control"=>"private, must-revalidate, max-age=0", "Content-Length"=>"3850900"}, ["{\"title\":\"Nelson A. Rockefeller papers\",\"id\":11211,\"node_type\":\"resource\",\"publish\":true,\"suppressed\":false,\"children\":[{\"title\":\"Activities, 1930-1979, bulk 1946-1971\",\"id\":658077,\"record_uri\":\"/repositories/2/archival_objects/658077\",\"publish\":true,\"suppressed\":false,\"node_type\":\"archival_object\",\"level\":\"series\",\"has_children\":true,\"chi... in 10529.0ms<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Patrick Galligan<o:p></o:p></p><p class=MsoNormal>Rockefeller Archive Center<o:p></o:p></p><p class=MsoNormal>Assistant Digital Archivist<o:p></o:p></p><p class=MsoNormal>914-366-6386<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>