Page 1 of 1

Big problem..

Posted: Thu Sep 03, 2009 9:28 am
by johniem
I don't know if anyone can help me on this or if this is the right place to ask for help but i'm facing a big problem with a site that i'm developing in php.

I have a vps with plesk interface to manage it..I have create a domain and 2 subdomains..1 subdomain is for my images and videos and the other one is for my cms..To make my site working i'm accessing the images subdomain to retrieve images and videos either for my web site content and for my flash slideshow in it.

In addition i'm using the images subdomain through my cms to upload pictures and videos and updating mysql db..
So far so good..
I'm working in a company with an adsl router with dynamic ip..6 computers connected on it..
The problem is that when i'm trying to connect to my site many times connection stucks and i can't even see my vps..this is not happening only to my computer but even to the 5 other randomly..For example the site might working fine to me but not to some other computer in company and the opposite.

I'm stuck cause i don't know what cause this...I know that i'm not leaving any session open in my php code. The session setting for http in my apache is the default,i haven't touch anything and i don't really think this is the problem..

I'm hopping that someone else had face this problem in the past and can give me an advice...

Thanks in advance..

Re: Big problem..

Posted: Thu Sep 03, 2009 10:15 am
by Ollie Saunders
Sounds like a problem with your internet connection or perhaps your web host's. Is this problem limited only to your site?

Re: Big problem..

Posted: Thu Sep 03, 2009 10:23 am
by johniem
yes...only to my site...and it happens randomly...when i'm accessing the site outside the company all is working smooth and normal...

it's not happening to all company computers simultaneously...sometimes on mine and on my bosses pc, sometimes only to mine etc..

is there any case that dsl modem router might causing the problem??

Re: Big problem..

Posted: Thu Sep 03, 2009 10:48 am
by Ollie Saunders
(Assuming Windows). Go to Start, then run (or windows key +r), type cmd, and hit enter. Run "ping -t yourwebsiteaddress.com" on a bunch of computers at once. Try it for a couple of other sites, like Google and Yahoo, then try it for the IPs of other computers on your network and your router's IP. You can run all these at once and lay the windows out so you can see them all simultaneously.

You can terminate the pings by pressing ctrl+c or just closing the window. This might tell you where failures are occurring more accurately. It is unusual for this stuff to be occurring on one machine but not others. Also, if you can, repeat all of these on wired connections instead of wireless ones. Good luck!

Re: Big problem..

Posted: Fri Sep 04, 2009 4:05 am
by johniem
I start pinging from my pc to my domain..Nothing wrong, numbers was stable...Then,with pinging running,i started browsing web site and it stack again...Can't connect through browsers to cms,web site,ftp,and vps...I can't even connect with filezilla to my ftp ( all these was happenning before so nothing new).. The strange is that pinging was still going on..so i close all consoles and run ping again while the stucking was still on...ping working just fine...but i can't connect to my site,server anything..

Re: Big problem..

Posted: Fri Sep 04, 2009 9:00 am
by Ollie Saunders
That's a good observation and good information to have for a diagnosis. Unfortunately it's also one that bewilders me. There will be an explanation but I don't know it.

Re: Big problem..

Posted: Fri Sep 04, 2009 9:03 am
by johniem
I knew that this is weird from the beginning...is there any way my php code to cause this???

Re: Big problem..

Posted: Fri Sep 04, 2009 9:55 am
by Ollie Saunders
Very doubtful.

Re: Big problem..

Posted: Fri Sep 04, 2009 9:59 am
by johniem
We have order a new modem router (the current one sucks anyway) and hope this whould be the cause of this weird problem..

Really thanks for your help and your time..