1. nextcomp
  2. RO CSVI
  3. Tuesday, 05 July 2016
  4.  Subscribe via email
My import template works fine if I start backend manually. But not working if I start cron.php. The problem is I have got only 256MB virtual memory my web server.

/usr/local/bin/php /home/xxx/public_html/xxx/administrator/components/com_csvi/helper/cron.php --key="xxx" --template_id="8" --form.import_nolines=100 --form.import_wait=5 --file="/home/xxx/public_html/xxx/tmp/export.csv"

export.csv is about 1,5MB

I have to set --form.import_nolines=100 and --form.import_wait=5 in the backend but the cron.php is not using this. The server killed my process because 256MB is the limit!

How can I solve this problem without upgrade server memory limit?
Accepted Answer Pending Moderation
I see, but I haven't shell :) only CLI PHP
  1. more than a month ago
  2. RO CSVI
  3. # 21
Accepted Answer Pending Moderation
Hello,

Thank you for the VM image, that was really useful. In return I have a patch for you that you can use. Once I applied this on the VM image, the import finished all the time and memory stayed around 12-13MB.

Please load the patch file and let me know how it goes.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 22
  • Page :
  • 1
  • 2


There are no replies made for this post yet.
Be one of the first to reply to this post!