<div dir="ltr"><div dir="ltr"><div>Hello!</div><div><br></div><div>Stefan, you can try to increase temporarily your swap just to check if this issue is RAM related. For example, to set additional 10Gb of swap use:<br></div><div></div><div>dd if=/dev/zero of=/home/USER/swap bs=1G count=10<br>mkswap /home/USER/swap<br>swapon /home/USER/swap</div><div><br></div><div>Best,</div><div>Mansur<br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Am Mo., 3. Dez. 2018 um 07:25 Uhr schrieb Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m afraid it is next to impossible to diagnose this at a distance. The most likely culprit is the OOM killer, if you&#39;re on Linux. There might be something in an error log (or via dmesg?) <br>
<br>
However, there is a decent chance it will just tell you that the system was out of memory. Why this would be, I don&#39;t know. Corpus size is not the issue, rather, the number of distinct type tuples is (where a type tuple is every distinct combination of word form plus forms of all the other attributes at any given corpus position....)<br>
<br>
best<br>
<br>
Andrew.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt; On Behalf Of Stefan Fischer<br>
Sent: 28 November 2018 18:17<br>
To: <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><br>
Subject: [CWB] Failure of offline-freqlists.php<br>
<br>
Hello everyone,<br>
<br>
I would like to import a corpus (300M words) into CQPweb. The corpus is already indexed in CWB and the import into CQPweb worked well. As the corpus is rather large, I ran &quot;php offline-freqlists.php my_corpus&quot; in the terminal. Unfortunately, the script fails after several hours and I get the following error message:<br>
<br>
----<br>
<br>
cwb-scan-corpus error!<br>
Killed<br>
<br>
<br>
<br>
PHP debugging backtrace<br>
=======================<br>
array(2) {<br>
  [1]=&gt;<br>
  array(4) {<br>
    [&quot;file&quot;]=&gt;<br>
    string(42) &quot;/var/www/html/cqpweb/lib/freqtable.inc.php&quot;<br>
    [&quot;line&quot;]=&gt;<br>
    int(99)<br>
    [&quot;function&quot;]=&gt;<br>
    string(17) &quot;exiterror_general&quot;<br>
    [&quot;args&quot;]=&gt;<br>
    array(1) {<br>
      [0]=&gt;<br>
      &amp;string(29) &quot;cwb-scan-corpus error!<br>
Killed&quot;<br>
    }<br>
  }<br>
  [2]=&gt;<br>
  array(4) {<br>
    [&quot;file&quot;]=&gt;<br>
    string(46) &quot;/var/www/html/cqpweb/bin/offline-freqlists.php&quot;<br>
    [&quot;line&quot;]=&gt;<br>
    int(136)<br>
    [&quot;function&quot;]=&gt;<br>
    string(22) &quot;corpus_make_freqtables&quot;<br>
    [&quot;args&quot;]=&gt;<br>
    array(1) {<br>
      [0]=&gt;<br>
      &amp;string(10) &quot;test_corpus&quot;<br>
    }<br>
  }<br>
}<br>
<br>
----<br>
<br>
I have already imported corpora larger than this one. So I guess corpus size is not the issue. What else could cause a failure of cwb-scan-corpus?<br>
<br>
Best,<br>
Stefan<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
</blockquote></div>