XML doesnt load anymore
Posted by: mitch2k (---.dsl.versateladsl.be)
Date: October 15, 2007 12:27AM

Hey there,

I'm running wamp on a windows 2003 enterprise server. Everything works well, but since a day or two, the XML pages doesnt load anymore.
I'm using phpsysinfo, to display uptime and stuff. Phpsysinfo gets its data from an XML file, but when I try to load, The phpsysinfo gives an error that there was an error loading the XML document.
When I go directly tot the XML page, I get only a blank page.

I also have another page that uses XML, and there I get this error: Fatal error: Maximum execution time of 30 seconds exceeded in G:\wamp\www\phpmyserver\lite\includes\functions.php4.php on line 263

The server has now an uptime of 10 days, and only since a day or 2 the XML loading gives an error altough nothing has changed or so.
I also tried restarting WAMP, but no improvement.
I cannot reboot the whole server...

Anyone an idea what I can do to fix this?

THanks!


Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: yfastud (---.cable.mindspring.com)
Date: October 15, 2007 01:33AM

Not sure why you run into that problem because my xml test page below was posted there almost 2 yrs ago and still working now even I keep upgraded server every time they have new version here since version 1.4.5 until now, version 1.7.3 w/ mysql 6 and php 6

[test.jlbn.com]

Anyway, try to increase these in c:/wamp/apache2/bin/php.ini

find:
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

change to:
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

Have fun,

[test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)




Post Edited (10-15-07 14:09)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: mitch2k (---.dsl.versateladsl.be)
Date: October 15, 2007 07:17AM


Hey,

thanks for the info!

I changed that parameters, and now the loading of the XML page seems to work. But it takes about 20 seconds or so... In the beginning it was a second or 3.

Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: yfastud (72.236.169.---)
Date: October 15, 2007 02:02PM

You might want to check some other factors that might effect it

In php.ini, find:
post_max_size = 8M
upload_max_filesize = 2M

change to:
post_max_size = 750M
upload_max_filesize = 750M

In mysql.ini, add this:
max_allowed_packet = 200M

Have fun,

[test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)




Post Edited (10-15-07 14:10)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: mitch2k (---.dsl.versateladsl.be)
Date: October 15, 2007 02:32PM

I changed the parameters, but no progress sad smiley.

You can look the page here if you want:
[wcs.servebeer.com]

Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: mitch2k (---.dsl.versateladsl.be)
Date: October 15, 2007 04:58PM

Ok, I've found the problem.

On the server is also a program running for recording video from security camera's. And that program was taking 100% of CPU.
That causes WAMP to getting slow.

It's strange, because the server has got an AMD Athlon 64 Processor 3800+ with 1.5GB of RAM...

How can I prevent this in the future? Can I load wamp standard with higher CPU priority?

Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: yfastud (72.236.169.---)
Date: October 15, 2007 06:06PM

He he... he he... ;-)

That's why my primary server only have 3 things: win, wamp, and anti-virus, secondary has the same like primary plus ftp server and the third server is a backup one which has the same like primary plus mail server, so all web transactions will go to primary and go to secondary only when primary down, all ftp go to secondary, and all mail go to the third. Of course, I use my laptop w/ portable modified wamp on usb stick for all codings and other computing stuff

The funny thing is I've just upgraded video card for primary from nvidia 7300gt (128M) to 8400gs (256M) which I've got for only 15 bucks, but I've never had any game on this server... ;-)

Have fun,

[test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)




Post Edited (10-15-07 18:28)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: mitch2k (---.dsl.versateladsl.be)
Date: October 15, 2007 07:20PM

Hehe,

I only have one server... But now I gave the camera program a lower priority then HTTPD.exe (although I cant change priority for httpd). And now the site is running fast again...

Options: ReplyQuote
Re: XML doesnt load anymore
Posted by: yfastud (72.236.169.---)
Date: October 15, 2007 07:50PM

Glad you found a solution for it finally

Have fun,

[test.jlbn.net] (Sample Testing Codes for PHP, MySQL, ASP.net, SQL, JSP)
[www.jlbn.net] (Basic Guide for WAMP & Add-ons)

Options: ReplyQuote


Sorry, only registered users may post in this forum.