09-24-2013
There's really no reason to have two threads on this.... You should go back to your original thread and review the responses you've gotten up till now and see if you can follow the suggestions very carefully. Usually that's the best thing to do.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am working on HP-Unix.
I have a 600 MB file in compressed form.
During decompression, when file size reaches
2GB, decompression aborts.
What should be done? (3 Replies)
Discussion started by: Nadeem Mistry
3 Replies
2. Programming
My C++ program returns 'Disk Full' Message when I tried to manage a file larger than 2Gb. the process is very simple: based on a TXT file, the process combine the information generating another temporary file (generating the error) to fillup a database.
My FS, during the process, reaches 40%...... (4 Replies)
Discussion started by: ASOliveira
4 Replies
3. Shell Programming and Scripting
Can an expert kindly write an efficient Linux ksh script that will split a large 2 GB text file into two?
Here is a couple of sample record from that text file:
"field1","field2","field3",11,22,33,44
"TG","field2b","field3b",1,2,3,4
The above rows are delimited by commas.
This script is to... (2 Replies)
Discussion started by: ihot
2 Replies
4. UNIX for Dummies Questions & Answers
Hi experts,
How do i find which are the filesystems which has crossed 90% capacity in solaris box.
thanks
Shaan:) (4 Replies)
Discussion started by: shaan_dmp
4 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
We are running HP rp7400 box with hpux 11iv1.
Recently, we changed 3 kernel parameters
a) msgseg from 32560 to 32767
b) msgmnb from 65536 to 65535
c) msgssz from 128 to 256
Then we noticed that all application debug file size increase upto 2GB then it stops. So far we did not... (1 Reply)
Discussion started by: mhbd
1 Replies
6. AIX
I am trying to execute a database dump to a file, but can't seem to get around the 2GB file size. I have tried setting the user limit to -1, but no luck. (4 Replies)
Discussion started by: markper
4 Replies
7. Programming
Hi,
I've created a simple application that is supposed to fill up a file with messages up
to the size I pass as parameter.
The problem is that once the file reaches the 2GB size, it stops growing.
The flow of the application, for what is worth, is as follows:
while ( bytes written <... (7 Replies)
Discussion started by: emitrax
7 Replies
8. Linux
I am not able to unzip file greater then 2gb,
Any suggestions how to do that in linux?
Regards,
Manoj (5 Replies)
Discussion started by: manoj.solaris
5 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am executing a SQL query and the output is more than 2GB. Hence the process is failing. How can I have a file created more than 2GB ?
Thanks,
Risshanth (1 Reply)
Discussion started by: risshanth
1 Replies
10. HP-UX
Greetings,
I'm attempting to dump a filesystem from a RHEL5 Linux server to a VXFS filesystem on an HP-UX server. The VXFS filesystem is large file enabled and I've confirmed that I can copy/scp a file >2GB to the filesystem.
# fsadm -F vxfs /os_dumps
largefiles
# mkfs -F vxfs -m... (12 Replies)
Discussion started by: bkimura
12 Replies
LEARN ABOUT OSF1
pthread_yield_np
pthread_yield_np(3) Library Functions Manual pthread_yield_np(3)
NAME
pthread_yield_np - Notifies the scheduler that the current thread is willing to release its processor to other threads of the same or
higher priority.
LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so)
SYNOPSIS
#include <pthread.h>
int pthread_yield_np(
void);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
PARAMETERS
None
DESCRIPTION
This routine notifies the thread scheduler that the current thread is willing to release its processor to other threads of equivalent or
greater scheduling precedence. (A thread generally will release its processor to a thread of a greater scheduling precedence without call-
ing this routine.) If no other threads of equivalent or greater scheduling precedence are ready to execute, the thread continues.
This routine can allow knowledge of the details of an application to be used to improve its performance. If a thread does not call
pthread_yield_np(3), other threads may be given the opportunity to run at arbitrary points (possibly even when the interrupted thread holds
a required resource). By making strategic calls to pthread_yield_np(3), other threads may be given the opportunity to run when the
resources are free. This improves performance by reducing contention for the resource.
As a general guideline, consider calling this routine after a thread has released a resource (such as a mutex) which is heavily contended
for by other threads. This can be especially important if the program is running on a uniprocessor machine, or if the thread acquires and
releases the resource inside a tight loop.
Use this routine carefully and sparingly, because misuse can cause unnecessary context switching which will increase overhead and actually
degrade performance. For example, it is counter-productive for a thread to yield while it holds a resource which the threads to which it
is yielding will need. Likewise, it is pointless to yield unless there is likely to be another thread which is ready to run.
RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Successful completion. The routine is not supported by this implementation.
ERRORS
None
RELATED INFORMATION
Functions: pthread_attr_setschedparam(3), pthread_setschedparam(3), pthread_getscheduler(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
pthread_yield_np(3)