Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 14-11-2004, 02:33 PM   #1 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default High Server Load

Hi,
We are facing High Server load problem for last few days..

and it happens at perticular time only (around 1 AM IST ) but not everyday..

we checked the cron jobs running but did not find any job running at that time...

somtimes mysql connections goes upto 150 and sometimes 20 but the server load is always 1+ at that time...

any ideas about it ?

can it be bcoz of zombie processes ? I think DDOS attack is not possible coz server is totally managed and we have our own hardware firewall too...

i googled a lot about it but couldnt find proper reason for it...

Server config :
OS - Redhat Linux 3 Enterprise
AMD 2400+
1 Gig RAM
73 GB SCSI HDD i suppose (Not very sure about the HDD size but its SCSI for sure)

CICSO Hardware firewall

Tape backups are being taken twice a week by Rackapce.com (can that cause the high load? )

ideas please...
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 14-11-2004, 02:40 PM   #2 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

could you get the output of this command [ # ps aux ]when the load is at its highest ?

ps: Rackspace should be having competant sys admins ... did you talk to them also ? Tape backups dont cause any server overload.... our HBCSE server is also backed up every week.... never faced any sluggishness...
__________________
- --
http://www.MovieAB.com - A tiny movie mashup!
GNUrag is offline  
Old 14-11-2004, 02:46 PM   #3 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

actually i had done that when it had happend in the day time and that time we knew the reason...

that was one mysql script which was causing the problem...

but this is kind of odd time...and we have given ssh access to only One IP i.e. our office IP for security reasons

I havent asked rackspace about it coz before asking then I want to check what can be the possibilties....

I am going to write them tmrw...and will also find out the things from our side...

u know any possibilities which can cause this kind of problem.. ?

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 15-11-2004, 02:40 PM   #4 (permalink)
Guest
 
Posts: n/a
Default

Turn on system accouting and use sa command to find out this is the only way to get snapshot of today, y’day etc!
 
Old 15-11-2004, 02:43 PM   #5 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

Quote:
Originally Posted by Anonymous
Turn on system accouting and use sa command to find out this is the only way to get snapshot of today, y’day etc!
thanks for the info..

gonna try it soon

Regards
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 15-11-2004, 02:58 PM   #6 (permalink)
In The Zone
 
firewall's Avatar
 
Join Date: Mar 2004
Location: Kolkata - INDIA
Posts: 301
Default

hi, Deep u have a nice config. ! btw Server load is nothing to do with Zombie. As Zombies are already dead... they dont have much to do with server loadd.

now on the reason of that.. well i think i cant say anything on that by not seeing the server...
Btw you ca nchec kthe mySQL.. coz thwere is a latest exploits is released.

A .diff file, applied to the MySQL 5.0.0-alpha source distribution will allow building a MySQL client that can be used to connect to a remote MySQL server with no password.

This could be a reason.. some one may applying this.... as mySQL AB hasn't released a patch you may try to close the remote port to get rid of that...

btw here is that exploit code....



Code:
1941,1956c1941,1942
<   if (passwd[0])
<   {
<     if (mysql->server_capabilities & CLIENT_SECURE_CONNECTION)
<     {
<       *end++= SCRAMBLE_LENGTH;
<       scramble(end, mysql->scramble, passwd);
<       end+= SCRAMBLE_LENGTH;
<     }
<     else
<     {
<       scramble_323(end, mysql->scramble, passwd);
<       end+= SCRAMBLE_LENGTH_323 + 1;
<     }
<   }
<   else
<     *end++= '\0';                               /* empty password */
---
>   sprintf(end,"\x14\x00");
>   end+=2;

__________________
www.aloke.info
firewall is offline  
Old 15-11-2004, 03:07 PM   #7 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

I suppose remote port is closed coz when u write telnet ip 3306 it shows connection to the server lost

i said zombie coz i have heard that if too many dead processes are stored in zombie then it might take more ram and make the server slow or something...

for example 2 many unclosed mysql connection in zombie might lead fo more use of memory or something but i am not very sure about it..just a guess..

anyways i am going to write to racksapce tmrw i.e. after checking few things on server today and see what they are saying..

EDIT : woha you posted code also..lol we will try it somtime on our server..haha

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 15-11-2004, 03:09 PM   #8 (permalink)
In The Zone
 
firewall's Avatar
 
Join Date: Mar 2004
Location: Kolkata - INDIA
Posts: 301
Default

kool... you have ur solution man.... ! Rackspace....

__________________
www.aloke.info
firewall is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 01:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2