Hey folks,
I'm attempting to upload a 316MB package to CQ use CRXDE - the import reaches 100% and then fails with the message "Error while creating tmp file." I had no issues with smaller packages, the only difference with this one is the size. Is there an upper limit on packages for upload? Do I need to clear out some tmp files or up some memory params? Any thought would be much appreciated!
Many thanks,
Gordon
Solved! Go to Solution.
Views
Replies
Total Likes
This error is normally caused by you server configuration. When uploading a file to package manager CQ creates a temp file to hold the in progress upload of the binary. On a Unix/Linux server it creates in the /tmp directory. If you tmp directory is a seperate partition with limited size that can cause this error. CQ doesn't delete anything from /tmp either, instead relying on the system to clean it up, so if you are uploading multiple large files in a short period of time you may also be exceeding the size limit of your tmp partition. That only matters if you have a separate partition or otherwise limit the size of you /tmp directory.
Views
Replies
Total Likes
what is the content of this package?
Views
Replies
Total Likes
Hi, thanks for the follow up, the package consists of around 130 000 pages similar to the following:
<?xml version="1.0" ?><jcr:root jcr:primaryType="cq:Page" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0"> <jcr:content cq:lastModified="2014-04-10T09:26:30.965-04:00" cq:lastModifiedBy="admin" cq:template="/apps/backstage/templates/generic" jcr:primaryType="cq:PageContent" jcr:title="To view zones " sling:resourceType="backstage/components/page/generic"><par jcr:primaryType="nt:unstructured" sling:resourceType="foundation/components/parsys"><text jcr:created="{Date}2014-06-12T12:43:30.918-04:00" jcr:createdBy="admin" jcr:lastModified="{Date}2014-06-12T12:45:26.449-04:00" jcr:lastModifiedBy="admin" jcr:primaryType="nt:unstructured" sling:resourceType="backstage/components/content/main/text" text="<div>

<h1 class="title topictitle1">To view zones </h1>
<div class="body taskbody"><div class="section context" id="amc-view-zones-v2__context_013F0E97AABE4C79A16D711620312C50">Zones can be viewed and configured in the console. For information on configuring zones, see <a class="xref" href="ps-console-zones-config-v2.html">To configure zones and backup data collectors</a>.</div>
<ol class="ol steps" id="amc-view-zones-v2__steps_4597D3F2AAF74A79B71EABB4D26665EC"><li class="li step" id="amc-view-zones-v2__step_64733CD2FC3B4669B69C03AE6611137B"><span class="ph cmd">From the AppCenter, in the left pane, expand the <span class="ph uicontrol">Zones</span> node.</span></li>
<li class="li step" id="amc-view-zones-v2__step_BAB437F7D8C9451CA4C95BD863479565"><span class="ph cmd">Under <span class="ph uicontrol">Zones</span>, select a zone. The results pane displays the servers in the chosen zone.</span></li>
</ol>
</div>

<p style="font-size: 8pt !important"/>
</div>" textIsRich="true"/></par></jcr:content> </jcr:root>
Views
Replies
Total Likes
Check if you have enough disk space on the server. I also faced similar kind of issue while uploading the Larger package. I cleared the files under /tmp
Views
Replies
Total Likes
ok, in my experience, when I tried to upload large content (DAM and site content) around 600MB through package manager then it took around 2 hours to upload.
Views
Replies
Total Likes
This error is normally caused by you server configuration. When uploading a file to package manager CQ creates a temp file to hold the in progress upload of the binary. On a Unix/Linux server it creates in the /tmp directory. If you tmp directory is a seperate partition with limited size that can cause this error. CQ doesn't delete anything from /tmp either, instead relying on the system to clean it up, so if you are uploading multiple large files in a short period of time you may also be exceeding the size limit of your tmp partition. That only matters if you have a separate partition or otherwise limit the size of you /tmp directory.
Views
Replies
Total Likes
Many thanks for the responses guys. I'll follow up to confirm what worked.
Views
Replies
Total Likes
What have you done for this error
Views
Replies
Total Likes
Views
Likes
Replies