File size issue in Sol 5.9


 
Thread Tools Search this Thread
Operating Systems Solaris File size issue in Sol 5.9
# 1  
Old 05-05-2009
File size issue in Sol 5.9

Hi Gurus,

An Application is not able to create files above 2.14gb in size in my Sol5.9 server. I have checked the file limit of the user running the Application and am attaching the same:

[1647]boiadm: ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 256
vmemory(kbytes) unlimited


Oracle running in this same box is able to create more than 5gb in size.
Am not able to garner much help from the App team.

Any ideas on how i could proceed?

Thanks
HG
# 2  
Old 05-05-2009
Tell the application maintainers to use proper unsigned 32bit pointers when working with files, instead of the signed one they're using now. Or maybe even 64 bits...
# 3  
Old 05-05-2009
Also are your mounts supporting largefiles?

Take a look at: Solaris Mount Tutorial
# 4  
Old 05-07-2009
Pludi..Can you elaborate what you had told. I need to explain that to my Development team.
Tony,i checked and found that the File system indded supports largefiles.
Thanks guys for the response.

HG
# 5  
Old 05-07-2009
An int is usually 32 bits large. If it's signed, the largest positive number is 2^31-1 = 2147483647, which would be your 2.14 GB. By changing it to unsigned int you can allocate 2^32 bytes = 4294967296, or 4GB. If they can change it to 64 bits that would increase to 18446744073709551616 bytes (or 16384 PB)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ls directory size reporting byte size instead of file count

I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms. Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies

2. AIX

Issue about PP size

Hello everyone, I have many VGs on my system. I have created them whith the same command. I haven't specified the PP size while creating them. Logically, the PP size should be the same (default value) in all the VGs. However, I have different PP size : 32 MB, 256 MB, 64 MB and 128 MB. Can... (1 Reply)
Discussion started by: adilyos
1 Replies

3. HP-UX

Performance issue with 'grep' command for huge file size

I have 2 files; one file (say, details.txt) contains the details of employees and another file (say, emp.txt) has some selected employee names. I am extracting employee details from details.txt by using emp.txt and the corresponding code is: while read line do emp_name=`echo $line` grep -e... (7 Replies)
Discussion started by: arb_1984
7 Replies

4. Solaris

JASS - upgrading from Sol 9 to Sol 10

Do I need to reinstall/rerun JASS after upgrading from Sol9 to Sol10? Just wondered if the upgrade procedure overwrote any of the settings etc? (0 Replies)
Discussion started by: psychocandy
0 Replies

5. Shell Programming and Scripting

Script to read file size and send email only if size > 0.

Hi Experts, I have a script like $ORACLE_HOME/bin/sqlplus username/password # << ENDSQL set pagesize 0 trim on feedback off verify off echo off newp none timing off set serveroutput on set heading off spool Schemaerrtmp.txt select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
Discussion started by: welldone
5 Replies

6. Shell Programming and Scripting

The scripts not able to make the file to size 0, every times it go back to its original size

#!/bin/sh ########################################################################################################## #This script is being used for AOK application for cleaning up the .out files and zip it under logs directory. # IBM # Created #For pdocap201/pdoca202 .out files for AOK #1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies

7. IP Networking

Issue File Extension is file Size

I am currently experiencing the file size being added to the file extension when transfering information from Command Line Client to a UNIX server. Does anyone know why this is happening and how do I stop the file size being added to the file extension. Example: football.pqt.11108... (1 Reply)
Discussion started by: Skeeterrock
1 Replies

8. UNIX for Advanced & Expert Users

luupgrade: Sol 8 -> Sol 10 u7 (5/09)

Greetings Forumers! I ran into an issue after running luupgrade on v880 running Solaris 8. I want to upgrade to Solaris 10. When I rebooted the system I noticed the file systems listed as such: # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t1d0s0 ... (2 Replies)
Discussion started by: bluescreen
2 Replies

9. UNIX for Advanced & Expert Users

Sol 10 Sendmail issue

We have a Spark Solaris 10 box running behind a Pix 501 firewall, we are running NAT and I have mapped access to it from the outside world. Anyway, we can receive mail no problem just can't send. I receive this message bounce: The original message was received at Thu, 10 Jan 2008 17:04:29 -0600... (1 Reply)
Discussion started by: varlania
1 Replies

10. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
Login or Register to Ask a Question