Sponsored Content
Top Forums UNIX for Dummies Questions & Answers stunnell log file has reached its limit Post 302554480 by Peasant on Monday 12th of September 2011 07:52:40 AM
Old 09-12-2011
Check ulimit -a file size limit, write it down.
Use fuser to get which pids are using /usr/sbin/stunnel
Code:
fuser /usr/sbin/stunnel

Then, lsof -p those pids.

That will list open files, then check their size with du -sk /path/to/file, if the size of file is greater the ulimit file size value, that file is the problem.
If it's a log or alike file, you can make it 0 size with
Code:
0>file.log

DO NOT use rm on file if processes are using it.

After that i would be wise do increase it ulimit value for file size (if it's not large enough)

Hope this helps.
Regards.
This User Gave Thanks to Peasant For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

tar: 0511-194 Reached end-of-file before expected.

Hello everyone! I wrote a script for backing up a folder. It goes fine but today it started to spit out this error, when a folder is taring: tar: 0511-194 Reached end-of-file before expected. I didn't make any changes! - OS: UNIX AIX ibm 3 - the folder I'm trying to tar is 11Gb large... (4 Replies)
Discussion started by: Funky_ass
4 Replies

2. SCO

cpio: Ulimit reached for file output

I am trying run cpio backing up to tape, but I get the above error. Can anyone assist please as I am sleeping at work today. I tried setting the ulimit to unlimited but when I rebooted the server it came back with another value and I cannot run my backup now.... (0 Replies)
Discussion started by: dustytina
0 Replies

3. Linux

Limit size of log file from syslog

Hi, I'm using Linux 2.6 cross compiled for a embedded powerpc. Earlier we were using busybox syslogd for logging the messages, but as the flexibilty is less, we decided to move to standard syslog. Now I want to limit the size of the log file (/var/log/messages) to 128K. I couldn't find... (4 Replies)
Discussion started by: jockey007
4 Replies

4. UNIX for Dummies Questions & Answers

Log Size Exceeds Limit

Everytime I try to start Discreet Flame on my Octane2 machine it keeps giving me an error message "initial log size exceeds limit--aborting" Can anyone please help me how to fix this problem. Thanks. Octane2 IRIX64 Release 6.5 Flame 2007 (0 Replies)
Discussion started by: dewaraja
0 Replies

5. UNIX for Advanced & Expert Users

Log Size Exceeds Limit

Everytime I try to start Discreet Flame on my Octane2 machine it keeps giving me an error message "initial log size exceeds limit--aborting" Can anyone please help me how to fix this problem. Thanks. Octane2 IRIX64 Release 6.5 Flame 2007 (0 Replies)
Discussion started by: dewaraja
0 Replies

6. Shell Programming and Scripting

Log Size Exceeds Limit

Everytime I try to start Discreet Flame on my Octane2 machine it keeps giving me an error message "initial log size exceeds limit--aborting" Can anyone please help me how to fix this problem. Thanks. Octane2 IRIX64 Release 6.5 Flame 2007 (6 Replies)
Discussion started by: dewaraja
6 Replies

7. Shell Programming and Scripting

Check space of directories and send email if it has reached threshold limit

Hi, I need help in writing unix script for checking space of some directories on the system and also send an email when it reaches the threshold limit. I have written the followng code; #!/bin/ksh ADMIN="me@somewhere.com" # set alert level 80% is default THRESHOLD=80 df | grep -E... (5 Replies)
Discussion started by: jmathew99
5 Replies

8. Shell Programming and Scripting

Increment and find closest value until the end of the file is reached.

Hi all, I have a file which looks like: 0 1.1985506 1 1.2237930 2 1.2159038 3 1.2668828 4 1.2650216 5 1.2474344 6 1.2817688 7 1.2721698 8 1.2665005 9 1.2826315 10 1.2797879 11 1.3201736 12 1.3116595 13 1.3361583 14 1.3309238 (2 Replies)
Discussion started by: ezitoc
2 Replies

9. UNIX and Linux Applications

Autosys R11.3 : Error on log file size limit

Just had a migration from Autosys 4.5 to R11.3. After the migration to R11.3, Autosys jobs have been failing when the log file reaches a size of 800 MB. This did not happen before the migration, when Autosys 4.5 was used. Is there a way to configure the file size limit/cap in Autosys... (1 Reply)
Discussion started by: kimo222
1 Replies

10. UNIX for Dummies Questions & Answers

How to confirm that I've reached the nproc limit?

Hi, I am getting the error su: cannot set user id: Resource temporarily unavailable. In limits.conf, it shows soft nproc 2047 for this user. ps H -u | wc -l shows 508 processes only. Linux flavour is Red Hat Enterprise Linux Server release 5.10 (Tikanga) Any advice will be much... (1 Reply)
Discussion started by: newbie_01
1 Replies
MB2MD(1)						      General Commands Manual							  MB2MD(1)

NAME
mb2md -- Converts Mbox mailboxes to Maildir format. SYNOPSIS
mb2md [-h] mb2md [-c] [-m] [-d destdir] mb2md [-c] [-s sourcefile] [-d destdir] mb2md [-c] [-s sourcedir] [-l wu-mailboxlist] [-R|-f somefolder] [-d destdir] [-r strip_extension] DESCRIPTION
mb2md Converts Mbox mailboxes to Maildir format. OPTIONS
-h Show summary of options. -c Use the Content-Length: headers (if present) to find the beginning of the next message. Use with caution! Results may be unreli- able. I recommend to do a run without "-c" first and only use it if you are certain, that the mbox in question really needs the "-c" option. -m If this is used then the source will be the single mailbox at /var/spool/mail/blah for user blah and the destination mailbox will be the "destdir" mailbox itself. -s sourcedir Directory, relative to the user's home directory, which is where the the "somefolders" directories are located. Or if directory starts with a "/" it is taken as a absolute path, e.g. /mnt/oldmail/user _OR_ A single mbox file which will be converted to the destdir. -R If defined, do not skip directories found in a mailbox directory, but runs recursively into each of them, creating all wanted folders in Maildir. Incompatible with '-f' -f somefolder Directories, relative to "sourcedir" where the Mbox files are. All mailboxes in the "sourcedir" directory will be converted and placed in the "destdir" directory. (Typically the Inbox directory which in this instance is also functioning as a folder for other mailboxes.) The "somefolder" directory name will be encoded into the new mailboxes' names. See the example in the USAGE file (see below). This does not save an UW IMAP dummy message file at the start of the Mbox file. Small changes in the code could adapt it for looking for other distinctive patterns of dummy messages too. Don't let the source directory you give as "somefolders" contain any "."s in its name, unless you want to create subfolders from the IMAP user's point of view. See the example in the USAGE file (see below). Incompatible with '-R' -d destdir Directory where the Maildir format directories will be created. If not given, then the destination will be ~/Maildir . Typi- cally, this is what the IMAP server sees as the Inbox and the folder for all user mailboxes. If this begins with a '/' the path is considered to be absolute, otherwise it is relative to the users home directory. -r strip_extension If defined this extension will be stripped from the original mailbox file name before creating the corresponding maildir. The extension must be given without the leading dot ("."). See the example in the USAGE file (see below). -l WU-file File containing the list of subscribed folders. If migrating from WU-IMAP the list of subscribed folders will be found in the file called .mailboxlist in the users home directory. This will convert all subscribed folders for a single user: /bin/mb2md -s mail -l .mailboxlist -R -d Maildir and for all users in a directory as root you can do the following: for i in *; do echo $i;su - $i -c "/bin/mb2md -s mail -l .mailboxlist -R -d Maildir";done USAGE
Please read the USAGE documentation (zless /usr/share/doc/mb2md/USAGE.gz). AUTHOR
This manual page was written by Noel Kothe noel@debian.org for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version pub- lished by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. MB2MD(1)
All times are GMT -4. The time now is 01:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy