Monitoring And Troubleshooting
Mar 31, 2007
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...
Quote:
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.
View 6 Replies
ADVERTISEMENT
Jul 24, 2009
I have a FreeBSD server crashing a few times per week sometimes 2 or 3 times in one day, then 3 days fine sometimes each other day...
/var/log/messages shows nothing related to the reboot when looking at the server screen after a crash, it showed kernel panic
any ideas on how to troubleshoot that with the minimum downtime possible? DC already tried swapping memory, but it didn't solve
View 14 Replies
View Related
May 29, 2008
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.
View 2 Replies
View Related
Sep 29, 2008
I noticed all of my sites were down earlier.. so I tried restarting apache via WHM.. and that didn't work, said the following:
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status
root 8103 0.5 0.8 30892 29264 ? S 12:28 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
I tried rebooting.. same issue.
how to troubleshoot this? This is very bad!
View 13 Replies
View Related
Oct 15, 2007
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.
View 4 Replies
View Related
Jan 30, 2009
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.
View 1 Replies
View Related
Mar 10, 2005
If you receive the following errors while trying to install a Perl Module through the WHM ...
View 1 Replies
View Related
Jan 18, 2008
way to monitor my servers cpu load, but more importantly is there a way to monitor which php scripts are using the most resources? i have searched around and haven't found much information. i use fedora, apache, mysql just so you know.
View 4 Replies
View Related
Jun 24, 2007
external monitoring services for http, ftp, mail, uptime, ping, etc; preferably with some reporting options.
I have been using uppanel.com but am looking for a service with more regular checks and no limitations.
View 9 Replies
View Related
Sep 22, 2007
to monitor our VPS's customers, not our up time but our VPS customer sites resource usage.
Maybe a mixture between TOP/PS and WHM|Server Status|Apache Status
Summarized by domain in a period of time.
Our VPS is going blackzone many times/day and I need to find in real time the actual offending site or application.
I need something that tell me in plain english:
- Site XXX is taking all your VPS resources
- Application XXX is just bombing your VPS
- Close port XXX because your're under hacking
View 12 Replies
View Related
Jun 19, 2007
Plz show me some software which monitor bandwidth for each website used.
OS : Windows 2003 ENterprise
View 2 Replies
View Related
Jul 9, 2008
Any website monitoring tools available that can tell you when a site is unavailable and/ or other tests/checks?
View 10 Replies
View Related
Oct 22, 2009
a product that I can install on my windows or mac machine to monitor my Centos webserver for CPU usage, Memory usage, Uptime and etc.
View 10 Replies
View Related
Mar 29, 2009
Does anyone know any good system for monitoring if a server is online?
View 11 Replies
View Related
Jul 24, 2009
I just stop httpd service for server maintainance , and disable its monitoring from whm services, but after some time it again start even i disable httpd monitoring and service.
View 6 Replies
View Related
Apr 25, 2009
Anyone know a good Server Monitoring Software that runs on Windows Server 2003?
View 4 Replies
View Related
Jan 3, 2009
Do you use any uptime monitoring service? If so, which one do you use? Do you use a paid monitoring service, or a free one?
View 14 Replies
View Related
May 26, 2008
been using webserverguard.com to monitor my server which has been great because its free. Thinking of upgrading to a paid service and wondered what the good cheap options were?
View 14 Replies
View Related
Dec 20, 2008
Best monitoring application?
We need a good (best?) network/hardware monitoring application for monitoring our servers located at 3 different datacenters and around 50 servers.. I've founded some programs but they don't cover my needs 100%
Basicly I need these;
- Adding servers easily.
- Adding monitoring channel for each servers. (load, network, disk/ram usage etc..)
- Adding users and attaching users to servers seperately.
(For example I will add justify user and attach him to server1, will add wht user and attach him the server2 and their permissions will be different and they will have no control on other's servers.)
- Web based controller for users/admins
- I want to install it to my windows/linux servers and monitor all remotely..
- SMS / mms / msn / email / icq notifications.
- Ability to post/get notification.
View 11 Replies
View Related
May 1, 2008
What are some good monitoring companies that can keep track of downtime. Even more specifically looking for companies that can send an sms alert or possibly reboot the server following ceartin instructions during a downtime.
Though please provide all suggestion (even if they don't do the above).
View 14 Replies
View Related
Nov 10, 2008
Give me 1000GB or 2000GB and that's my limit that I'll try and not go over. Pretty
simple.
However, I'm now dealing with a provider that has me really confused. This company is charging us based on 95th percentile and we're now being asked to commit to 8.5 MBPS while the server doesn't even go over 1500GB monthly bandwidth limit.
Is this correct:
- We're not using tons of bandwidth but we do have large bursts
- The company is ultimately charging you for the bursts
View 4 Replies
View Related
Jul 16, 2008
how can i find out who is using up all the resources of 1 of my server, i am running CENTOS Enterprise 5.2 i686 on standard - WHM X v3.1.0, i have around 180 web site currently on this server and i would like to move my customer how need more power.
or limit my customers to 10% of the server resources for no longer than 10min.
View 3 Replies
View Related
May 12, 2008
I'm currently gathering a list of all VPS providers that offer proactive VPS (services etc...) monitoring. So far I know that Wiredtree and Liquidweb include it and Zone.net and Futurehosting (to a limited extent) offers it as an add-on. Anyone else have any that they know of?
View 12 Replies
View Related
Jul 1, 2008
my dedicated server have a remot reboot panel and i want company monitor my server with less than $10 per month until my server if goes down reboot it from my panel...
View 9 Replies
View Related
Jun 18, 2008
I'd like to know if there are good monitoring services to monitor my VPS.
Not just the website,but everything on the VPS.
I know there is Hyperspin,but i need more to look at.
I want to get an alert by email if there is something wrong with my server.
Also i'd like to receive daily reports by email.
View 13 Replies
View Related
Jan 5, 2007
any DVR / IP Cams, etc setup like the Geovision setup.
what you are running hardware/software wise.
View 0 Replies
View Related
Dec 27, 2007
I have 1 network interface with a few virtual ones. I need to find a way to monitor bandwidth. I've tried vnstat but it can't measure bandwidth with virtual interfaces.
The only thing i've seen is through packet sniffing and i was hoping for a much cheaper alternative(cpu wise).
View 2 Replies
View Related
Jan 6, 2007
if there wre tools which can monitor the server load/apache/mysql and suggest settings to optimize apache/mysql/php?
View 3 Replies
View Related
Sep 21, 2007
Does anyone run any defacement monitoring software? I'm looking for something that will send me an email alert whenever changes have been made to files or folders on my web server. It could be a file or folder watcher I just would like it to notify me whenever changes are made to a file or folder. I have searched but found nothing reliable.
View 10 Replies
View Related
Nov 28, 2007
we have a large number of dell server like Pe 850-860, Sc1425-1435, Pe1850-1950, we are try to find a solution to monitor the server hardware like raid status, fan, ram, controller etc, we have try to use ITassistant but seem that work only with server with Drac card or we should install on each box OMSA, so i would know what different solution can we use.
View 2 Replies
View Related
Jun 9, 2007
I'm trying to do up a gameserver monitoring script whereby, I'm able to check if a particular game service is up or down.
In this example, I'm trying to check if the port 7777 is up (Unreal Tournament server).
PHP Code:
<?php$server = "xxx.xxx.xxx.xx";$fp = fsockopen("$server",7777,$errno,$errstr,30); if ($fp) { $fplist = green; } else { fclose($fp); $fplist = red; }?>Colour is <?php echo $fplist; ?>
I've tried this on an actual UT server which is currently online, but for some reason, it keeps on giving me red (to signify a down service).
View 2 Replies
View Related