XML.php out of control

My host (HostGator) reported ridiculous spikes which were exhausting memory, and they pointed to flash/XML.php as the culprit. We have not edited this file. What is it used for? Right now, the host has it disabled, which if it's not part of anything important, is fine by me.

I've not had D7 long enough to look into "Flash apps" stuff much, but I'm assuming it is part of that. Doing a quick grep around the files suggests this particular file is used mostly (exclusively?) by the video features of the site. Anyone else familiar with it much, or have something similar happen?


Thanks.

Quote · 1 Mar 2010

Quite a few people are reporting that this file has been the cause of allot of resource spikes. I am not aware of the purpose of this file, so I'm going to do the only thing anyone can do in such a situation.




Hey, Rayz! Wake up and tell us, already!

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Mar 2010

*cough**wheeze**snort*(bump)*gurgle**phlem*

 

 

Quote · 1 Mar 2010

*cough**wheeze**snort*(bump)*gurgle**phlem*

Can I collect your organs?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Mar 2010

Sorry Magnussoft , I already have them promised to a seedy underworld organ dealer named Guido.

An added note.......I don't know about the other flash apps, but disabling that file will kill video and sounds. They will just get stuck on the loading screen.

(Embedded vids will still work - of course)

 

Quote · 1 Mar 2010

I do have to make a comment here. I see this all day long in these forums. This is a very high end community software application and it does require a substantial server setup to run properly. It's only natural that it can be expected to consume a much higher level of resources than your regular online forum/community. If you really want to be successful with Dolphin, I recommend you spend a little money and get dedicated or at least, buy into a substantial VPS solution. Shared environments for this application only work if you are willing to shut off all the goodies that make it special in the first place.

Cool

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 1 Mar 2010

I do have to make a comment here. I see this all day long in these forums. This is a very high end community software application and it does require a substantial server setup to run properly. It's only natural that it can be expected to consume a much higher level of resources than your regular online forum/community. If you really want to be successful with Dolphin, I recommend you spend a little money and get dedicated or at least, buy into a substantial VPS solution. Shared environments for this application only work if you are willing to shut off all the goodies that make it special in the first place.

Cool

Then why are some people reporting this file going on a resource witch hunt when the web site in question is not even used?

Also, your comment about shared hosting isn't anywhere near accurate. Not all shared web hosting services are taxed like Arvixe.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Mar 2010

Heh, not sure what the coughing bit was about but, we do have a pretty robust account, which is a VPS (and not the bottom-end arrangement). As for it killing video and sound by disabling, that's fine by us. Those are not features we were planning to use, so that's a bit of a relief. Still, that doesn't explain WHY that file is so resource-intensive and prone to running out of control. I've got a script I wrote which recursively searches through thousands of members and sorts them by country, state and city with two counts (to show promotional and standard tallies) and that doesn't eat as much up as XML.php -- kinda weird.

Quote · 1 Mar 2010

I think this is definitely something that should be looked at ASAP.

I just switched hosting companies on the weekend and checked my CPU usage today after I read this post.

And XML.php is using 35% of the total cpu usage.

I am the only person on the site and I ran some tests to see if everything was working.

I played one audio tune and that is what caused this usage ? Seems strange to me.

Anyways hopefully someone can look into this before it becomes a major problem

Quote · 1 Mar 2010

on the shared hosting comment (absolutely incorrect) has nothing to do with shared VPS or Dedicated. There is a problem with this file.

This file will consume greater than 30% CPU constantly for no reason.

I am bringing this information from all platforms, so the shared environment has nothing to do with it. just wanted to clear that up.

I know that many shared accounts are being suspended because of it, but it has no real bearing on the shared account. as for expecting the script to use up more resources than standard community, you could be correct in the statement from a general viewpoint, if the script itself was using resources, but we are talking about one file that is just hammering the CPU and on idle sites.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 1 Mar 2010

I'm with HostForWeb, Have a VPS and a Dedicated server.  On the Dedicated server, it nearly became unresponsive due to this file hammering the CPU at an average of 93% CPU one night.  This continued at about 40% for about a week, then stopped all on it's own.  (Was a NON-PUBLIC dev site in a pre-launch stage).  On my cheap little VPS account however, it's running just fine.  So I can also back up the fact that it has little to do with your level of hosting.  I agree that if your site is to have many people on it, Shared is not the way to go, Even VPS can struggle if your site begins to accumulate members beyond a few hundred (avg 15 concurrent or more), but even then Why is it that a Multiprocessor/Multicore box with 8GB of ram was nearly brought to it's knees, and my cheap little VPS is humming along just fine?  on the same script?

Quote · 1 Mar 2010

I'm labeling this as a horrible experiment by AlexT gone awry.

Ever since Andrew gave him that "Be a Real Scientist" accessory kit for Boxing Day, he's been up to so many antics.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Mar 2010

 

Heh, not sure what the coughing bit was about but, we do have a pretty robust account, which is a VPS (and not the bottom-end arrangement). As for it killing video and sound by disabling, that's fine by us. Those are not features we were planning to use, so that's a bit of a relief. Still, that doesn't explain WHY that file is so resource-intensive and prone to running out of control. I've got a script I wrote which recursively searches through thousands of members and sorts them by country, state and city with two counts (to show promotional and standard tallies) and that doesn't eat as much up as XML.php -- kinda weird.

 

I too have a HostForWeb VPS account with ZERO issues concerning usage. I also still disagree with all of you. The quality of the server AND the resources available to drive it are VERY IMPORTANT. I will say that I made an assumption that he was on shared and I shouldn't have since he told us he's on a VPS. With that said, why is his host yelling at him about usage on a VPS? A VPS account is nearly the same as a dedicated. it is throttled to prevent you from consuming resources earmarked for other accounts. Seems like there are two hosts that are always in here, one is Arvixe that we all know about and the other seems to be Hostgator. Don't believe me? Do a search. You'll find repeated posts about issues with Dolphin on that host.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 1 Mar 2010

Heh, not sure what the coughing bit was about but, we do have a pretty robust account, which is a VPS (and not the bottom-end arrangement). As for it killing video and sound by disabling, that's fine by us. Those are not features we were planning to use, so that's a bit of a relief. Still, that doesn't explain WHY that file is so resource-intensive and prone to running out of control. I've got a script I wrote which recursively searches through thousands of members and sorts them by country, state and city with two counts (to show promotional and standard tallies) and that doesn't eat as much up as XML.php -- kinda weird.

I too have a HostForWeb VPS account with ZERO issues concerning usage. I also still disagree with all of you. The quality of the server AND the resources available to drive it are VERY IMPORTANT. I will say that I made an assumption that he was on shared and I shouldn't have since he told us he's on a VPS. With that said, why is his host yelling at him about usage on a VPS? A VPS account is nearly the same as a dedicated. it is throttled to prevent you from consuming resources earmarked for other accounts. Seems like there are two hosts that are always in here, one is Arvixe that we all know about and the other seems to be Hostgator. Don't believe me? Do a search. You'll find repeated posts about issues with Dolphin on that host.

You forget, a virtual private server is still hosted on some form of physical hardware, that can still be taxed by forms of excessive usage. There's a reason why true, dedicated servers are still a step-up, because you actually have your own server, where resource usage can be blown into the wind (somewhat).

Also, off topic, but still rather funny:

Unmetered Hosting: Similar to unmanaged hosting but a fixed bitrate is offered so that it is not possible to exceed a monthly budget.

Apparently Wikipedia's catching on.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Mar 2010

 

 

 

Heh, not sure what the coughing bit was about but, we do have a pretty robust account, which is a VPS (and not the bottom-end arrangement). As for it killing video and sound by disabling, that's fine by us. Those are not features we were planning to use, so that's a bit of a relief. Still, that doesn't explain WHY that file is so resource-intensive and prone to running out of control. I've got a script I wrote which recursively searches through thousands of members and sorts them by country, state and city with two counts (to show promotional and standard tallies) and that doesn't eat as much up as XML.php -- kinda weird.

 

I too have a HostForWeb VPS account with ZERO issues concerning usage. I also still disagree with all of you. The quality of the server AND the resources available to drive it are VERY IMPORTANT. I will say that I made an assumption that he was on shared and I shouldn't have since he told us he's on a VPS. With that said, why is his host yelling at him about usage on a VPS? A VPS account is nearly the same as a dedicated. it is throttled to prevent you from consuming resources earmarked for other accounts. Seems like there are two hosts that are always in here, one is Arvixe that we all know about and the other seems to be Hostgator. Don't believe me? Do a search. You'll find repeated posts about issues with Dolphin on that host.

You forget, a virtual private server is still hosted on some form of physical hardware, that can still be taxed by forms of excessive usage.

 Yes it is but it is a planned existence and in theory (if the host is not an idiot) protections are put into place to prevent one VPS accounts inadequacies from affecting another.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 1 Mar 2010

Heh, not sure what the coughing bit was about but, we do have a pretty robust account, which is a VPS (and not the bottom-end arrangement). As for it killing video and sound by disabling, that's fine by us. Those are not features we were planning to use, so that's a bit of a relief. Still, that doesn't explain WHY that file is so resource-intensive and prone to running out of control. I've got a script I wrote which recursively searches through thousands of members and sorts them by country, state and city with two counts (to show promotional and standard tallies) and that doesn't eat as much up as XML.php -- kinda weird.

I too have a HostForWeb VPS account with ZERO issues concerning usage. I also still disagree with all of you. The quality of the server AND the resources available to drive it are VERY IMPORTANT. I will say that I made an assumption that he was on shared and I shouldn't have since he told us he's on a VPS. With that said, why is his host yelling at him about usage on a VPS? A VPS account is nearly the same as a dedicated. it is throttled to prevent you from consuming resources earmarked for other accounts. Seems like there are two hosts that are always in here, one is Arvixe that we all know about and the other seems to be Hostgator. Don't believe me? Do a search. You'll find repeated posts about issues with Dolphin on that host.

You forget, a virtual private server is still hosted on some form of physical hardware, that can still be taxed by forms of excessive usage.

Yes it is but it is a planned existence and in theory (if the host is not an idiot) protections are put into place to prevent one VPS accounts inadequacies from affecting another.

Even still, wouldn't it make sense for a web hosting provider to alert its customers of an out-of-control script?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Mar 2010

 

 

 

 

 

Heh, not sure what the coughing bit was about but, we do have a pretty robust account, which is a VPS (and not the bottom-end arrangement). As for it killing video and sound by disabling, that's fine by us. Those are not features we were planning to use, so that's a bit of a relief. Still, that doesn't explain WHY that file is so resource-intensive and prone to running out of control. I've got a script I wrote which recursively searches through thousands of members and sorts them by country, state and city with two counts (to show promotional and standard tallies) and that doesn't eat as much up as XML.php -- kinda weird.

 

I too have a HostForWeb VPS account with ZERO issues concerning usage. I also still disagree with all of you. The quality of the server AND the resources available to drive it are VERY IMPORTANT. I will say that I made an assumption that he was on shared and I shouldn't have since he told us he's on a VPS. With that said, why is his host yelling at him about usage on a VPS? A VPS account is nearly the same as a dedicated. it is throttled to prevent you from consuming resources earmarked for other accounts. Seems like there are two hosts that are always in here, one is Arvixe that we all know about and the other seems to be Hostgator. Don't believe me? Do a search. You'll find repeated posts about issues with Dolphin on that host.

You forget, a virtual private server is still hosted on some form of physical hardware, that can still be taxed by forms of excessive usage.

Yes it is but it is a planned existence and in theory (if the host is not an idiot) protections are put into place to prevent one VPS accounts inadequacies from affecting another.

Even still, wouldn't it make sense for a web hosting provider to alert its customers of an out-of-control script?

 

Yes, which is what they did. I'm not a "he" btw. :)

Regardless of the robustness of accounts, the fact that idle setups are eating CPU means there is something wrong with the file and/or its useage within Dolphin. That falls under Boonex's control and is something they should address.

Quote · 1 Mar 2010

 

 

 

 

 

 

Heh, not sure what the coughing bit was about but, we do have a pretty robust account, which is a VPS (and not the bottom-end arrangement). As for it killing video and sound by disabling, that's fine by us. Those are not features we were planning to use, so that's a bit of a relief. Still, that doesn't explain WHY that file is so resource-intensive and prone to running out of control. I've got a script I wrote which recursively searches through thousands of members and sorts them by country, state and city with two counts (to show promotional and standard tallies) and that doesn't eat as much up as XML.php -- kinda weird.

 

I too have a HostForWeb VPS account with ZERO issues concerning usage. I also still disagree with all of you. The quality of the server AND the resources available to drive it are VERY IMPORTANT. I will say that I made an assumption that he was on shared and I shouldn't have since he told us he's on a VPS. With that said, why is his host yelling at him about usage on a VPS? A VPS account is nearly the same as a dedicated. it is throttled to prevent you from consuming resources earmarked for other accounts. Seems like there are two hosts that are always in here, one is Arvixe that we all know about and the other seems to be Hostgator. Don't believe me? Do a search. You'll find repeated posts about issues with Dolphin on that host.

You forget, a virtual private server is still hosted on some form of physical hardware, that can still be taxed by forms of excessive usage.

Yes it is but it is a planned existence and in theory (if the host is not an idiot) protections are put into place to prevent one VPS accounts inadequacies from affecting another.

Even still, wouldn't it make sense for a web hosting provider to alert its customers of an out-of-control script?

 

Yes, which is what they did. I'm not a "he" btw. :)

Regardless of the robustness of accounts, the fact that idle setups are eating CPU means there is something wrong with the file and/or its useage within Dolphin. That falls under Boonex's control and is something they should address.

 

Sorry about the he/she thing but we're all faceless here anyway. I am not convinced an issue with the file exists. Does anyone have specifics as to why this file causes so much trouble?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 2 Mar 2010

 

 

Sorry about the he/she thing but we're all faceless here anyway. I am not convinced an issue with the file exists. Does anyone have specifics as to why this file causes so much trouble?

 

Heh, not all of us (points at your av). Your question, though, is what I posed originally. What is it used for?

Quote · 2 Mar 2010

Sorry about the he/she thing but we're all faceless here anyway. I am not convinced an issue with the file exists. Does anyone have specifics as to why this file causes so much trouble?

Heh, not all of us (points at your av). Your question, though, is what I posed originally. What is it used for?

http://www.boonex.com/trac/dolphin/browser/trunk/flash/XML.php

There's not much in there, but I'll look at it further...

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 2 Mar 2010

One thing that seems to be repeatedly ignored in here, is the fact that while no one is online to a site, no desktop app connections, no browser connections, (meaning only CRON can be using the site) that this file can still spike to upwars of 93%, and hover at 40% for hours.

A Dev site that is not launched, is only accessed by it's developers.  When it's developers are sleeping, their PCs switched off, none of them posessing an iPhone, how can the site be in use?

You can argue that there is no issue with the file all you like, doesn't change the fact that something doesn't add up.

No one disputes that a Powerful platform such as dolphin deserves a healthy and robust system to run upon, But when one single file dwarfs the entire platform's useage, when no one is on the site...raises more than a few minor questions.

Quote · 2 Mar 2010

You know....

It may not be XML.php file itself that is the real issue, but one of the modules that is being accessed through it.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 2 Mar 2010

i would not assert that it was one file over another if there was not evidence of such.

You know....

It may not be XML.php file itself that is the real issue, but one of the modules that is being accessed through it.

this does not happen on every account every time. its sporadic, and there are other issues that are sporadic that cannot be reproduced at a whim. i have reported this as a bug in the bugs forum and AlexT is testing it now.

http://www.boonex.com/unity/forums/#topic/XML-php-spiking-CPU-Resources.htm

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 2 Mar 2010

http://www.boonex.com/unity/forums/topic/XML-php-spiking-CPU-Resources.htm

Rules → http://www.boonex.com/terms
Quote · 2 Mar 2010

Today this file did cause my dedicated server to lag out for a period of time.  There were no videos uploaded that could be the cause for the cpu and lag issue caused by this file.  Once xml.php was killed the site poped up instantly.

Quote · 3 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.