Sponsored Content
Operating Systems AIX Need help with warn messages in sys logs Post 302937992 by MichaelFelt on Wednesday 11th of March 2015 08:23:04 AM
Old 03-11-2015
the fullcore setting - which is what the syslog/errpt message was about are more specific to application/system 'crashes' that result in a machine-binary core dump.

Java has it's own style of coredumps, text if I recall, and so I suspect they fall under the fsize setting, rather than coresize.

Under normal circumstances you should not be having a lot of coredumps - so setting it unlimited should not be a concern. If you are debugging an issue having an incomplete dump (that is maybe hard to generate) is a tremendous headache - again I would go for unlimited.

When you doubt you will ever use a core for analysis - then you could keep them sized smaller than unlimited.

My opinion, hope it helps.
This User Gave Thanks to MichaelFelt For This Post:
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

scripts for rotation and compression of sys logs

As a UNIX newbie, how can I create a (cron)script that rotates my syslogs on AIX 4.3.3 on a 24 hour basis and compresses the old logs ? TIA ! (1 Reply)
Discussion started by: fireblade
1 Replies

2. Linux

sending messages from auditd logs to syslog server

I have the auditd running and I need to send the audit logs to a remote syslog server. Anyideas on how to do that? (1 Reply)
Discussion started by: jmathenge
1 Replies

3. Solaris

pramga warn codes: where I can see all possible?

(I will not duplicate my post that I create in 'Programming' ( My post ), but the issue also (after C ) is related to Sun Solaris.) I need to find the warning-codes to be used in the #pragma warn.. C-code directives to suppress some compilation warnings. More desciptive explanation you... (2 Replies)
Discussion started by: alex_5161
2 Replies

4. Programming

#pragma warn codes on Sun Solaris to disable some warns?

I am not able to find warn-codes that should be used in #pragma warn -<code> directive!:wall: Could anybody advise where I can see a list of warnings with codes that (as I understand) should be 3-letters code? I have a pro-C program that produces some warnings. (Do not advise,... (4 Replies)
Discussion started by: alex_5161
4 Replies

5. UNIX for Dummies Questions & Answers

Lot of warn files filling /

hi guys I have suse 11 sp1 and I have a lot of warn file filling / these are under /var/log there's this big one -rw-r----- 1 root root 3.9G Feb 1 10:28 warn warn: ASCII text and the others that are about 2.5 to 3MB - they are about 130 warn-*.bz2 -rw-r----- 1 root root 3.9G Feb... (2 Replies)
Discussion started by: karlochacon
2 Replies

6. Solaris

Svc messages flooding the system logs every second

Hi all I have a newly installed Oracle X2-4 server running Solaris 10 x86 with the latest patches. I have one non-global zone configured running an Oracle DB instance. After configuring IPMP failover between two NICs on the server and rebooting I am seeing the /var/adm/messages being flooded... (7 Replies)
Discussion started by: notreallyhere
7 Replies

7. Programming

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(Apologies for any typos.) OSX 10.12.3 AND Windows 10. This is for the serious Python experts on at least 3.5.x and above... In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly. Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies

8. Red Hat

Warn Before Executing Particular Command

I'm running CentOS 6.8 and use bash. I would like a warning to appear to the user who runs the command "service httpd restart" E.g. # service httpd restart are you sure y/n n # (or if y, the command executes). I looked into it a little but am not sure of the best approach. Aliases I ... (1 Reply)
Discussion started by: spacegoose
1 Replies

9. Red Hat

Warn Before Executing Particular Command

I'm running CentOS 6.8 and use bash. I would like a warning to appear to the user who runs the command "service httpd restart" E.g. # service httpd restart are you sure y/n n # (or if y, the command executes). I looked into it a little but am not sure of the best approach. Aliases I... (2 Replies)
Discussion started by: spacegoose
2 Replies

10. UNIX for Advanced & Expert Users

I received a WARN when was configuring GNU make,

When I tried to configure GNU make, I received:... WARNING: Your system has neither waitpid() nor wait3(). Without one of these, signal handling is unreliable You should be aware that running GNU make with -j could result in erratic behavior. ... What is that supposed to mean ? my spec: ... (1 Reply)
Discussion started by: abdulbadii
1 Replies
Perlbal::Manual::Logging(3pm)				User Contributed Perl Documentation			     Perlbal::Manual::Logging(3pm)

NAME
Perlbal::Manual::Logging - How Perlbal's logging system works VERSION Perlbal 1.78. DESCRIPTION Perlbal supports logging of a few messages (and you can log your messages in your plugins, for instance). This document describes how to achieve that. IMPORTANT: foreground vs. background If Perlbal is running on the foreground, it logs by calling "printf", which means you should get the logs on "STDOUT". If Perlbal is running on the background, it logs through Sys::Syslog. If Sys::Syslog is not available, there will be no logging, and THAT'S THE MOST IMPORTANT THING TO KNOW ABOUT PERLBAL'S LOGGING SYSTEM. How to log a message You can log a message by calling "Perlbal::log" as you'd call Sys::Syslog's "syslog": Perlbal::log( $priority, $format, @args ); You should read the documentation for Sys::Syslog for more information, but here's an example: Perlbal::log( 'info', 'beginning run' ); And here's another example: Perlbal::log( 'crit', "this thing crashed: $!" ); What is logged? o When we try to read from or write to a filehandle that is undefined, Perlbal::AIO logs a critical message: Perlbal::log("crit", "Undef $fh: $stack_trace"); o When failing to create a socket, Perlbal::BackendHTTP logs a critical message: Perlbal::log('crit', "Error creating socket: $!"); o When "inet_aton" fails to create a socket, Perlbal::BackendHTTP logs a critical message: Perlbal::log('crit', "inet_aton failed creating socket for $ip"); o When writing to a client, if we try to read more than we should from the backend, Perlbal::ClientHTTPBase logs a warning message: Perlbal::log('warning', "tried to readahead negative bytes. filesize=$self->{reproxy_file_size}, offset=$self->{reproxy_file_offset}"); o When opening a file being PUT for writing to disk, if there's an error (which is going to originate a 500 server error), Perlbal::ClientHTTPBase logs a warning message: Perlbal::log('warning', "system error: $msg ($info)"); o If we receive a request with a content length different from the actual length of the request, Perlbal::ClientProxy logs a critical message: Perlbal::log('crit', "Content length of $clen declared but $self->{buoutpos} bytes written to disk"); o When trying to buffer data to disk, if the operation fails Perlbal::ClientProxy logs a critical message: Perlbal::log('crit', "Failure to open $fn for buffered upload output"); o After buffering data to disk, if the file is empty, Perlbal::ClientProxy logs a critical message: Perlbal::log('crit', "Error writing buffered upload: $!. Tried to do $len bytes at $self->{buoutpos}."); o When purging a buffered upload on the disk, if an error occurs, Perlbal::ClientProxy logs a critical message: Perlbal::log('warning', "Unable to link $self->{bufilename}: $!"); o When marking a backend as pending, if there's already another one in that ip/port, Perlbal::Service will log a couple of warning messages: Perlbal::log('warning', "Warning: attempting to spawn backend connection that already existed."); Perlbal::log('warning', " -- [$filename:$line] $package::$subroutine"); o When deciding whether we should spawn one or more backend connections, if the total of pending conections is negative, Perlbal::Service will log a critical message: Perlbal::log('crit', "Bogus: service $self->{name} has pending connect count of $self->{pending_connect_count}?! Resetting."); o When spawning a backend connection, if there is no IP address for the backend, Perlbal::Service will log a critical message: Perlbal::log('crit', "No backend IP for service $self->{name}"); o When starting, Perlbal will log an info message: Perlbal::log('info', 'beginning run'); o When shutting down, Perlbal will log an info message: Perlbal::log('info', 'ending run'); o After each loop, is some error occurred, Perlbal will log a critical message: Perlbal::log('crit', "crash log: $_") foreach split(/ ? /, $@); o When attempting to create the pidfile, if unsuccessful, Perlbal will log an info message: Perlbal::log('info', "couldn't create pidfile '$file': $!" ); o When attempting to write to the pidfile, if unsuccessful, Perlbal will log an info message: Perlbal::log('info', "couldn't write into pidfile '$file': $!" ); Generating more logs by sending a USR1 signal to perlbal If you send a USR1 signal to perlbal, that tells it to log some basic statistics to the syslog. It's similar to connecting to a management service and issue a "show service" for each service, plus a "states" and a "queues" commands. Where is it logged to? The way Perlbal opens Sys::Syslog, it logs to /var/log/daemon.log by default. SEE ALSO You can tweek Sys::Syslog's configuration under /etc/syslog.conf. See Sys::Syslog for more details. perl v5.14.2 2012-03-23 Perlbal::Manual::Logging(3pm)
All times are GMT -4. The time now is 11:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy