LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-28-2006, 07:45 AM   #16
bon-bon
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0

Same here.
After weblogs.d run the server crashes.But not every 5 days-every ~30 days;some machines run 40 days -.-

I tested all cron jobs and started them manually, but then nothing crashes.
Yesterday:Server crash just 5 minutes after weblogs.d has been ready.
Load Average was from 14--->270!
System freezes, pinging the server is possible-but no services available.

First ssh goes down (ssh_exchange_identification ..),then pop/imap,httpd,ftp
I'm not sure if really the weblogs.d is causing the server crash, and why should it cause it "only" every ~30 days or 5 days at samkraju?

about a half year i am searching for a solution-but nothing
hardware is ok.

greetings
 
Old 08-29-2006, 02:56 AM   #17
samkraju
Member
 
Registered: Jun 2006
Posts: 35

Original Poster
Rep: Reputation: Disabled
hi bob-bon,

Right now i stopped cron from running weblog.d and now there is no problem with the server. but i think there must be some solution. Stopping the weblog.d is not a proper solution. I asked the problem on so many linux forums but haven't got the solution yet.
If you find the solution then please let me know too.

byeee,
 
Old 08-29-2006, 03:05 AM   #18
bon-bon
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
No, noone in a lot of forums could help me & my team.
I read that the analog is the devil and we should deactivate it on every site.
but its component of the product an as we tested product,everything was fine.
did you tested only stopping analog?
 
Old 08-29-2006, 03:44 AM   #19
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I am not familiar with the application (perhaps you could supply a link), but it appears from what you have described that it is sucking up all your resources. It sounds like it is creating mysql queries that are not dumped and therefore continue until the resources are all used up. Have come across this before. There must be something in the config files that will limit this and drop unused queries. There should also be info on the developers site about this. If there isn't then this is badly written software.
 
Old 08-29-2006, 05:02 AM   #20
bon-bon
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
Hi TigerOc!

The Ensim appliance works with python and postgresql.
The script after our server are dying was posted from samkraju on site 1 of this thread.
As you see there every 10 minutes the weblogs.d is starting and compressing logfiles and creates stats (webalizer and analog). in some of the ensim forums they say analog is the cause. but i'm not a programmer, so i don't know what in analog could cause the crash.
But I daresay that analog writes something into the postgresql database
 
Old 08-29-2006, 11:27 AM   #21
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I would suggest getting a programmer familiar with perl/python to have a look at the stuff you listed on page 1 of this thread to decipher and possibly correct the situation. I know nothing about perl and cannot help. It is clear that from post #16 above that something is causing increasing processes which are not being killed and therefore leading to the system dieing due to resource overload.
If you run the command top you should be able to observe which application is responsible for the server load which should enable you to resolve what code needs to be tweaked to resolve this.

Last edited by TigerOC; 08-29-2006 at 11:32 AM.
 
Old 08-29-2006, 11:46 PM   #22
samkraju
Member
 
Registered: Jun 2006
Posts: 35

Original Poster
Rep: Reputation: Disabled
Hi TigerOC,
Could you please tell me the command to find which application is using the most system resources and also the location of the ensim config file where i can turn off the analog for my site.

Thanks,
SAM.
 
Old 08-30-2006, 12:58 AM   #23
bon-bon
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by TigerOC
I would suggest getting a programmer familiar with perl/python to have a look at the stuff you listed on page 1 of this thread to decipher and possibly correct the situation. I know nothing about perl and cannot help. It is clear that from post #16 above that something is causing increasing processes which are not being killed and therefore leading to the system dieing due to resource overload.
If you run the command top you should be able to observe which application is responsible for the server load which should enable you to resolve what code needs to be tweaked to resolve this.
That shouldn't be easy to find someone, but i'll look for any updates or forum threads i find for this analog thing.easyiest way is to turn it off and see what happens (samkraju:You've got mail to turn off analog for your site).

The crash always happen at 4 am.Our Team is sleeping at this time, and it's so random,that we could not stay the whole night to watch if the server goes down.
I started the crons manually and watched top. the analog cron takes 20-90% of CPU Usage-no IO of the disks,20MB memory.
i started parallel the other crons to reproduce the crash.nothing happens.strange.

Last edited by bon-bon; 08-30-2006 at 01:26 AM.
 
Old 08-30-2006, 01:38 AM   #24
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally Posted by samkraju
Hi TigerOC,
Could you please tell me the command to find which application is using the most system resources and also the location of the ensim config file where i can turn off the analog for my site.

Thanks,
SAM.
Are you and bon-bon working together or just have the same problem?

You can monitor the use of resources using the top command. If you are using a gui desktop you can also install GKrellm and this will give you a live display of what is going on and can also be configured to give alerts on loads.

I have checked the Ensim package and see its commercial. If you have paid for the package then I suggest taking these problems up with Ensim directly. Normally the config files are located under /etc/<package_name>. What servers are you using and why do you need to use commercial packages when free versions are available under Open Source?
 
Old 08-30-2006, 02:56 AM   #25
bon-bon
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
We only got the same problem, so we are now standing in contact if someone of us find the solution.The support of ensim isn't the best one. but i will again try to reach someone there who can help.

Our company decided to use ensim because of it's very comfortable in using for customers.
(we sell hosting products)
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
system magically restarts r.stiltskin Debian 14 02-10-2006 12:12 AM
system crashes time to time Artik Debian 2 12-02-2005 07:19 AM
System restarts when grub appears zahadumy Linux - General 14 11-18-2005 09:42 PM
system restarts when booting SUsE LordMac Linux - Newbie 5 07-23-2004 09:38 PM
Opening Konqueror Web Browser restarts system leather96 Linux - Software 0 07-13-2004 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration