I have a VPS over at futurehosting, and I'm having some issues with my PHP/MySQL sites loading slowly after a few days of uptime. A restart of the various services (apache/mysql) fixes the issue, but I'd like the issue to not start in the first place.
I know very little of server administration (I'm still learning) so just let me know what info you need to see to do the troubleshooting and I'll get it to you.
i am trying to optimize my dedicated server to host one website (php-nuke platnuam 7.6v2b5 taking 1min to 1min 30secs to load). ive read the tutorials and it does not seem to make a difference no matter what i try. if one of you guys could kindly point out what could possibly be the problem i would be very greatful.
I'm running a forum system on my server. Loading pages that don't connect to the forum database load normal. Whenever I browse any page that connects to the forum database on my forum, the page either takes ages to load or times out loading. I never exceed using 14% of one of my two cores, I'm using a quarter of my 1.5GB ram. It's only been loading slow like this since I've switched from running Windows to Ubuntu Server 8.10. I enabled logging slow queries on SQL, but nothing's been recorded. I've installed the server packages through Webmin,
when I access the server through its local IP address it's still very slow.
I have a website www.officegofor.ca. The site takes a very long time to load. I don't think it's because of the server's connection speed. What would be the best way to diagnose the problem? What could the problem be? I noticed that it get's slower and slower with time and when I restart apache it's faster (but still not fast enough).
I have a page that is loading very slowly the first time I connect to it. After that it's very fast.
Now I did some research and found out that this could be a DNS issue and that my nameserver might do a reverse DNS lookup. I do not know excatly what that means yet, but I suppose that could be the issue.
To the my.cnf file I added skip-name-resolve in order to disable DNS lookups, but what I can do to find out if I have a dns issue?
I am working with wamp on development phase. We have a Symfony 2 project and I am using Assetic to manage the assets. (no filter used for my test, so no compression or whatever).
I know I am in the development mode and that assetic is meant to work differently on prod environment but the loading of js, css and images is so slow (could be 30s for a dozen css, a dozen js -most of them are already minified- and 4 images, I am using firebug to check) that I wonder if there is a problem with Apache.
I signed on to a host just a few weeks ago and from my computer at home I got some work-in-progress pages up and running. However, I tried looking at the pages from some other computers and get weird, inconsistent results. In those computers either my site page loads, or GoDaddy domain parking page loads (I registered the domain with GoDaddy).
Why are some computers referring back to GoDaddy's page while in other places they go right to my pages on the web host? Have I did something wrong in setting up the nameservers? Currently I have my host's nameservers on the top of the nameserver list, but GoDaddy's are still on the list, although below my host's in priority order.
I have a website that I recently moved to a dedicated server. Before hand I had the website hosted with 2 other hosting companies (not dedicated).
I decided to go to a dedicated server because the website ran extremely slow or even went down due to traffic.
With the dedicated server I am having the same problem with the same amount of visitors online. This usually occurs with aprox 250 members online.
I know nothing about servers and have no idea how to cure this problem or if possibly it could be a setting in the server. However this is killing my website because new people are unable to register because of site coming down from traffic.
I have a client who has 3 to 4 websites. His websites are database driven mysql. When we transfered to a new server everything works. Then he requested a iconv and GD installations. Then it was installed. Now all of his sites is impossibly to view but its up. The rest of the clients are doing just fine. What do you think is the problem? we recompiled php several times already same thing.
For about the last two weeks I've had issues connecting with the website that I help run www.learnoutloud.com from my home connection which is Time Warner Cable Internet connection in Los Angeles. I'm on a Dell laptop Inspiron 6000 running Windows XP. I'm always able to connect to the site but what's happening is the page will get hung up on loading a single image usually and then it will take about a minute just to load that last image. And sometimes the page won't load at all, but all it takes usually is hitting the refresh button and the page loads instantly. I was hoping this issue would just go away, but it's been persistent after numerous restarts of our cable modem and switching from wireless to plugged in and so forth. And it's really only happening for our site and no others, which is just puzzling.
At our office on our DSL connection our site loads fine and we haven't had any customer complaints about the site loading slow like this. Our traffic numbers have stayed steady so I don't think it's a global problem connecting with our site. At home I conduct a trace route and it looks good:
Tracing route to learnoutloud.com [126.96.36.199] over a maximum of 30 hops:
1 5 ms 5 ms 1 ms 192.168.1.1 2 15 ms 13 ms 12 ms cpe-76-170-64-1.socal.res.rr.com [188.8.131.52] 3 12 ms 11 ms 9 ms 184.108.40.206 4 11 ms 12 ms 12 ms tge9-3.bwlaca1-rtr2.socal.rr.com [220.127.116.11] 5 11 ms 12 ms 16 ms tge9-2.bwlaca1-rtr1.socal.rr.com [18.104.22.168] 6 14 ms 15 ms 47 ms tge2-2-0.lsanca1-rtr1.socal.rr.com [22.214.171.124 1] 7 15 ms 18 ms 25 ms xe-8-1-0.edge3.LosAngeles1.Level3.net [4.78.195. 189] 8 15 ms 15 ms 15 ms ae-12-69.car2.LosAngeles1.Level3.net [126.96.36.199]
9 16 ms 15 ms 25 ms INTERNAP-NE.car2.Level3.net [188.8.131.52] 10 15 ms 15 ms 27 ms border1.po2-bbnet2.ext1.lax.pnap.net [216.52.255 .86] 11 16 ms 38 ms 25 ms insiderh-2.border1.ext1.lax.pnap.net [63.251.209 .106] 12 19 ms 29 ms 18 ms 184.108.40.206 13 32 ms 18 ms 18 ms 220.127.116.11
Does anyone know what the heck is going on and how I can fix this?
Today, without any change on the server side my single running website on my server started running low. After checking the running processes I realised I have these 8 processes running with high cpu load something that didn't had before.
4245 user 20 0 283m 103m 10m R 85.1 0.3 6:44.88 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini 4243 user 20 0 241m 68m 8736 R 83.8 0.2 6:33.45 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini 4259 user 20 0 254m 82m 8720 R 83.5 0.3 6:11.00 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini 4244 user 20 0 282m 103m 10m R 82.1 0.3 6:46.49 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini 4247 user 20 0 248m 76m 8712 R 78.8 0.2 6:50.31 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini 4264 user 20 0 258m 85m 8712 R 72.9 0.3 6:49.83 /usr/bin/php-cgi -c /var/www/vhosts/system/domain/etc/php.ini
apache error log doesn't show any warnings, errors.
I am on a freebsd semi managed dedicated server (semi managed in that they dont really do out lol i just dont have root access, ssh though) unsing DirectAdmin
I need to find a way where i can monitor the processes that each account is using.
In the Service Monitor its showing all the services thats running for example, at present httpd is showing this:
httpd httpd (pid 96703 96702 96700 96698 96697 96696 96695 96694 96693 96692 96691 96690 96689 96688 96687 96686 96685 96684 96683 96682 96662 )I need to find more info about each of the pid's as i would like to know who is using what. does that make sense? The other day (above httpd is normal) there was at least 10 times that amount and the server was dead slow, but i could not find any information as to who was using what and what cause the server to die....
I also have a customer that usually uses about 400mb to 500mb bandwidth per day, since the 28th of march this has gone sky high to nearly 2gb, he says he does not have any attachments fro download, nothing new has been added and no extra traffic, yet this has happened, this is why i need to find more info about such things, I have had a look at the logs but again, i do not really understand what any of it means...
i read this somewhere, but i dont think it works on my server...
Look at the PID of the process using the most resources. Then use "ls -alh /proc/PID".
Ya'll get something like:
root@server02 [/]# ls -alh /proc/10231 total 0 dr-xr-xr-x 3 nobody nobody 0 Jan 17 15:35 ./ dr-xr-xr-x 144 root root 0 Dec 29 09:48 ../ -r--r--r-- 1 root root 0 Jan 17 15:35 cmdline -r--r--r-- 1 root root 0 Jan 17 15:35 cpu lrwxrwxrwx 1 root root 0 Jan 17 15:35 cwd -> /home/USERNAME/public_html/ -r-------- 1 root root 0 Jan 17 15:35 environ lrwxrwxrwx 1 root root 0 Jan 17 15:35 exe -> /usr/local/apache/bin/httpd* dr-x------ 2 root root 0 Jan 17 15:35 fd/ -r-------- 1 root root 0 Jan 17 15:35 maps -rw------- 1 root root 0 Jan 17 15:35 mem -r--r--r-- 1 root root 0 Jan 17 15:35 mounts lrwxrwxrwx 1 root root 0 Jan 17 15:35 root -> // -r--r--r-- 1 root root 0 Jan 17 15:35 stat -r--r--r-- 1 root root 0 Jan 17 15:35 statm -r--r--r-- 1 root root 0 Jan 17 15:35 status
The cwd -> will tell you what folder is being accessed. That should let you know what user.
You can also from SSH on Cpanel boxes use something like "lynx localhost/whm-server-status" to see connections to specific URLs.
I've been concerned that my cPanel email address on my dedicated server hasn't been receiving emails. This was confirmed when an email sent by request from a friend did not arrive. The address is fosterd(***at***)pcfastlane.com if anyone would like to send me a test email.
What are the steps I can take to see if my cPanel email software is running correctly? I have already looked into my mail statistics, and it seems as though there are messages not being delivered, a fair amount which seem to be spam, but others that may not be.
Customer wants to move his website in-house along with his email. The hardware guy installed a windows 2003 64-bit exchange server. I logged in with logmein and created a directory c:Inetputwwwroot hewebsite. Copied iisstart.html to the new dir. Put the company name in the iisstart file. Opened IIS6. Went to properties of the default website and pointed to the new directory on the home dir page. Added iisstart.html the Documents page and moved it to the top. Closed everything. Opened Internet Explorer 7 and put in http://localhost. All worked well. Brought up the new start page. Opened IE7 on my pc and put there ip address in and it also brought up the new webpage (tested the port 80 in the router). Said we were ready to go.
The hardware guy sent me an email stating that he was having problems with the 64-bit version and took the server back to the 32-bit version of windows exchange server. I logged back in with logmein and followed the same exact steps as above but it will not show the new webpage. Am getting a page not found error.
I have done the above on several 2003 servers and several xp pro machines. Always works.
Have done one 2003 exchange server. Went to a couple of those servers and made sure the default website settings were exactly the same as the ones that work. Still no help.
Downloaded an iis6 troubleshooting program from microsoft but cannot locate the error. I have been studying the II6 documentation and 2003 exchange server documentation. Went thru all the tutorials in google on iis6 and exchange I can find no help.