Determine What Cron Jobs Are Killing Server And When
We're running on Linux/Apache/MySQL/RoR and have a number of cron jobs that run throughout the day on our server. We've been noticing lately that at certain times of the day the site becomes really slow. When I'm online with my engineers I can mention this to them and they can check and see and say "Oh yeah, it's job XYZ that's spiking the server load."
That's great but much of the time when I notice the sluggishness my developers are offline (we're in different time zones). I'm wondering if there's a fairly easy way to track this when they're not online so we can say "Yup, last night at 10 PM your time when you noticed that it was job ABC." There has to be something that allows you to do this right?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Per Second Cron Jobs?
Hey everyone, my friend's dad is looking for a web host that will allow his cron jobs to run every second. Most hosts apparently dont allow cron jobs faster than 5 seconds apart. How often a host can run cron jobs isn't really advertised on their sites so I'm having a bit of trouble finding a host. I've resorted to just sending emails to sales addresses asking about it. Does anyone know how I can find a host like this?
View Replies!
View Related
How To Schedual Cron Jobs
I have a number of PHP scripts that I would like to automatically run daily at midnight. I am currently running a VPS server but have no idea how to achieve this. I do have webmin on my sever but am unsure of what command I need to run.
View Replies!
View Related
Cron Jobs Not Running
I have a machine, that for some reason stopped running it's cron jobs for some reason, and I can figure out how to get them working again. My /etc/crontab file is as follows. SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly Here are the contents of a sample user cron file. MAILTO="USER" 10 4 * * * php -q -f /home/USER/public_html/tools/updtransfers.php /home/USER/public_html >/dev/null 2>&1 10 5 * * * php -q -f /home/USER/public_html/tools/updateexp.php /home/USER/public_html >/dev/null 2>&1 10 5 * * * php -q -f /home/USER/public_html/tools/invoice_cron.php /home/USER/public_html >/dev/null 2>&1 and another */5 * * * * /usr/local/bin/php -c /home/USER/php.ini /home/USER/public_html/poller.php > /dev/null 2>&1 I've checked my logs, and I can find no errors anywhere. When I run the commands manually via SSH, they work perfectly, they simply are not being run automatically the way they are supposed to be. I have checked, and the crond service is running. I have tried restarting it, but it seams to have no affect. I really have no idea what the issue is. The only thing I seam to have found at one point, was the possibility that the files within the /etc/cron.d directory might be CHMOD'ed wrong, but I haven't found anything to confirm this either way. [root@server cron.d]# ls -all total 60 drwxr-xr-x 2 root root 4096 Dec 17 03:07 . drwx--x--x 94 root root 12288 Jan 3 09:28 .. -rw-r--r-- 1 root root 61 Jun 22 2007 csf_update -rw-r--r-- 1 root root 81 Apr 11 2007 lsm -rw-r--r-- 1 root root 79 Jun 22 2007 prm -rw------- 1 root root 366 Feb 23 2007 sa-update -rw-r--r-- 1 root root 82 Jun 22 2007 spri -rw-r--r-- 1 root root 188 Nov 16 23:14 sysstat [root@server cron.d]#
View Replies!
View Related
Cron Jobs Failing
I have jobs that fail every now and then. I get this email: Looking up www.xxxx.com www.xxxx.com Making HTTP connection to www.xxxx.com Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access [url] Alert!: Unable to access document. lynx: Can't access startfile
View Replies!
View Related
Software To Control Cron Jobs?
Is there any software which would control cron jobs? I've a problem with cpu load where some customers are running more than enough of them at the same time. Is there any software which would be able to: If there are more than x crons running at the same time, put others in queue and execute after there are no more than x-1 are running?
View Replies!
View Related
Cron Jobs And Time Zone Differences
I have a customer billing system. I would like crons to run at midnight so that the invoices are on schedule and have the right dates etc. My server is overseas and my time is plus 14 hrs here. I have set my software up to plus 14 hrs time difference also. What should I set my crons to?
View Replies!
View Related
Variable Filenames By Date In Cron Jobs
How do you insert variables in cron jobs? e.g. the current date. Let's say I want to back up a file and append the date to it. 0 0 * * * cp /some/file.txt /some/outputfile_[DATE].txt >/dev/null (note that I'm not sure the cp will actually work like that, it's just an example) Where outputfile_[DATE].txt has the date in it. Are there variables cron can use for date, hour, minute, etc.?
View Replies!
View Related
Cron Jobs Not Executing PHP Files
I have a new dedicated server and am trying to set up a cron job via CPanel on on of my accounts (we'll call it "abc" account). In the Cron job area, where it asks for the command to run, I enter this: /home/abc/public_html/forum/class/sendnotice.php But when the job runs, it doesn't seem to be executing the .php file. Instead, I get stuff like this via email: /home/acb/public_html/forum/class/sendnotice.php: line 1: ?php: No such file or directory /home/abc/public_html/forum/class/sendnotice.php: line 2: ////////////////////////////: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 3: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 4: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 5: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 6: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 7: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 8: //: is a directory /home/abc/public_html/forum/class/sendnotice.php: line 9: //: is a directory So it is as if the cron job is reading each line of the .php file instead of just running it. Am I doing something wrong in setting up the cron job to run that file or could it be a configuration issue with the new server?
View Replies!
View Related
Gzip Is Killing My Server
from top: 12478 root 35 19 2004 680 308 R 39 0.0 8:54.95 gzip using anywhere from 30-50% of my cpu for nearly 10 min now. but, no memory usage. any ideas? should i kill the pid? site is running pretty slow as a result of this.
View Replies!
View Related
Httpd Is Killing My Server
24 hours ago something wired happend.. For some reason httpd is causing high serverload. ATM : 22:44:17 up 22:17, 2 users, load average: 6.23, 6.12, 8.88 U Will keep gooing up and httpd need to be restartet when serverload comes up to 30. The traffic on the server is normal, no changes is made on the server.
View Replies!
View Related
Backups Killing My Server
Opt 248 3gb ram 250gb sata II I have a fairly unique problem. My server runs great 95% of the time. Loads average under 1. However backups have become a server killer. I use cpanel scheduled backup at early morning hours. The reason backups kill my server is that I have 300,000+ (and counting) images in a directory. They are all small pngs generated by LaTeX. It takes my server several hours to backup the images. I usually even have to stop apache to free up some power. This problem is only going to get worse as I get more images. Maybe I could upgrade proc or upgrade to faster HD? That would be costly, hopefully not. Should I hire a professional backup service? Costly, and would that help? Or is there a way of storing the images or doing the cpbackup I am doing wrong?
View Replies!
View Related
Determine Amps Of Server
I have always found this odd and do not understand enough to figure it out. Any knowledgeable people would be cool. My datacenter has given me 2amp circuit for my computer. It seems to run fine on it. Looking at the back of my power supply it says the following 520Watt max Input rating 100-240v~,50-60Hz 7A-3A Output rating +3.3V & +5V combined 150W max 12V combined current 39A max (and a lot of other stuff on amps and volts for output). Now, Watts = Volts * Amps. So if I have 520watts and 12 volts would be 43 amps If it means 520 watts and 3.3volts it would be 157 amps However it seems to max at 39amps on the back for output. I imagine input is all that matters here and at 520 watts and 100 to 240volts that would be 5.2 amps to 2.16 amps And the thing says 7amps to 3 amps on the back for input. So....I imagine that is the max it can pull before dying. However, I have 4 drives, 4 ram sticks, and 2 quad core cpus all going and I would figure I am at least halfway or more of the power use. And the power says it starts at 3amps anyway. But I only get 2amps.
View Replies!
View Related
Determine Which Script Is Crashing A Server
Assuming a linux server / apache / php / mysql setup I'm wondering 1) how you can find out which php script is causing problems, i assume infinite looping, crashing a server and 2) are there any measures you can take (maybe in the php or apache configuration) that can prevent such a thing from happening in the first place, other than writing good code obviously?
View Replies!
View Related
Layeredtech Killing Itself
I remember long time ago when I used to host on Layered Tech fast network good stuff, affordable price my first server costed me 90 dollars on Layered Tech with about 20 dollar setup one time fee. I visited today after about 2 years and I'm pretty much surprised to see their prices they are by no means affordable as they were previously and the setup fee is now 50 dollars on every server. With such large number of servers in their data centers shouldn't they be able to make them affordable? yet I have seen same server on WHT ads section for fraction of the price LT expects and not to mention the excessive setup fee. I'm not complaining, its their business, but is it really helping them? I cant be the only person feeling this anti-love for Layered Tech being a former LT customer, I had no problems with them or their services I just left after I sold my site and moved into VPS. But seeing the new prices its a bit shocking.
View Replies!
View Related
Cannot Determine Old IP Address
I accidently deleted my /home/virtfs folder and lost alot of stuff on my new box. I had cpanel re-installed and transfered my /var/cpanel/users to the new box. I Changed all the IP's on all the files in there. I edited the /usr/local/apache/conf/httpd.conf file and changed all the ips of the virtual hosts and the accounts on them. cd /usr/local/apache/conf replace oldip1 newip1 -- httpd.conf replace oldip2 newip2 -- httpd.conf replace oldip3 new1p3 -- httpd.conf replace oldip4 newip4 -- httpd.conf All IP's were changed over to the new one. I then ran: /scripts/updateuserdomains /usr/local/cpanel/bin/build_apache_conf But it some how sent my IP's back to the old one.
View Replies!
View Related
Determine IP Address
I am trying to determine an IP Address i have behind a router. Both PC's linked to the router come back with the same IP Address, which i'm assuming is the IP Address of the router. One of the PC's i'm using is my development server, so how do i access this from outside of my LAN? IP Address Being Displayed on outside XX.XX.204.44 IPCONFIG tells me my ip is XXX.168.0.100 on the dev server. Which/How would i place into a web browser to bring up a site from the box?
View Replies!
View Related
How To Cron On Windows Server?
I truly love the 'cron' feature on Linux servers. This way I can schedule php scripts to do repetitive tasks on my website, but I plan to develop a asp.net website. Is this kind of scheduling scripts possible on Windows servers? Else how do I perform repetitive automatic tasks? It would be a shared hosting.
View Replies!
View Related
C99Shell Hackers Killing Me!
guys im tired off fighting those hackers everyday! i have about 20 websites,and everyday i have one of them hacked! i restore a backup then another one hacked! thats unbelivable!!! those bastards upload there shell scripts to websites via bugs or whatever from php files!! is there anyway to stop these commands? can .htaccess helps? how? i talked to my webhosting companies for my websites! ....
View Replies!
View Related
VPS RAM Is Killing
I have a VPS with 768Mb of RAM which was always suitable for the websites I'm hosting as most of them are not popular and none of them got high traffic recently at all But for over 2 days the vps is eating the ram and killing all the services (cpanel/httpd/ftp/MySQL..) I want to know what is causing this and stop it by any way I contacted my vps support and they told me to write "top" in the SSH but I didn't understand any thing from what I see and I didn't know what to do after writing that command .
View Replies!
View Related
Mysql Is Killing My Vps
the server load averges on my VPS have been very high - escalating to 6.5 in cases. The process causing this is: PidOwnerPriorityCpu %Mem %Command 7370 mysql -10 76.7 3.0 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/opal.ngwebservers.net.pid --skip-external-locking My VPS is hosted by Virpus Networks, and has spec: 512RAM (1024 burstable), 10GB hard drive space. 8 of these processors on node: Processor #1 Vendor: GenuineIntel Processor #1 Name: Intel(R) Xeon(TM) CPU 2.80GHz Processor #1 speed: 174.594 MHz Processor #1 cache size: 2048 KB No hardware or software changes were implemented on the VPS as far as I am aware. The MySQL process causing this is: 28993movies_mybblocalhostmovies_mybbQuery36Copying to tmp tableSELECT t.tid, t.dateline, p.edittime, t.subject, f.allowhtml, f.allowmycode, f.allowsmilies, f.allow This has been going on since I first saw the loads go high...
View Replies!
View Related
VRTServers.net Is KILLING Me
I have many servers on vrtservers.net and is happy of they support. And I planing be a reseller of them. But the nightmare come from last day.. My main server have got some SPAM report from spamcap.net [url] the spamcap.net report my server runing a open proxy.and somebody using it as SPAM. before the SPAM report.. I know this ISSUE and have fix it.. so the proxy just run many hours.[ check the mrtg graph.[url] sinse the SPAM report. vrtserver.net put this server offline.. I can Understand it. And I have contact the support@vrtservers.net Instantly. And I proceed the case of spamcap.net too. But the nightmare is .... When I ask "how to reconnect my servers/What time will the case close?" to VRTSERVERs.NET. the vrtservers.net reply to me said the server has been terminated and there is no way to get my data back. My god .. all of my server's data has been lost! vrtservers.net is killing me now!
View Replies!
View Related
Spamd Is Killing My VPS
I have a VPS with 320MB of RAM. The problem is that spammassassin is killing my VPS. Spamd service was using 50% of memory (+- 150MB of RAM). Do you think that this is normal RAM for Spamd?
View Replies!
View Related
Mod_security Killing Php
trying to get mod_security installed on my HSphere server, the install goes ok until i try and load rules? If i just load the exclude.conf rule then php sites work, if i also load rules.conf or any other rules then my php sites get 'connection refused error' ? I cannot find any thing in logs and there is no log written for mod_security? here is my modsecurity.conf Quote: #If you want to scan the output, uncomment these #SecFilterScanOutput On #SecFilterOutputMimeTypes "(null) text/html text/plain" # Accept almost all byte values SecFilterForceByteRange 1 255 # Server masking is optional #fake server banner - NOYB used - no one needs to know what we are using SecServerSignature "NOYB" #SecUploadDir /tmp #SecUploadKeepFiles Off # Only record the interesting stuff SecAuditEngine RelevantOnly SecAuditLog /var/log/audit_log # You normally won't need debug logging SecFilterDebugLevel 0 SecFilterDebugLog logs/modsec_debug_log #And now, the rules #Remove any of these Include lines you do not use or have rules for. #First, add in your exclusion rules: #These MUST come first! Include /etc/modsecurity/exclude.conf #Application protection rules #Include /etc/modsecurity/rules.conf bash-2.05b# cat /etc/modsecurity.conf <IfModule mod_security.c> # Only inspect dynamic requests # (YOU MUST TEST TO MAKE SURE IT WORKS AS EXPECTED) #SecFilterEngine DynamicOnly SecFilterEngine On # Reject requests with status 500 SecFilterDefaultAction "deny,log,status:500" # Some sane defaults SecFilterScanPOST On SecFilterCheckURLEncoding On SecFilterCheckCookieFormat On SecFilterCheckUnicodeEncoding Off SecFilterNormalizeCookies On # enable version 1 (RFC 2965) cookies SecFilterCookieFormat 1 SecServerResponseToken Off #If you want to scan the output, uncomment these #SecFilterScanOutput On #SecFilterOutputMimeTypes "(null) text/html text/plain" # Accept almost all byte values SecFilterForceByteRange 1 255 # Server masking is optional #fake server banner - NOYB used - no one needs to know what we are using SecServerSignature "NOYB" #SecUploadDir /tmp #SecUploadKeepFiles Off # Only record the interesting stuff SecAuditEngine RelevantOnly SecAuditLog /var/log/audit_log # You normally won't need debug logging SecFilterDebugLevel 0 SecFilterDebugLog logs/modsec_debug_log #And now, the rules #Remove any of these Include lines you do not use or have rules for. #First, add in your exclusion rules: #These MUST come first! Include /etc/modsecurity/exclude.conf #Application protection rules #Include /etc/modsecurity/rules.conf #Comment spam rules #Include /etc/modsecurity/blacklist.conf #Bad hosts, bad proxies and other bad players ##Include /etc/modsecurity/blacklist2.conf #Bad clients, known bogus useragents and other signs of malware ##Include /etc/modsecurity/useragents.conf #Known bad software, rootkits and other malware ##Include /etc/modsecurity/rootkits.conf #Signatures to prevent proxying through your server #only rule these rules if your server is NOT a proxy ##Include /etc/modsecurity/proxy.conf #Just in Time Patching for Vulnerable Applications ##Include /etc/modsecurity/jitp.conf #Google Hacks signatures ##Include /etc/modsecurity/recons.conf #Include /etc/modsecurity/ </IfModule>
View Replies!
View Related
Is CPanel Killing My VPS
I have a VPS with 256m guaranteed RAM .. and I have CPanel. A couple of days ago I got to fiddling with a database issue and had phpMyAdmin open for the better part of an hour. So I got to wondering what something like that does to my VPS? A secondary question .. same thing but on a dedicated server with 1g RAM?
View Replies!
View Related
VPS SLOW - How Can I Determine Cause
I'm have a VDS with hosting-ie, and it is extremely slow.. I run almost nothing on it.. I'm not running a website, no MYSQL, no Databases.. just newsleecher, a bittorent client for seeding ubunto and occassionally i'll open ftp program to transfer files from home to server. Lately, i can't even just have newsleecher open by itself and have it running, as it pauses waiting for threads to catch up. If I close everything, i sometimes have to still wait from 30-45 seconds just to open the My Computer Icon. To me thats not acceptable. 26 processes running, with none larger than 10K, memory commit will go up to 90M of 1024M.. let its too slow to run anything. Their support tell me, that even though its dedicated resources, i'm on a box with 4 other hosts., so hence it being slow. Their suggestion is I upgrade to another box.. I find it hard to believe that i should have to upgrade so I can run a few non-memory intensive programs. What can i do to prove to them that there is a problem? I'm locked into a 3 month commitment. What use is a VDS server that run 1 application? Is there specific counters i can enable that would get to the heart of the matter? It is Win2003 running on it. 60 G HD , 1.5 Ghz CPU, 1G Ram. I read some of the other threads, but they seem to be more for someone that has access outside of their VDS.. (unless i missed one) edit: I suggested to them maybe someone is hammering the HD, but they say there is no hard disk, that its only allocated space..(?)
View Replies!
View Related
Cron Issues On VPS Server
I have a VPS Setup which is running Cpanel, everything works fine apart from some of my clients Cron Jobs. Each user is trying to get cron to run a script to update a page. if they run the script from a browser then it works fine and the page is updated, however if they let cron run the script, it does not run and they get an error email from the server. E.g. ************************* Subject: Cron <xxx@xxx> php -f /home/xxx/public_html/1min.php From: "Cron Daemon" <xxx@xxx.xxx.co.uk> Date: Fri, January 18, 2008 12:55 am To: xxx@xxx.co.uk Priority: Normal Options: View Full Header | View Printable Version | Download this as a file No input file specified. ********************* I have check the server and everything seems to be fine, I have cron jobs running as part of WHMCS which all work fine, I just cant find the error.
View Replies!
View Related
Dedicated Server - How To Setup CRON
I'm trying to help out a friend with a dedicated server setup however we both don't know too much about it. We've setup apache, perl, sql all the standard stuff but cannot for the life of us setup a CRON job for a particular script. The dedicated server control panel is: WHM Accelerated. Our current websites have been setup on the server under the same user account (master). There doesn't seem to be the usual "CPANEL" options which you usually get with shared hosting however.
View Replies!
View Related
Iptables: Which One Of My Rules Is Killing Nslookup
One of these rules is causing name server lookups to fail, but I can't seem to figure out which one, can anyone spot the problem? Code: [root@example ~]# iptables -L -n Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 INVDROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x3F INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x03/0x03 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x06 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x05/0x05 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x11/0x01 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x18/0x08 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x30/0x20 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:20 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:25 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:53 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:110 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:143 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:465 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:953 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:993 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:995 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:10023 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:20 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:21 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:953 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 state NEW icmp type 8 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spt:53 dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:53 dpt:53 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spt:53 dpts:1024:65535 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:53 dpts:1024:65535 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpt:53 LOGDROPIN all -- 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy DROP) target prot opt source destination Chain OUTPUT (policy DROP) target prot opt source destination INVDROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x3F INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x03/0x03 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x06 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x05/0x05 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x11/0x01 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x18/0x08 INVDROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x30/0x20 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:20 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:25 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:53 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:110 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:113 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:953 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:10023 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:9999 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:20 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:21 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:113 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:123 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:953 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 state NEW icmp type 8 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spt:53 dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:53 dpt:53 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spts:1024:65535 dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spts:1024:65535 dpt:53 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spt:53 dpts:1024:65535 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:53 dpts:1024:65535 LOGDROPOUT all -- 0.0.0.0/0 0.0.0.0/0 Chain INVDROP (18 references) target prot opt source destination DROP all -- 0.0.0.0/0 0.0.0.0/0 Chain LOGDROPIN (1 references) target prot opt source destination DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:68 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:68 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:111 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:111 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:113 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:113 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:135:139 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:135:139 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:445 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:445 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:513 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:513 DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:520 DROP udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:520 LOG tcp -- 0.0.0.0/0 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* ' LOG udp -- 0.0.0.0/0 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *UDP_IN Blocked* ' LOG icmp -- 0.0.0.0/0 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *ICMP_IN Blocked* ' DROP all -- 0.0.0.0/0 0.0.0.0/0 Chain LOGDROPOUT (1 references) target prot opt source destination LOG tcp -- 0.0.0.0/0 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_OUT Blocked* ' LOG udp -- 0.0.0.0/0 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *UDP_OUT Blocked* ' LOG icmp -- 0.0.0.0/0 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *ICMP_OUT Blocked* ' DROP all -- 0.0.0.0/0 0.0.0.0/0
View Replies!
View Related
Nobody_check Killing Spamd Process
My nobody_check is killing a process that seems to be o.k. but I'm not sure. The process is running /usr/bin/perl-bin which I never heard of. I thought it was /usr/bin/perl Should I be concerned? Again, I don't know what /perl-bin is. Process ID: 28457 has been killed Restuls for PID: 28457 total 0 dr-xr-xr-x 3 nobody nobody 0 Jul 23 17:00 . dr-xr-xr-x 201 root root 0 Jun 29 11:59 .. dr-xr-xr-x 2 root root 0 Jul 23 17:00 attr -r-------- 1 root root 0 Jul 23 17:00 auxv -r--r--r-- 1 root root 0 Jul 23 17:00 cmdline lrwxrwxrwx 1 root root 0 Jul 23 17:00 cwd -> / -r-------- 1 root root 0 Jul 23 17:00 environ lrwxrwxrwx 1 root root 0 Jul 23 17:00 exe -> /usr/bin/perl-bin dr-x------ 2 root root 0 Jul 23 17:00 fd -rw-r--r-- 1 root root 0 Jul 23 17:00 loginuid -r-------- 1 root root 0 Jul 23 17:00 maps -rw------- 1 root root 0 Jul 23 17:00 mem -r--r--r-- 1 root root 0 Jul 23 17:00 mounts lrwxrwxrwx 1 root root 0 Jul 23 17:00 root -> / -r--r--r-- 1 root root 0 Jul 23 17:00 stat -r--r--r-- 1 root root 0 Jul 23 17:00 statm -r--r--r-- 1 root root 0 Jul 23 17:00 status dr-xr-xr-x 3 root root 0 Jul 23 17:00 task -r--r--r-- 1 root root 0 Jul 23 17:00 wchan Netstat: tcp 0 0 127.0.0.1:783 127.0.0.1:40957 CLOSE_WAIT 28457/spamd child udp 0 0 xx.xxx.xxx.xx:41008 216.52.190.1:53 ESTABLISHED 28457/spamd child unix 3 [ ] STREAM CONNECTED 120878416 28457/spamd child unix 2 [ ] DGRAM 120872220 28457/spamd child unix 2 [ ] STREAM CONNECTED 120847759 28457/spamd child unix 2 [ ] STREAM CONNECTED 120832442 28457/spamd child Environ: Process ID: 23944 has been killed Restuls for PID: 23944 total 0 dr-xr-xr-x 3 nobody nobody 0 Jul 23 16:55 . dr-xr-xr-x 206 root root 0 Jun 29 11:59 .. dr-xr-xr-x 2 root root 0 Jul 23 17:00 attr -r-------- 1 root root 0 Jul 23 17:00 auxv -r--r--r-- 1 root root 0 Jul 23 16:55 cmdline lrwxrwxrwx 1 root root 0 Jul 23 17:00 cwd -> / -r-------- 1 root root 0 Jul 23 17:00 environ lrwxrwxrwx 1 root root 0 Jul 23 16:55 exe -> /usr/bin/perl-bin dr-x------ 2 root root 0 Jul 23 17:00 fd -rw-r--r-- 1 root root 0 Jul 23 17:00 loginuid -r-------- 1 root root 0 Jul 23 17:00 maps -rw------- 1 root root 0 Jul 23 17:00 mem -r--r--r-- 1 root root 0 Jul 23 17:00 mounts lrwxrwxrwx 1 root root 0 Jul 23 17:00 root -> / -r--r--r-- 1 root root 0 Jul 23 16:55 stat -r--r--r-- 1 root root 0 Jul 23 16:55 statm -r--r--r-- 1 root root 0 Jul 23 16:55 status dr-xr-xr-x 3 root root 0 Jul 23 17:00 task -r--r--r-- 1 root root 0 Jul 23 17:00 wchan Netstat: tcp 1 0 127.0.0.1:783 127.0.0.1:40955 CLOSE_WAIT 23944/spamd child udp 0 0 xx.xx.xxx.xxx:55606 216.52.190.1:53 ESTABLISHED 23944/spamd child unix 3 [ ] STREAM CONNECTED 120847760 23944/spamd child unix 2 [ ] STREAM CONNECTED 120832442 23944/spamd child unix 2 [ ] DGRAM 120677444 23944/spamd child Environ:
View Replies!
View Related
How To Determine Load On Two VPS's And See If They Can Be Merged
I have two VPS's. Main VPS is 1152mb SLM ram running only a relatively small vBulletin community. My goal is to keep this as fast as possible, which is why I overbought on the VPS and recently moved my couple other low volume sites (and some higher volume image hosting) + some email acccounts on to a 512mb SLM VPS. Both VPS's are Cpanel/WHM running centros 4 (might be 4.5, I'm confused on this) and the latest release version of whm. What I am wondering is what stats/tracking I might be able to run to see what typical usage is on the two VPS's for a day or two and try and figure out if I jumped the gun in splitting them, and can safely remerge them without effecting the vBulletin performance. Can someone help me out with how to setup and read some stats that would tell me if both VPS's are underutilized enough to merge them back together onto the 1152mb VPS?
View Replies!
View Related
Unable To Determine IP Address Error
The following error was encountered: Unable to determine IP address from host name for mydomain.com The dnsserver returned: Server Failure: The name server was unable to process this query. This means that: The cache was not able to resolve the hostname presented in the URL. Check if the address is correct. Your cache administrator is admin. what can I say to my provider
View Replies!
View Related
Determine What Service Is Creating Traffic
I'm using MRTG to display graphs of traffic to my server, and today noticed a period of several hours where there was a lot of *incoming* data over the network, which is unusual. There's a good chance it's some harmless script or service that I've forgotten about, but really I need more information on what services/ports are creating what traffic, which brings me to my question. I'm wondering whether there's an easy way to check what services (or ports) are creating traffic, and what volumes of traffic. It would be nice if it was possible to graph or breakdown the traffic by service somehow, and determine which are the biggest users of bandwidth and when. This is a dedicated CentOS server that I can install basically anything on, but that doesn't use a control panel, so I'd like to see what great ideas you folks can come up with, or whether there's any nice software you can suggest. I'm only using the server for hobbyist stuff at the moment, so free software, or ideas using built in commands are preferable.
View Replies!
View Related
GoDaddy Masking Is Killing My Site - Alternative?
So we've got a client setup with 2 domains; 1 main and 1 secondary. The secondary domain is a 301 redirect with masking through GoDaddy. The reason for the masking is because we need the domain name to stay the same after the redirect. (So people who come in on DomainB will only see DomainB in the url bar.) The problem: GoDaddy has uses a "zero frame" element to implement the masking and it's messing up the display of our site. Note: The display only screws up in IE. Primary domain: www.BristolCountyWomensJournal.com --> (This works fine.) 301 domain: www.WomensJournals.com --> (Check out the messy background!) Anyone know of alternatives to Domain Masking?
View Replies!
View Related
Cpanel Services Failing And Being Restarted, How Do I Determine Cause
Cpanel installed on Centos 5.2 on a dedicated server. This morning, I received multiple emails about services being restarted. About 20 minutes apart, with nothing that I coudl see going on with the server, I had multiple services fail and restart. How do I trouble shoot this to see if there is a problem? At 6:21 The following services failed: httpd lfd httpd cpsrvd lfd and I received emailed messages similar to these (obviously the port and service name were didfferent in each email). cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically. Failure Reason: Unable to connect to port 2086 Then, at 6:42 The following services failed: cpsrvd cpsrvd httpd lfd httpd lfd and I received emailed messages similar to these (obviously the port and service name were didfferent in each email). cpsrvd failed @ Sat Nov 15 06:21:29 2008. A restart was attempted automagically.
View Replies!
View Related
Apache Error :: Could Not Reliably Determine The Server's Fully Qualified Domain Name, Using 127.0.0.1
Whenever I restart my apache on my VPS, it throws some wierd warnings: Forcing reload of web server (apache2)...apache2: apr_sockaddr_info_get() failed for goebs apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName waiting apache2: apr_sockaddr_info_get() failed for goebs apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName . where goebs is my VPS linux machine hostname. I already have a domain setup with this VPS, and it works fine, just that I get this weird warning.
View Replies!
View Related
Cron
I have root access to a server. Is it possible to create a cron that would restart my ftp and http server every so often. Like once a week or somthing. If so how would i do it?
View Replies!
View Related
|