blueline Posted March 25, 2004 Share Posted March 25, 2004 Does anyone know how many products EP 2.71-MS2 supports? Thanks, -Chris Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 25, 2004 Share Posted March 25, 2004 Hi Chris What problem are you having.... I am guessing it is timing out during the import? Quote 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 More sharing options...
blueline Posted March 25, 2004 Author Share Posted March 25, 2004 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, Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 25, 2004 Share Posted March 25, 2004 Have you tied splitting files at 1000 products to see if that works? Quote 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 More sharing options...
Mark Evans Posted March 25, 2004 Share Posted March 25, 2004 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 Quote 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 More sharing options...
blueline Posted March 25, 2004 Author Share Posted March 25, 2004 I actaully set it to 1000 before posting. I will try setting the time limit to 0, and post the results in just a minute. Thanks. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
blueline Posted March 25, 2004 Author Share Posted March 25, 2004 Still timed out, and still no split files. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 25, 2004 Share Posted March 25, 2004 Is it actually timing out or running out of memory? Quote 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 More sharing options...
blueline Posted March 25, 2004 Author Share Posted March 25, 2004 (edited) 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 March 25, 2004 by blueline Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 25, 2004 Share Posted March 25, 2004 Ok thats a webserver timeout issue :) I think there is a setting you can choose for apache to lengthen that. Quote 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 More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 (edited) I'm running locally on IIS 5.1 - just a test server. Edited March 26, 2004 by blueline Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 26, 2004 Share Posted March 26, 2004 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 Quote 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 More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 Found it. Trying it again. Will post the results in just a minute. Thanks. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 Same thing, and I set the timeout rate on my server to 5,000 seconds. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 26, 2004 Share Posted March 26, 2004 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 Quote 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 More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 ell, even before that it was set to 900 (15 minutes) and it never actually ran that long. Can it be a php.ini setting? Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 26, 2004 Share Posted March 26, 2004 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) Quote 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 More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 Yep, just changed that....we'll see what happens. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 Same results....but it seems as though the page ran longer this time. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 26, 2004 Share Posted March 26, 2004 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. Quote 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 More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 Sounds like a fun night for me.... :( Thanks Mark. I appreciate your help. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
blueline Posted March 26, 2004 Author Share Posted March 26, 2004 Well, I tried using a file with only 5,000 products, and I'm still having the same problem. Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Mark Evans Posted March 26, 2004 Share Posted March 26, 2004 Have you considered adding a counter which increments to see how many records are processed before timing out? Quote 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 More sharing options...
Guest Posted March 28, 2004 Share Posted March 28, 2004 try uploading using the split function, and then do each file after it is split by EP. Quote Link to comment Share on other sites More sharing options...
blueline Posted March 28, 2004 Author Share Posted March 28, 2004 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 Quote Chris Sullivan Link to comment Share on other sites More sharing options...
Recommended Posts
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.