02-23-2006
Thanks Jim.
Now i am printing my ouput in 5 files.This is the size status of my output files
-rw-rw-rw- 1 usr users 53296243 Feb 23 11:09 output
-rw-rw-rw- 1 usr users 191 Feb 23 11:09 error
-rw-rw-rw- 1 usr users 2701503 Feb 23 11:09 pipe
-rw-rw-rw- 1 usr users 255 Feb 23 11:09 summary
-rw-rw-rw- 1 usr users 2147483647 Feb 23 11:09 debug
The size of the debug file is same as the maximum bytes i got i.e 2147483647(7FFFFFFF)
Eventhough the debug file occupies all the max bytes then also other files are created which are pretty large in size.That means the physical limit is exceeded here.
Then it should give me that message in unix.
But i get this error on linux now.
10 More Discussions You Might Find Interesting
1. Solaris
I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file..
ie max size of file is 10 mb.. and if any new data written to file the oldest data removed..
How can I do this?
I am on solaris 9 x86 (3 Replies)
Discussion started by: frustrated1
3 Replies
2. AIX
Can anybody help me?
How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file :
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = -1
stack = -1
nofiles = 2000 (2 Replies)
Discussion started by: vjm
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem.
I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks.
... (2 Replies)
Discussion started by: HaidoodFaulkauf
2 Replies
4. UNIX for Dummies Questions & Answers
Would appreciate some help, system was displaying an error regarding the kernal when a "sar" was run, after a reboot we get "WARNING user login limit exceeded by 1 user". We have plenty of licences. any ideas? (1 Reply)
Discussion started by: nchrocc
1 Replies
5. Solaris
Can you help. My server sunning solaris 9 on x86 platform pretty much hung for a few hours... I could not use telnet or ssh to the box - it kept refusing connection. A few hours later - I was able to log in again.
The server has not rebooted but here are the first errors in the messages log... (5 Replies)
Discussion started by: frustrated1
5 Replies
6. UNIX for Dummies Questions & Answers
Hello -
O/S is UnixWare 7.1.4
My prefered method of copying files between servers is 'rcp', which does not recognize symbolic links; therefore, files are duplicated many times over.
To avoid this duplication, I would like to use 'tar' and/or 'cpio' and pipe them through 'rcp', but... (1 Reply)
Discussion started by: rm -r *
1 Replies
7. Shell Programming and Scripting
Hi,
How to write a script which checks the size of a log file?
I want that the log file contents to get cleared as soon as it increases 1 KB.
Thanks (3 Replies)
Discussion started by: skyineyes
3 Replies
8. UNIX for Advanced & Expert Users
hi,
how can I find out what the limit of a file size is on unix?
thanks (6 Replies)
Discussion started by: JamesByars
6 Replies
9. Shell Programming and Scripting
Hi
I have many problems with a script. I have a script that formats a text file but always prints the same error when i try to execute it
The code is that:
{
if (NF==17){
print $0
}else{
fields=NF;
all=$0;
while... (2 Replies)
Discussion started by: fate
2 Replies
10. UNIX for Dummies Questions & Answers
Hello Everyone,
I am new to this forum and also unix/linux. Our application today threw an alert whcih read as
"The users active count on host has crossed the threshold limit of 50
and is standing at 65."
This was although cleared when I restarted tomcat. But I am not sure why this count... (0 Replies)
Discussion started by: ykhati
0 Replies
brk(2) System Calls Manual brk(2)
Name
brk, sbrk - change data segment space allocation
Syntax
#include <sys/types.h>
char *brk(addr)
char *addr;
char *sbrk(incr)
int incr;
Description
The system call sets the system's idea of the lowest data segment location not used by the program (called the break) to addr (rounded up
to the next multiple of the system's page size). Locations greater than addr and below the stack pointer are not in the address space and
thus will cause a memory violation if accessed.
In the alternate function incr more bytes are added to the program's data space and a pointer to the start of the new area is returned.
When a program begins execution by the break is set at the highest location defined by the program and data storage areas. Ordinarily,
therefore, only programs with growing data areas need to use
The system call may be used to determine the maximum permissible size of the data segment; it will not be possible to set the break beyond
the rlim_max value returned from a call to For example:
0x10000000 + rlp -> rlim_max
Return Values
Upon successful completion, the system call returns a value of 0 or -1 if the program requests more memory than the system limit. The sys-
tem call returns -1 if the break could not be set.
Restrictions
Setting the break may fail due to a temporary lack of swap space. It is not possible to distinguish this from a failure caused by exceed-
ing the maximum size of the data segment without consulting
Diagnostics
The system call fails and no additionally memory is allocated if one of the following is true:
[ENOMEM] The limit, as set by was exceeded.
[ENOMEM] The maximum possible size a data segment (compiled into the system) was exceeded.
[ENOMEM] Insufficient space existed in the swap area to support the expansion.
See Also
execve(2), getrlimit(2), setrlimit(2), ulimit(2)
RISC brk(2)