FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

LinkBack Thread Tools
Old 10-22-2011, 09:40 AM
Muharem Hrnjadovic
Default How do I find out why a daemon gets restarted?

Hello there!

I am running a daemon on 3 machines running ubuntu 11.04 server and it
gets restarted on all of them at approximately the same time.

$ grep 'Restart' /tmp/celeryd.log
[2011-10-22 06:45:12,376: WARNING/Beat] Restarting celeryd (/usr/bin/celeryd --purge -l DEBUG -B)
[2011-10-22 06:45:12,381: WARNING/MainProcess] Restarting celeryd (/usr/bin/celeryd --purge -l DEBUG -B)

$ grep 'Restart' /tmp/celeryd.log
[2011-10-22 06:47:17,771: WARNING/Beat] Restarting celeryd (/usr/bin/celeryd --purge -l DEBUG -B)
[2011-10-22 06:47:17,775: WARNING/MainProcess] Restarting celeryd (/usr/bin/celeryd --purge -l DEBUG -B)

$ grep 'Restart' /tmp/celeryd.log
[2011-10-22 06:44:06,012: WARNING/Beat] Restarting celeryd (/usr/bin/celeryd --purge -l DEBUG -B)
[2011-10-22 06:44:06,012: WARNING/MainProcess] Restarting celeryd (/usr/bin/celeryd --purge -l DEBUG -B)

All machines have plenty of disk space, 64 GB of RAM and 32 core CPUs
(AMD Opteron Processor 8356).

At the time of the calculation these machines are performing pretty
heavy seismic calculations and the load on them would be around 20.
AFAICT memory is not an issue, the swap is barely used.

I am at a loss to find out why and how these restarts occur. Any advice
on how to analyse/diagnose this problem would be very much appreciated.

Please note also that the daemon in question is not started via an
/etc/init.d script but manually:

cd /usr/openquake && nohup celeryd --purge -l DEBUG -B > /tmp/celeryd.log 2>&1 3>&1 &

P.S.: logrotate is not being used

Best regards/Mit freundlichen Grüßen

Muharem Hrnjadovic <mh@foldr3.com>
Public key id : B2BBFCFC
Key fingerprint : A5A3 CC67 2B87 D641 103F 5602 219F 6B60 B2BB FCFC

ubuntu-server mailing list
More info: https://wiki.ubuntu.com/ServerTeam

Thread Tools

All times are GMT. The time now is 12:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org