Jump to content

Cart is very slow and cause 500 Internal Server Error


Recommended Posts

Our cart is becoming very slow when customers adding bulk items, say more than 1200 items into cart. The cart is very slow, so customer cannot delete or checkout and it even caused a 500 Internal Server Error. However, putting less items into cart has no issues.

 

Does anyone have experience with this and how to solve this issue ?

 

Thanks

Link to comment
Share on other sites

The first thing I would do is check with your hosting company. Often times with this kind of volume you may be experience memroy limitations. Call your host. They should be able to view error logs and see if this is the case. If so, the only real solution may be to go with a VPS hosting platform.

Link to comment
Share on other sites

The first thing I would do is check with your hosting company. Often times with this kind of volume you may be experience memroy limitations. Call your host. They should be able to view error logs and see if this is the case. If so, the only real solution may be to go with a VPS hosting platform.

I am using a VPS here. I contacted the host company and they said it is a script issue and I should contact the coder?

 

How much memory should I set for the site in this case?

Link to comment
Share on other sites

I am using a VPS here. I contacted the host company and they said it is a script issue and I should contact the coder?

 

How much memory should I set for the site in this case?

I have already set the memory limit to 728 M and max_execution time to 120, max_input_time to 240, but the issue is still there.

 

Please help!

 

Thanks

Link to comment
Share on other sites

Our cart is becoming very slow when customers adding bulk items, say more than 1200 items into cart. The cart is very slow, so customer cannot delete or checkout and it even caused a 500 Internal Server Error. However, putting less items into cart has no issues.

 

Does anyone have experience with this and how to solve this issue ?

 

Thanks

The backend has the same issue here when we check a customer who had thousands of items in the cart, when we click on the customer then it loads very long and will cause a 500 Internal Server Error. Is this a prestashop limitation?

 

Please advise asap.

 

Thanks

Link to comment
Share on other sites

I do not know if this is a prestashop limitation. Also check you php.ini file. Your max_execution time and memory limit seems low for a VPS. Here is what I have and I am not on VPS

max_execution_time = 10000     ; Maximum execution time of each script, in seconds
max_input_time = 60	; Maximum amount of time each script may spend parsing request data
memory_limit = 1024M      ; Maximum amount of memory a script may consume (32MB)
suhosin.get.max_vars = 10000;
suhosin.post.max_vars = 10000;
max_input_vars = 6000;
Link to comment
Share on other sites

 

I do not know if this is a prestashop limitation. Also check you php.ini file. Your max_execution time and memory limit seems low for a VPS. Here is what I have and I am not on VPS

max_execution_time = 10000     ; Maximum execution time of each script, in seconds
max_input_time = 60	; Maximum amount of time each script may spend parsing request data
memory_limit = 1024M      ; Maximum amount of memory a script may consume (32MB)
suhosin.get.max_vars = 10000;
suhosin.post.max_vars = 10000;
max_input_vars = 6000;

I have already set my settings accordingly but the issue is still here. I am wondering if prestashop has a limit on processing large varieties of items in cart, say more than 1000 different items per order? I am wondering if prestashop colleagues can give a specific explanation? Also I am wondering should I limit the numbers of items can be put into cart for purchase per order if there is a limit for prestashop? I am using prestashop 1.4.

 

Any opinions and suggestions are welcomed!

Link to comment
Share on other sites

I have already set my settings accordingly but the issue is still here. I am wondering if prestashop has a limit on processing large varieties of items in cart, say more than 1000 different items per order? I am wondering if prestashop colleagues can give a specific explanation? Also I am wondering should I limit the numbers of items can be put into cart for purchase per order if there is a limit for prestashop? I am using prestashop 1.4.

 

Any opinions and suggestions are welcomed!

Any prestashop colleagues to help? Please!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...