I am working on magento very custom.

Now i have created a script for the import customers. This script does more checks. Now... into the database there are 1400 customers. My script import into magento only 370.

The error message is:

Error 503 Service Unavailable

Service Unavailable Guru Meditation:

XID: 279928762

I think can by the max execution time.

i have insert this ini_set('max_execution_time', 3600); set_time_limit(3600); but it's still the problem.

Can you help me?

  • Try to run script using shell or ssh command. Commented Sep 24, 2016 at 10:33
  • you right. I need to execute the script with ssh or shell. Commented Sep 27, 2016 at 13:27
  • Is this work in your case ? Commented Sep 28, 2016 at 4:38
  • I'm working on it Commented Sep 28, 2016 at 6:49

1 Answer 1


This looks like a varnish error. You will also require to adjust varnish timeouts.

On a side note, I do suggest imports are done via CLI so you don't have issues with varnish, nginx/apache based timeouts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.