System To Control Server Load On Cpanel
a good method to have processes controlled in the resources they use, in a shared cpanel environment?
For example, it appears that the cpanel backup (compressed) made the load skyrocket to beyond 60% cpu and 95% memory usage today, and this server is beefy to begin with.
I want some system to kill processes immediately if they exceed X amount of resources or kill processes that spiral out of control (X amount of processes from same user).
I'd like to be alerted of this action as well.
How can I set this up?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Billing System For Traffic Control Server
billing system to control the traffic between router and servers. I thing I need a billing system installed on server with webgui like those used by ISPs but I need it working with paypal and other payment gateways. The other solution is to use radius server but I will need it working with payment gateways. Can you recommend me a good radiuns server with many options?
View Replies!
View Related
CPU Load On Cpanel Server
Since the past few months I am facing cpu load on a server. The server is a Intel Xeon server with 4 gigs of RAM. Today the load average went over 150 which is very high. I could not access the server to check what is causing such a high load. I had to reboot the server using Remote Power switch. Is there a way I can find out the cause of the heavy load after the server is reboot? Is there any log where all the information is stored?
View Replies!
View Related
Parser Error Message: Could Not Load File Or Assembly System
I am getting this error for one of my website. This site is working fine on the old server from which it has been migrated: ============================================================= Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (c:Inetpubvhosts<domain.com>httpdocsweb.config line 59) Source Error: Line 57: <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers> Line 58: <httpModules> Line 59: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> Line 60: </httpModules> Line 61: </system.web> Source File: c:Inetpubvhosts<domain.com>httpdocsweb.config Line: 59 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 ============================================================= I am attaching the web.config file as attachment. Can anyone tell me how do I fix this.
View Replies!
View Related
Server Using Cpanel Under Extreme High Load
my server is running cpanel, dual xeon 2.4GHZ, 2GB ram, only have about 10 small websites, but look at the load: Quote: Tasks: 154 total, 1 running, 153 sleeping, 0 stopped, 0 zombie Cpu(s): 0.1% us, 0.1% sy, 0.0% ni, 0.0% id, 99.8% wa, 0.0% hi, 0.0% si Mem: 2074940k total, 1110308k used, 964632k free, 105768k buffers Swap: 4096564k total, 0k used, 4096564k free, 829452k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 27230 root 16 0 2168 1000 760 R 0 0.0 0:02.15 top 1 root 16 0 2620 556 472 S 0 0.0 0:00.99 init 2 root RT 0 0 0 0 S 0 0.0 0:00.10 migration/0 3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 4 root RT 0 0 0 0 S 0 0.0 0:00.07 migration/1 5 root 34 19 0 0 0 S 0 0.0 0:00.18 ksoftirqd/1 6 root RT 0 0 0 0 S 0 0.0 0:00.08 migration/2 7 root 34 19 0 0 0 S 0 0.0 0:00.15 ksoftirqd/2 8 root RT 0 0 0 0 S 0 0.0 0:00.21 migration/3 9 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/3 10 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/0 11 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/1 12 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/2 13 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/3 14 root 5 -10 0 0 0 S 0 0.0 0:00.01 khelper 15 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid 43 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/0 44 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1 45 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/2 46 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/3 47 root 15 0 0 0 0 S 0 0.0 0:00.00 khubd 56 root 15 0 0 0 0 D 0 0.0 0:01.24 pdflush 59 root 8 -10 0 0 0 S 0 0.0 0:00.00 aio/0 60 root 11 -10 0 0 0 S 0 0.0 0:00.00 aio/1 61 root 11 -10 0 0 0 S 0 0.0 0:00.00 aio/2 62 root 5 -10 0 0 0 S 0 0.0 0:00.00 aio/3 58 root 15 0 0 0 0 S 0 0.0 0:01.12 kswapd0 135 root 25 0 0 0 0 S 0 0.0 0:00.00 kseriod 212 root 15 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 213 root 15 0 0 0 0 S 0 0.0 0:00.00 percraid 234 root 15 0 0 0 0 D 0 0.0 0:06.05 kjournald 1180 root 6 -10 2664 456 380 S 0 0.0 0:00.03 udevd 1346 root 5 -10 0 0 0 S 0 0.0 0:00.00 kauditd 1421 root 8 -10 0 0 0 S 0 0.0 0:00.00 kmirrord 1422 root 8 -10 0 0 0 S 0 0.0 0:00.00 kmir_mon 1442 root 19 0 0 0 0 S 0 0.0 0:00.00 kjournald 1443 root 15 0 0 0 0 D 0 0.0 0:01.93 kjournald 2168 root 15 0 3468 600 512 D 0 0.0 0:00.60 syslogd 2172 root 16 0 2428 484 420 S 0 0.0 0:00.25 klogd 2182 root 16 0 1756 492 412 S 0 0.0 0:00.01 irqbalance 2194 named 18 0 69712 3492 2232 S 0 0.2 0:01.11 named 2268 root 16 0 2644 440 380 S 0 0.0 0:00.00 courierlogger 2269 root 16 0 1940 612 508 S 0 0.0 0:00.00 authdaemond 2270 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond 2271 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond 2272 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond 2273 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond 2274 root 16 0 1940 616 512 S 0 0.0 0:00.00 authdaemond 2303 root 16 0 5392 1012 844 S 0 0.0 0:00.00 rpc.idmapd 2375 root 18 0 1980 552 480 S 0 0.0 0:00.00 acpid 2384 root 15 0 9308 2076 1632 S 0 0.1 0:00.03 cupsd
View Replies!
View Related
Ticket System And WHM And Cpanel
I have VPS having whm/cpanel base, i also install RT ticket system, it install successfully, same way i did on 5 other server its ok, but on VPS due to apache different configuration it gives me. You haven't yet configured your webserver to run RT. You appear to have installed RT's web interface correctly, but haven't yet configured your web server to "run" the RT server which powers the web interface. The next step is to edit your webserver's configuration file to instruct it to use RT's mod_perl, FastCGI or SpeedyCGI handler.
View Replies!
View Related
User Nobody Using All System Memory Cpanel
I tracked down another issue that I am having with this same server. I login and look at the system and 100% of the swap is used and 99% of the Ram. I look to see who's using it, and the user name is Nobody. What role does this user play in cpanel? Can I disable the user? UPDATE: It is actually apache doing it. 7044 nobody 0 0.6 8.3 /usr/local/apache/bin/httpd -DSSL 2836 nobody 0 0.6 0.2 /usr/local/apache/bin/httpd -DSSL 2835 nobody 0 0.6 1.8 /usr/local/apache/bin/httpd -DSSL 2838 nobody 0 0.6 0.5 /usr/local/apache/bin/httpd -DSSL 2854 nobody 0 0.6 0.2 /usr/local/apache/bin/httpd -DSSL 7934 nobody 0 0.5 22.8 /usr/local/apache/bin/httpd -DSSL 2839 nobody 0 0.4 0.2 /usr/local/apache/bin/httpd -DSSL 2887 nobody 0 0.4 24.5 /usr/local/apache/bin/httpd -DSSL 2848 nobody 0 0.4 2.7 /usr/local/apache/bin/httpd -DSSL
View Replies!
View Related
How To Disable All Email Services On Cpanel Based System
For one of my server based on cpanel i want to disable all email services/ send/receive etc. How do i go about it ? Would Main >> Service Configuration >> Service Manager be the best place and disable the following services : antirelayd POP before SMTP daemon exim SMTP Server imap IMAP Server pop POP3 Server spamd SpamAssasin Server (if you choose to disable this, you should disable SpamAssasin in tweak settings as well) Would that be enough to stop any emails from going out of server? Say via any contact form or any other way? Please advice or i need to do it mannually via ssh and disable them. I have SIM installed, so would i need to configure or remove something out of it too?
View Replies!
View Related
Can I Transfer A Site From CPanel Backups To Dedicated With No Control Panel
I am planning on moving to a dedicated server from my current shared host. In my cpanel i have the options: Generate/Download a Full Backup Download a home directory Backup Download a MySQL DB Backup Download Alias/Filter Backup I suppose a "Full Backup" would be ideal. But are these backup files only restorable by cpanel, or can I use them to successfully migrate my entire site to the dedicated server? It's running Debian with no control panel. I could install a free one if necessary.
View Replies!
View Related
Load Balancer And CPanel
I'm using Virtuozzo on two server. 1) Can I do this with only ONE Load Balancer? I wish I could have many "LB", like one for the WWW serveur, an other one for the DB serveur, my "personnal" VPS without LB... i.e. : WWW -> SRV1 SRV2 DB1 -> DB1 DB2 EXCESSNET -> EXCESSNET1 Do I need 3 LB to do this or I can do it with only one? The screenshot of Barracuda LB seem to show many "virtual LB", so I guest it's a yes? 2) So... it's service only? On the Barracuda and some page, they are talking about "service" and not "server" LB. Can I LB a whole serveur ? Like all service from an IP xxx.xxx.xxx.234 to a server ? Or I can only do "HTTP -> SRV1" "DNS -> SRV1"? If no, what happen to service that the LB didn't know (like cPanel)? 3) An Internal Network? what About cPanel? According to my search, LB are working like this: EXTERNAL IP of SERVICE (xxx.xxx.xxx.200) -> INTERNAL IP SERVER 1(10.0.0.25), INTERNAL IP SERVER 2 (10.0.0.26) So, I need to configure the server with an Internal IP cause else, it will conflit on the "local network". The probleme is, cPanel will be using the "Internal IP" to make all of his configuration... so if a user add a new website, he will configure it with 10.0.0.25, this won't since the external IP will be xxx.xxx.xxx.200 and Apache won't anwser to this virtual host. What can I do? Can I do this ? (same internal IP as the external?) EXTERNAL IP (70.234.125.123) -> SERVER 1 INTERNAL IP (70.234.125.123), SERVER 2 INTERNAL IP (10.0.0.26) If yes, I will configure the second serveur without cPanel and only sync the configuration and files. So in case of "crash" of the server 1, cPanel won't be working, but website won't be down...
View Replies!
View Related
CPanel Sites Fail To Load
So the other day me and friend installed cPanel on a VPS. Everything seems to be working perfectly however the sites don't seem to load. I've pinged all the domains and they all seem to be fine and the hostname also seems to be setup I'm just not sure why my sites aren't loading. I've also loaded the site on multiple computers using different dns servers and still no luck. I haven't touched apache at all, but from what I understand I don't need to.
View Replies!
View Related
CPanel Daily Backup: Load
I have my WHM/cPanel installation configured with daily and weekly backups. I checked at what time of the day the server load was at the minimum and configured the cPanel backup cron to run then. The problem now is: Backing up a few hundred accounts results in a high server load. My server configuration: Dual Processor Quad Core Xeon 5335 2.0GHz with 4GB RAM and 2 x 250GB SATA HDD hosted at SoftLayer. The accounts are located on the first HDD and the backup archives are placed on the second HDD. What can I do about this? I'd like to take daily backups of all accounts but not if my server load increases up to 10... That kind of renders the cPanel backup feature useless if it doesn't even work on a powerful server like this one... Would it help if I use an application such as Auto Nice Daemon to give the backup process a lower priority? But then again that won't work on the MySQL dumps? And I think it's not a CPU problem but an I/O wait problem? Other processes have to wait for disk access because the disk-intensive backup process is running?
View Replies!
View Related
Server Control
im in the UK and i am look for a webhost (preferably a reseller) on windows. i want maximum control over the server (no PLESK). which control panel would i be looking for? do webhosts allow the installation of isapi filters in IIS? my price range would be between £40-50 ($100) p/m sql server necessary!
View Replies!
View Related
Server Became Read Only System
I had a linux server (CentOs 5, mysql5, php5, directadmin). I had problems with apache few days ago, that's why i hire sys. admin who tweak the system (install the PAE kernel), and some more configurations, and during last 7-8 days server work w/o any downtime (before this server had 1-2 downtimes per day-> OOM killer.) Now i had only ssh access (emails, directadmin access - give "wrong password" answer). As told my sys.admin It became read only system. I cann't even reboot system Quote: [root@server sa]# reboot reboot: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) such few commands work, the most commands that i know don't work Quote: [root@server ~]# ls -la ls: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
View Replies!
View Related
Which Windows Operating System To Get For DB Server
to get a dedicated sql server 2005 box and am not sure the best operating system. These are my choices: Windows Server 2003 Enterprise - 32 bit Windows Server 2003 Enterprise - 64 bit Windows Server 2003 R2 Enterprise - 32 bit Windows Server 2003 R2 Enterprise - 64 bit This is the server I'm thinking of getting - Dual Woodcrest Series - SATA Dual Intel Woodcrest 5130 Dual Core Processors 2 x 500GB Hard Drive 4096 MB RAM Currently, I have my IIS web server and sql server 2005 on the same machine and it's just too bogged down. That one runs windows 2003 standard 32 bit on a Dual Xeon 2.8GHz Processor 2 x 80GB Hard Drive 4096 MB RAM
View Replies!
View Related
Which Operating System For Web Server?
I have always used debian on my virtual machine but was just curious as to what OS people use for their hosting? The company I am looking at moving to for hosting offer the following options: * Debian * Ubuntu Server * Open Suse * Free BSD * Fedora Core * CentOS * Gentoo * Slackware * Windows 2003 Basic * Windows 2003 Pro I have heard from a lot of people that Freebsd is good for hosting but just wondering what your views are
View Replies!
View Related
Why Is RAID 1, Just Use A Backup System/server
I haven't yet broken into the realms of dedicateds, although I have a decent VPS and am anticipating the need to get a dedi in the future. Hence I'm wondering briefly why exactly RAID (insert some random number?) is recommended? I know it does something to do preventing hard drive failure, although would an efficient backup system be a decent alternative with regards to cost?
View Replies!
View Related
[Spam Control] Locking Down A Server
I have a (dedicated) server out of control. It is managed by a 3rd party company who has never been able to get the spam and server load under control. Loads average over 5! and there is no activity in top other than sendmail and mailscanner (with Ensim). I turned off mailscanner and sendmail while I typed this and server load went to .08. I'm going to switch (dedicated) servers to a new provider (for reasons above plus a few others) which will include managed service from the server provider as well. There are only a few programs that need to run on this server. VBulletin is the main concern. I want to lock down all mail access. I want vbulletin to be able to send outgoing email as part of its administration and as part of its member notifications. I don't want ANYONE OUTSIDE THE SERVER to be able to send mail through this server. One idea I have had is to use DNS to assign all MX records of every domain on the machine to the free gmail service. I have one domain on this machine (and important domain) that gets thousands and thousands of spam. I assigned its' MX records to NO-IP.com who filters and forwards email to me. That has worked - but server load never budged.
View Replies!
View Related
Best OS - Control Panel For Email Only Server
I am using VPS for my general hosting, but have considered putting together a machine for an email server to host some email accounts that I currently don't have on my VPS accounts and would want tighter security than VPS offers (hosting company/support having access to VPS). While I have gotten more comfortable with linux during the last 5 months I have been hosting on a VPS, I still prefer a control panel type interface. I am using WHM/Cpanel currently. I know that I cannot get a Cpanel license for the type of server I want to put together, so is there either a linux server distribution with a good gui interface, including email setup and admin, or is there a control panel other than cpanel that is either free or inexpensive to use on a dedicated email server. I will house this email server on my 6mb/768k DSL line at home, or at work on a 4xT1 (6MBs).
View Replies!
View Related
Backup Server Control Panel
I am in the process of getting my new colo setup going. My initial colo is on a per server basis so I don't need a switch right away. I am however going to add a switch so I can have my servers connected privately to a backup server in the same rack. On this backup server, what is the best type of "system/control panel" to use to setup the backup accounts for each of my servers? I could just create accounts manually via the Linux command line, but curious if there is a good way to do this (Webmin maybe?). Of course this server will not be accessible from the internet, it will be on the "private" network and accessible from the other servers. How are those with a similar setup doing this?
View Replies!
View Related
Nameserver On Server W/o Control Panel
I'm used to setting up the nameserver using a control panel (directadmin) but how do you do it on a server without a control panel? So far I figured that you just set up 2 ip addresses in your registrar to use as nameservers and then edit /etc/named.conf and put the path to the zone file and of course set up the zone file /var/named/nameofzonefile.db then service named restart are these steps correct? am I missing anything?
View Replies!
View Related
New Domain Name, How To Point It To My Server 2003 System
I have always been using a no-ips service for a domain name. It was really easy with the dynamic update client because I have a dynamic ip. I have just registered a domain and would like to point that to my server also. My registrar says it is currently parked, there doesn't seem to be an option to unpark it anywhere. I have also changed the nameserver to my no-ip domain name. Nothing is happening. I have also googled dns.. If I want to point my domain directly to my server do I need to go and install Active Directory and then dns or can I just install DNS, do I even need to do this?? Seems like a lot of hassle tbh, this is really frustrating me because i'm pretty tech savvy but am completely lost here..
View Replies!
View Related
Some Sites Load Slow, Some Sites Load Fine, Server Load Is Fine
I'm having the oddest issue. For some reason, some of the websites on my server load fine, and some take a really long time to load (2 minutes). Now, the server load is fine, and the size of the sites aren't the issue either. I've restarted Apache and a couple more services, and still the same sites seem to load very slow. What could be causing this since it's only effecting certain websites?
View Replies!
View Related
Best Control Panel For Multi-server Setup
My host and I discussed over a month ago the possibility of adding on another server so that I can use one for MySQL and the other for web, and eventually as my sites expand add a third one so that two balance the loads and the one will be dedicated just for MySQL. Well, it's been a month now and I have had a server dedicated for MySQL and the other one dedicated for web set up. A month has gone by and my host and I are having problems setting it up - I have not been able to use the new server and have already had to pay the bill when I have not been able to use it for its purpose! The old server was supposed to act as the MySQL while the new server was supposed to be for web. We are having so many problems trying to set this up, well at least my host is, and I am becoming more and more frustrated as the days go on because I am paying for the new server that I can't even use because it's not set up properly. I am using DirectAdmin control panel and linking them is a pain in the butt. I linked my host to this article, but I don't think he's implementing what is being instructed to do: [url] The new server is still not working properly with the MySQL server and I have no idea what to do here. I have already paid for a month's service for no reason and now I am starting to feel robbed because this process is taking so long. I am willing to switch control panels if it will speed up the process. Does anybody know of any control panels that will be better suited for my need? I'd ideally like to simply manage both servers in one control panel - under one license - and manage each server's services and most importantly the MySQL and it's databases on the dedicated server for MySQL.
View Replies!
View Related
Hosting Server / ISPconfig2 Control Panel
I installed Centos4.7, now i am installing the ISPCongif2 but at the last step after configuring the ssl, i was asked to enter my host and domain, but it gives me error the url is not reachable. The domain is not hosted anywhere but i created an entry for it in the /etc/hosts [root@serv ~]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 192.168.112.41 serv.mynewdomain.com serv 192.168.112.41 mynewdomain.com Do i have to make anychanges on any configuration files? Here are the steps i did to setup this server: 1- I purchased an ip 64.xx.xxx.xxx from my ISP provider. 2- I installed centos4.7 on my PC. 3- Installed the webmin. 4- On the router i pointed the 64.xx.xxx.xxx to 192.168.112.41 what are the steps please i need to follow to get this server running?
View Replies!
View Related
Installing A Control Panel On Already Working Server
We have a dedicated server with domains already setup and everything. The guy who used to run it for us has left and it appears it was all done via SSH and command line - we don't have that level of skills. Is there a way which we can: A) install a Control Panel and administer ourselves B) Migrate all the domains to a new dedicated server with an existing control panel.
View Replies!
View Related
Unmanaged Server Control Panel Installation
We may soon get into the unmanaged arena. Recently there has been debates on whether an unmanaged server should come with anything other than a bare OS, even if ordered with a control panel. I'd like to get a feel for what you as a customer expect from an unmanaged host when ordering a server with control panel.
View Replies!
View Related
Ddos :: Server Filelimits: Increasing File System Limits Succeeded
floodkoruma is a script which securing our servers from syn floods. But I couldnt understand our connection lost from server on that screen. Last screen is it. last log messages Jul 7 19:41:27 server filelimits: Increasing file system limits succeeded Jul 7 19:42:25 server kernel: printk: 234 messages suppressed. Jul 7 19:42:30 server kernel: printk: 1026977 messages suppressed. Jul 7 19:49:42 server syslogd 1.4.1: restart. Jul 7 19:49:42 server syslog: syslogd startup succeeded as you can see I rebooted from apc server. But before it Jul 7 19:42:30 server kernel: printk: 1026977 messages suppressed.
View Replies!
View Related
Load On Server Decreasing Server Performance
We have CentOS 4 and WHM 11 on server . Now-a-days server is having too much load due to http and in access logs we see following message : ======================================== 127.0.0.1 - - [11/Oct/2008:01:40:02 -0700] "OPTIONS * HTTP/1.0" 200 - 127.0.0.1 - - [11/Oct/2008:01:40:03 -0700] "OPTIONS * HTTP/1.0" 200 - 127.0.0.1 - - [11/Oct/2008:01:40:02 -0700] "OPTIONS * HTTP/1.0" 200 -============================================= And due to this there is load on server. We are not able to understand why this is happening and how to stop this. So please suggest with some solution.
View Replies!
View Related
Server Load Issue, 2 Sites On One Server
I am facing a strange issue with two RPG games sites that i am hosting on a 2GB ram server with softlayer, each of these sites was running on a 512MB VPS and they were doing fine but i decided to move them to better server so things run smoother when each has 50+ members online. So the issue is when i have around 40 online members on each site, they start coughing up mysql errors, sometimes the sites just hang and stop loading, server load goes up to 3 or 4 but memory usage remains around 40%, I also notice that mysql uses the most of the CPU usage, around 75% What i probably need is for someone to identify the cause of this, can it be an attack of some sort? or is it probably some code issues in the sites? do you recommend anyone that can have a look at this?
View Replies!
View Related
Load On New Server
What's the normal load of a new server-Intel Xeon 3060, CentOS 4.4 32-bit, cpanel, 2x250 SATA II, 2GB of ram. I saw it go up to .30 I didn't install anything, it's a fresh new server. Should I be concerned?
View Replies!
View Related
Server Load
I'm getting an almost constant server load of between 0.8 and 1.9 Its usually about 1.2 - 1.6 but peaks at 3.0. It might just be traffic but can anyone check the output from top and see if it looks ok top - 17:10:59 up 93 days, 23:01, 2 users, load average: 2.16, 1.31, 1.12 Tasks: 116 total, 1 running, 114 sleeping, 0 stopped, 1 zombie Cpu(s): 11.5% us, 3.5% sy, 0.0% ni, 76.7% id, 8.4% wa, 0.0% hi, 0.0% si Mem: 1027556k total, 1000260k used, 27296k free, 90060k buffers Swap: 2048276k total, 160k used, 2048116k free, 568264k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 29795 root 16 0 29364 26m 2048 S 6.6 2.6 0:27.34 spamd 305 root 16 0 0 0 0 S 1.7 0.0 719:35.17 kjournald 26305 mailnull 17 0 9608 3108 2036 S 1.0 0.3 0:00.03 exim 722 named 25 0 63124 27m 2032 S 0.7 2.8 223:21.30 named 14110 nobody 16 0 26244 15m 3704 S 0.3 1.5 0:25.16 httpd 26376 root 16 0 2044 988 760 R 0.3 0.1 0:00.02 top 1 root 16 0 1732 528 452 S 0.0 0.1 2:03.99 init 2 root 34 19 0 0 0 S 0.0 0.0 1:33.01 ksoftirqd/0 3 root 5 -10 0 0 0 S 0.0 0.0 3:18.70 events/0 4 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 khelper 5 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid 21 root 5 -10 0 0 0 S 0.0 0.0 16:38.77 kblockd/0 42 root 12 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0 22 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd 41 root 16 0 0 0 0 S 0.0 0.0 16:48.41 kswapd0 188 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod 300 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 ata/0 1351 root 6 -10 1800 500 412 S 0.0 0.0 0:00.01 udevd 1832 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kauditd 1879 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kmirrord 1897 root 15 0 0 0 0 S 0.0 0.0 0:00.00 kjournald 2808 root 16 0 4428 532 272 S 0.0 0.1 0:36.65 rpc.idmapd 2880 root 18 0 3244 496 416 S 0.0 0.0 0:00.00 acpid 2976 root 17 0 3032 772 624 S 0.0 0.1 0:00.02 xinetd 3021 root 16 0 6084 936 536 S 0.0 0.1 0:11.98 crond 3047 dbus 16 0 3496 956 812 S 0.0 0.1 0:00.02 dbus-daemon-1 3056 root 16 0 8096 4840 1512 S 0.0 0.5 6:22.22 hald 3063 root 17 0 2932 1252 972 S 0.0 0.1 0:00.00 login 3064 root 16 0 2020 448 388 S 0.0 0.0 0:00.00 mingetty 3065 root 16 0 2084 448 388 S 0.0 0.0 0:00.00 mingetty 3066 root 18 0 2964 448 388 S 0.0 0.0 0:00.00 mingetty 3067 root 18 0 2380 448 388 S 0.0 0.0 0:00.00 mingetty 3068 root 18 0 1580 448 388 S 0.0 0.0 0:00.00 mingetty 3682 root 16 0 5836 1404 1180 S 0.0 0.1 0:00.00 bash 3949 root 16 0 0 0 0 S 0.0 0.0 66:21.77 kjournald 13066 root 16 0 2052 548 456 S 0.0 0.1 13:59.70 syslogd 13070 root 16 0 2028 384 316 S 0.0 0.0 0:00.05 klogd 3404 root 0 -20 0 0 0 S 0.0 0.0 3:02.75 loop0 3405 root 15 0 0 0 0 S 0.0 0.0 0:24.35 kjournald 8596 root 17 0 12484 8032 1080 S 0.0 0.8 1:04.24 chkservd 2051 root 16 0 5172 1136 832 S 0.0 0.1 1:56.43 sshd 26330 root 16 0 6952 1392 1116 S 0.0 0.1 0:00.19 pure-ftpd 26333 root 15 0 6280 896 764 S 0.0 0.1 0:00.03 pure-authd 5719 root 16 0 18784 9.8m 3620 S 0.0 1.0 1:13.73 httpd 30206 root 15 0 0 0 0 S 0.0 0.0 14:45.38 pdflush 12376 root 16 0 8372 4744 692 S 0.0 0.5 0:06.09 cpbandwd 12456 root 39 19 21524 15m 1732 S 0.0 1.6 19:35.48 cpanellogd 12530 mailman 16 0 11532 5016 920 S 0.0 0.5 0:00.00 mailmanctl 12539 mailman 16 0 10228 6700 2620 S 0.0 0.7 1:41.93 python2.4 12540 mailman 16 0 10760 6636 2588 S 0.0 0.6 1:48.33 python2.4 12541 mailman 16 0 11052 6636 2588 S 0.0 0.6 1:42.71 python2.4 12542 mailman 16 0 11720 6700 2620 S 0.0 0.7 1:41.73 python2.4 12543 mailman 16 0 10716 6720 2620 S 0.0 0.7 1:41.25 python2.4
View Replies!
View Related
Server Load
Server load is too high, what could be the reason? top - 02:45:31 up 15 min, 1 user, load average: 2.38, 9.92, 8.01 Tasks: 148 total, 3 running, 145 sleeping, 0 stopped, 0 zombie Cpu(s): 35.2% us, 5.3% sy, 0.0% ni, 21.6% id, 37.9% wa, 0.0% hi, 0.0% si Mem: 1027556k total, 1017364k used, 10192k free, 122912k buffers Swap: 2040244k total, 68k used, 2040176k free, 215112k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3350 popuser 16 0 33500 27m 2328 R 10.0 2.7 0:03.81 spamd 3359 popuser 18 0 33400 27m 2324 S 8.3 2.8 0:04.71 spamd 3202 apache 16 0 98372 57m 6208 S 6.0 5.7 0:02.58 httpd 3713 apache 16 0 92860 53m 5732 S 6.0 5.3 0:02.39 httpd 3206 apache 15 0 102m 62m 5752 S 2.0 6.2 0:01.98 httpd 2730 mysql 16 0 398m 59m 4356 S 0.7 5.9 0:04.14 mysqld 5923 apache 16 0 93344 53m 5192 S 0.7 5.3 0:01.61 httpd 3182 apache 16 0 92948 53m 6084 S 0.3 5.4 0:01.66 httpd 3191 root 15 0 30084 24m 2380 S 0.3 2.5 0:00.80 spamd 3195 apache 16 0 93736 54m 5500 S 0.3 5.4 0:01.54 httpd 3208 apache 15 0 98.2m 59m 5936 S 0.3 5.9 0:02.60 httpd 3212 apache 15 0 93176 54m 6040 S 0.3 5.4 0:01.96 httpd 3298 apache 15 0 96252 56m 5788 S 0.3 5.7 0:02.87 httpd 6170 apache 15 0 99648 59m 5680 S 0.3 5.9 0:01.05 httpd 1 root 16 0 2276 552 472 S 0.0 0.1 0:00.68 init 2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 3 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 events/0 4 root 8 -10 0 0 0 S 0.0 0.0 0:00.00 khelper 5 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid 19 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 37 root 15 0 0 0 0 S 0.0 0.0 0:00.00 pdflush 40 root 11 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0 20 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd 39 root 16 0 0 0 0 S 0.0 0.0 0:00.08 kswapd0 186 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod 295 root 15 0 0 0 0 S 0.0 0.0 0:00.33 kjournald 1373 root 6 -10 3452 452 380 S 0.0 0.0 0:00.01 udevd 1606 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kauditd 1648 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kmirrord 1672 root 19 0 0 0 0 S 0.0 0.0 0:00.00 kjournald 1673 root 19 0 0 0 0 S 0.0 0.0 0:00.00 kjournald 2360 root 15 0 1748 548 456 S 0.0 0.1 0:00.28 syslogd 2364 root 16 0 2332 380 316 S 0.0 0.0 0:00.00 klogd 2787 postgres 16 0 20184 2048 1764 S 0.0 0.2 0:00.00 postmaster 2790 postgres 18 0 10984 472 184 S 0.0 0.0 0:00.00 postmaster 2791 postgres 18 0 9992 560 232 S 0.0 0.1 0:00.00 postmaster 2799 root 15 0 0 0 0 S 0.0 0.0 0:00.05 pdflush 2822 root 16 0 5128 752 628 S 0.0 0.1 0:00.01 couriertcpd
View Replies!
View Related
Server Load
I built an online application using PHP / MySQL and it's pretty optimized (it's a very simple app). I've inadvertently picked up a huge client that could represent a few 1,000 "posts" per minute. The process goes like this: Consumer posts mobile data -> third party receives data -> third party sends data to my server -> my php script throws the data into a database. I've got about a month to prepare things for these nightly "posts" before it's a real-life affair. My questions are: 1) How can I "stress" or "load" test my machine and script to see what I'm up against. 2) What is my cheapest option for "redundancy" (Would something like MediaTemple's MySQL Grid products be a fix?) When I say a few thousand posts per minute - each one is around 350 bytes. I'm sure you may be wondering if I've bitten off more than I can chew - yea kind of but I made it perfectly clear to the client about my uncertainty and they are willing to give me benefit-of-a-doubt since I'm a very hard worker, very easy to deal with and loyal - not to mention my product is unlike any other that we have seen.
View Replies!
View Related
Serious Server Load
I have some serious server load issues on one of my web servers... Hardware: Intel Pentium D 3.40GHz 1024 MB DDR RAM Software: RH Linux with 2.6.9-42.0.3.ELsmp kernel cPanel with most recent Apache and PHP 5.2.x Process list (top output, on a regular moment): [url] When everything is running normal (read: server load below 2) there's between 100 and 300 MB of free memory. Though sometimes (this happens about 2 times per day, at random times of the day) the server load dramatically increases. I wrote a script (the chkApache.sh process in the top list) that constantly checks the server load and if it raises about 4, it will check if the sum of all httpd processes are consuming too much CPU or Memory. In this case, it will force a httpd restart... I need this to prevent Apache from crashing my server almost daily. If I let Apache do its thing without this script, it will happen that tons of httpd processes (50 and up) take in all the RAM and server load increases to 100 or more and the eventually I need to reboot the server using the SoftLayer control panel. That chkApache script I wrote also sends me a detailed report of the state of the server when it needs to restart Apache, here's a report of an event that occurred today (includes server load info, memory info, top list, httpd processes info, netstat, etc): [url] In this case you would think that someone is attacking the youthforums.co.uk domain but I doubt that's the case... It doesn't always happen with that site, in fact I can't seem to find a pattern in the Apache status page so I don't think a single account is causing this... Today I also used the Apache JMeter to "stress test" my server. I was shocked when I saw how easy it is to use that tool in order to make my server crash... I used 10 threads loading one PHP page (that makes some MySQL queries) and made a loop that kept requesting that information, with 10 connections at a time... The server load rapidly increased to 30 and above... I think it's unacceptable that something like this can happen so easilly... I tried several things with my Apache configuration settings... Here's what I have at the moment: Code: RLimitMEM 67108864 RLimitCPU 60 RLimitNPROC 30 Timeout 5 KeepAlive On MaxKeepAliveRequests 50 KeepAliveTimeout 2 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 40 MaxRequestsPerChild 100 <IfModule mod_limitipconn.c> <Location /> MaxConnPerIP 3 NoIPLimit image/* </Location> </IfModule> LoadModule rewrite_module libexec/mod_rewrite.so LoadModule expires_module libexec/mod_expires.so LoadModule bwlimited_module libexec/mod_bwlimited.so LoadModule bytes_log_module libexec/mod_log_bytes.so LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so LoadModule php5_module libexec/libphp5.so LoadModule security_module libexec/mod_security.so LoadModule evasive_module libexec/mod_evasive.so LoadModule limitipconn_module libexec/mod_limitipconn.so Does anyone have an idea what's wrong here? Anything I can do to get more detailed information on what's causing this? I've been on this problem for weeks now but I can't seem to find any proper solution. In case it matters I'm also running: SIM, RPM, BFD, APF and SPRI
View Replies!
View Related
Server Load
how the load on your web hosting machines looks like. I've seen companies that keep the load at values of 10-15 units and the server is still responsive. Though there might be different reasons for the high load and it's a sure indication for an upcoming problem it doesn't seem normal to have this high load on a hosting server. (well actually it would if the machine was running on 16 cpus but it's a normal dual xeon woodcrest for example).
View Replies!
View Related
|