Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate MAX?


blueline

Recommended Posts

Hi Chris

 

What problem are you having.... I am guessing it is timing out during the import?

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Exactly. I really want to do 100,000 products, but I can do 50,000 increments easily enough.

 

It's timing out, but the weird thing is that it doesn't create ANY split files.

I figured at least a couple would be created before it timed out.

 

Thanks for helping,

Chris Sullivan

Link to comment
Share on other sites

Have you tied splitting files at 1000 products to see if that works?

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

I have just taken a look at the 2.72 version and I see this

 

set_time_limit(330); // VJ changed

 

Try setting that to

 

set_time_limit(0);

 

To see if that helps

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Is it actually timing out or running out of memory?

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Well, I've got a gig and a half of the most expensive memory I could find from Kingston, and so I'm pretty sure it's not having a problem there.....but still, I suppose it is a possibility.

 

What's happening is it's showing progress in the toolbar as though it's doing something, and after about 5+ minutes, it goes to a "Page not Found".

Edited by blueline

Chris Sullivan

Link to comment
Share on other sites

Ok thats a webserver timeout issue :) I think there is a setting you can choose for apache to lengthen that.

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

There should be a timeout setting for IIS as well. Its set to 300 seconds on most servers.

 

See if you can find it... If not install apache ;)

 

There is the option in httpd.conf

 

#

# Timeout: The number of seconds before receives and sends time out.

#

Timeout 300

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Did the server run any longer or was the timeout period the same i.e 5 mins

 

5000 means 84ish mins so I guess it didnt run for that long :)

 

You might need to restart IIS for the setting to take effect

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

There is the following options available in php.ini

 

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

 

max_execution_time = 30 ; 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 = 8M ; Maximum amount of memory a script may consume (8MB)

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

I guess its just a case of playing with the settings until you find one that works :(

 

I havent taken a look ae the EP script before... I will see if I can find time next week and maybe make some suggestions on improving the speed of it.

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Have you considered adding a counter which increments to see how many records are processed before timing out?

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

John, that is what I am trying to do.

 

Mark- If I use a counter, how am I to see the results if the server is timing out and going to a 404 error? I guess I could incrememnt the number in a DB....but that will add to processes being performed, and could add more strain to the server, which wouldn't give very accurate results.

 

Thanks.

-Chris

Chris Sullivan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...