The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
kill multiple instances of the same program ipzig Shell Programming and Scripting 12 12-16-2007 10:42 PM
ypbind - multiple instances starting blowtorch SUN Solaris 0 10-01-2007 03:51 AM
detecting multiple instances ragha81 Shell Programming and Scripting 3 04-06-2007 07:09 AM
Multiple (thousands) of Cron Instances sysera UNIX for Advanced & Expert Users 10 01-17-2006 05:49 AM
Multiple file instances gozer13 UNIX for Dummies Questions & Answers 1 12-29-2004 03:08 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2004
Registered User
 

Join Date: Jun 2004
Location: Il, hoffman estates.
Posts: 18
Lightbulb multiple instances of syslogd - is it possible?

I would like to start up multiple instances of syslog daemon. I am having a little difficulty. Is this at all possible?

I have separate syslog.conf1.... syslog.conf5 files.
I have linked the daemon to separate files syslogd1 ... syslogd5
I have arranged the rcd.2 start/stop scripts for multiple instances

however, they don't appear to be running ?

I have placed the daemon in debug mode and I guess I got my answer unless someone knows how to do some magic.

logerror(1): syslogd: syslogd pid 7213 already running. Cannot start another syslogd pid 2974


Last edited by Gary Dunn; 07-13-2004 at 09:43 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-14-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
And you want multiple syslogs running why???


On startup the syslog puts it's pid into a file - on Solaris it's /etc/syslog.pid. Since each instance you try to start is going to look for this file and not start another instance if it's running, I don't see how you can get around it (as I don't see any options in starting to not look at the file or to change it).

If you are looking to output to multiple log files or to other systems, you can do this with one syslog process. Provide more information on what you are trying to accomplish.
Reply With Quote
  #3 (permalink)  
Old 07-14-2004
Registered User
 

Join Date: Jun 2004
Location: Il, hoffman estates.
Posts: 18
Thank you.

However, I fully understand the syslog implementation. I am just seeking a resolve to a problem I have. I have placed a case with SUN. The reason is simple. As with many other daemons as Tuxedo and Orbix you can run separate instances within separate environments.

I need to do this to try to distribute the load. I believe the syslogd is over taxed. rouglhy 1% of my messages are getting corrupted.

thanks again.
Reply With Quote
  #4 (permalink)  
Old 07-14-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,352
Are these locally generated messages? Or do they arrive over the network?
Reply With Quote
  #5 (permalink)  
Old 07-14-2004
Registered User
 

Join Date: Jun 2004
Location: Il, hoffman estates.
Posts: 18
over the network. I have 24 authentication servers, 4 session management servers, 9 accounting servers feeding a single syslog server. I use local4 , local5 and local6 files. These files get real big. lots of data.
Reply With Quote
  #6 (permalink)  
Old 07-14-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,352
That's the problem. The syslog ptotocol is based on UDP which is inherently unreliable. If packets get trashed in transport, the network layers make no effort to correct them. Even delivery of the packets is not guaranteed. Sorry for the bad news.
Reply With Quote
  #7 (permalink)  
Old 07-14-2004
Registered User
 

Join Date: Jun 2004
Location: Il, hoffman estates.
Posts: 18
makes sense thanks - I did not even think to think on that layer.

Is there a way to ensure it is getting trashed over the network and not by the daemon process itself being over taxed?

I was hoping to be able to prove that out - but it does not look possible now.

thanks again.
Reply With Quote
Google UNIX.COM
Reply

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0